File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes compiling jsp from command prompt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "compiling jsp from command prompt" Watch "compiling jsp from command prompt" New topic
Author

compiling jsp from command prompt

Atanu Banerjee
Greenhorn

Joined: Nov 11, 2008
Posts: 10
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 ?

Thaks in advance
Atanu
 
 
subject: compiling jsp from command prompt
 
Similar Threads
forwarding problem
uriRoot implicitly set to
Compiling JSPs into directories
jspc is unable to generate web.xml
retirving a value from query string