This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSP and the fly likes how to compile and run JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to compile and run JSP" Watch "how to compile and run JSP" New topic
Author

how to compile and run JSP

aparna rudra
Greenhorn

Joined: Apr 06, 2004
Posts: 14
hii

i am new to JSP. i have JDK1.3 and JAVA WEB SERVER installed in my system, how do i compile jsp file?

are there any steps as we have in servlets such as copying html file to public_html and servlet file to servlets directory?

please any one tell me how do i compile and run JSP file.

thank u
Anthony Watson
Ranch Hand

Joined: Sep 25, 2003
Posts: 327
You don't need to do anything to compile a JSP file. The web server will do it for you. Generally, the server will compile a JSP file when the file is first requested, although some servers allow a proprietary option to precompile all JSP files.


Anthony W.<br />MCP, SCJP 1.4, SCJD, SCWCD 1.3, SCWCD 1.4, SCBCD
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
i think you need a good tutorial or a good book. and its better to start work with Tomcat, not because java web server is a HIFI server, but because you will find most of the jsp and servlet examples using Tomcat.

you can find a good book at theserverside.com
Himanshu Bisht
Ranch Hand

Joined: Aug 27, 2004
Posts: 96
i think adeel is right.
there are many other things one need to know other then just running a jsp page like what exactly is a JSP?? etc..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to compile and run JSP
 
Similar Threads
hi..how to run jsp on JWS2.0
How To Compile JSP at Runtime
how to run it on live server to make, a live webserver to a particular port
Servlet or Jsp Performance
Compiling Servlets in Eclipse.