A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
compiling jsp from command prompt
Joined: Nov 11, 2008
Dec 20, 2008 04:36:00
Dear Members :
I tried to compile xyz.jsp from command prompt (using
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
It is sorta covered in the
JavaRanch Style Guide
subject: compiling jsp from command prompt
jspc is unable to generate web.xml
uriRoot implicitly set to
Compiling JSPs into directories
retirving a value from query string
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014