plz help me out...
hi friends,
i am getting a problem while trying to compile a simple servlet.it shows an error :
C:\TOMCAT~1.0\WEBAPPS\RESUSE\WEB-INF\CLASSES>javac com/wrox/servlets/ExampleServ
let.java -classpath %CATALINA_HOME%\common\lib\servlet-api.jar
javac: invalid flag: 5.0\common\lib\servlet-api.jar
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are us
ed
-classpath <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-d <directory> Specify where to place generated class files
-encoding <encoding> Specify character encoding used by source files
-source <release> Provide source compatibility with specified release
-target <release> Generate class files for specific VM version
-help Print a synopsis of standard options
C:\TOMCAT~1.0\WEBAPPS\RESUSE\WEB-INF\CLASSES>
i am using Tomcat5.0 and jdk1.4 on winxp.
plz help me.
regards.
shilpa
shilpa
|