This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

compiling jsp from command prompt  RSS feed

 
Atanu Banerjee
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!