• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

help on JSP

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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??
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic