aspose file tools*
The moose likes Servlets and the fly likes Compiling JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Compiling JSP" Watch "Compiling JSP" New topic
Author

Compiling JSP

Tim Smith
Greenhorn

Joined: Mar 07, 2001
Posts: 19
What class files are need to compile a JSP?
Ashwin Desai
Ranch Hand

Joined: Jul 17, 2000
Posts: 124
Hi,
You need a servlet engine that does the compilation of the jsp page for you. The reference Sun JWSDK (now phased out) includes servlet.jar and xml.jar in the root dir that are used for compilation. Again, the user need not be bothered about compilation as this is done by the servlet engine when the JSP page is referenced by the webserver.
Ashwin.
Bharatesh H Kakamari
Ranch Hand

Joined: Nov 09, 2000
Posts: 198
As mentioned in the earlier post do not use the obselete JWSDK. Instead use Tomcat. And with regards to what classes are required to compile the jsp, Tomcat which has the jsp engine does this job for you. You just need to place the .jsp file in the *required* directory.
HTH
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347
    
    2

on a practical note, I put my .jsp in the same folder as the .html files that Tomcat serves up. I use Apache/Tomcat.


SCJP
Visit my download page
David Cole
Greenhorn

Joined: Mar 07, 2001
Posts: 5
Resin is also a good free web/application server
It can be found at http://www.caucho.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Compiling JSP