Jump to content
xisto Community
Sign in to follow this  
kvarnerexpress

Servlet Help Needed

Recommended Posts

hi,I am fairly familiar with .NET and ASP.NET environment. I amnew to Java world, and have been told that the work will bein Apache webserver, Tomcat, and will be using jsp/servlets.So far, I have installed Apache webserver and Java 2 EE. Howdo I get started with servlets and jsp pages? Are servlets andjsp pages same? I am able to code/compile/run java programs.I can't seem to find more information about how to proceed.Most of java docs on sun website seems to concentrate onWeb Services. Is jsp an obsolete technology, and that Ishould concentrate more on web services?Any help to get me started is much appriciated.Thanks,kvarnerexpress

Share this post


Link to post
Share on other sites

So far, I have installed Apache webserver and Java 2 EE. How

do I get started with servlets and jsp pages? Are servlets and

jsp pages same? I am able to code/compile/run java programs.

 


An Apache webserver can not run servlets/jsp's... you need an servlet engine for that, for example Apache Tomcat - http://tomcat.apache.org/

 

The Apache Tomcat has its own built-in webserver, but can also be used in conjunction with the Apache webserver. For developmet I deploy and run applications directly on the tomcat server.

 

There's some ok documentation on the tomcat website. After having installed tomcat try the Application Developer's Guide - it's short and pretty east to follow: http://tomcat.apache.org/tomcat-5.5-doc/appdev/

 

JSP and Servlets are not the same from a logical point of view, but when Tomcats "sees" a JSP-file it converts it into Java code which is compiled into a Servlet.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.