You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by atanu_banerjee <ba...@yahoo.com> on 2008/12/20 19:25:04 UTC

compiling jsp file from command prompt

Dear Members : 

I tried to compile xyz.jsp from command prompt (using Tomcat 6): 
jspc -uriroot . xyz.jsp -classpath <jar_file_name> -d <directory_name>; 
getting errors, but when I simply try: 

jspc -uriroot . xyz.jsp
it shows no errors, but doesn't produce xyz.java which is expected. Could
someone tell me please, the correct command to do this, which will also dump
the generated clss file to designated directory and also what's right jar
file to compile with - I mean jasper.jar or jsp-api.jar ? 

Thaks in advance 
Atanu
-- 
View this message in context: http://www.nabble.com/compiling-jsp-file-from-command-prompt-tp21107639p21107639.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org