Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to compile and run JSP

 
aparna rudra
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic