This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes help on JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "help on JSP" Watch "help on JSP" New topic
Author

help on JSP

sachin_ckd
Greenhorn

Joined: Feb 05, 2001
Posts: 16
i am very new to Jsp.
can anybody tell me what web server shall i use??
can JSDK work for Jsp??
how to compile a jsp file??
i am familiar with servlets and asp.
is their any similarity between servlets/asp and jsp??
Jason Allen
Greenhorn

Joined: Jan 25, 2001
Posts: 26
Apache is a free web server found at http://www.apache.org
You can use the free Apache Tomcat as the JSP engine found at:
http://jakarta.apache.org
You can download the java runtime/development environment at http://java.sun.com
You don't compile JSP, it is compiled at runtime by the JSP engine.
There are simularities between ASP and JSP, if you know ASP, you should pick up on JSP very quickly. The main difference is in syntax and the way you access databases. You'll find many objects that you recognize from ASP, such as session, request, response, etc.
Good luck,
Jason.
sachin_ckd
Greenhorn

Joined: Feb 05, 2001
Posts: 16
thanks for your kind guidence.
i will download apache server.
can you please tell me what is apache tomcat??
expect your reply
thanks
bye
Originally posted by Jason Allen:
Apache is a free web server found at http://www.apache.org
You can use the free Apache Tomcat as the JSP engine found at:
http://jakarta.apache.org
You can download the java runtime/development environment at http://java.sun.com
You don't compile JSP, it is compiled at runtime by the JSP engine.
There are simularities between ASP and JSP, if you know ASP, you should pick up on JSP very quickly. The main difference is in syntax and the way you access databases. You'll find many objects that you recognize from ASP, such as session, request, response, etc.
Good luck,
Jason.

Jason Allen
Greenhorn

Joined: Jan 25, 2001
Posts: 26
Apache is an http server that serves html pages. In order to compile and serve jsp pages you must have a jsp engine. This is where Tomcat picks up. Tomcat is both an html server and jsp engine. If you're just starting with jsp and are just doing prototyping, I would recommend using Tomcat alone as both html and jsp server. If however you are planning to put something into production, I would recommend going with Apache as the html server and Tomcat as the jsp server. This interaction can be configured between Apache and Tomcat. Check out the User Guides for configuration.
Jason.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help on JSP
 
Similar Threads
asp to jsp
Free web hosting for Servlets & JSP's?
performance comparison jsp-servlet/asp
asp
help getting started with JSP's