• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help on JSP

 
sachin_ckd
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic