This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt 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 Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to compile and run JSP" Watch "how to compile and run JSP" New topic

how to compile and run JSP

aparna rudra

Joined: Apr 06, 2004
Posts: 14

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
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:
subject: how to compile and run JSP
It's not a secret anymore!