IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
 
Reply to this topicStart new topic

Servlet Help Needed


kvarnerexpress
no avatar
Super Member
*********
Group: Members
Posts: 407
Joined: 13-December 04
Member No.: 2,696



Post #1 post Oct 15 2005, 11:15 PM
hi,
I am fairly familiar with .NET and ASP.NET environment. I am
new to Java world, and have been told that the work will be
in Apache webserver, Tomcat, and will be using jsp/servlets.

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.

I can't seem to find more information about how to proceed.
Most of java docs on sun website seems to concentrate on
Web Services. Is jsp an obsolete technology, and that I
should concentrate more on web services?

Any help to get me started is much appriciated.
Thanks,kvarnerexpress
Go to the top of the page
+Quote Post
slu
no avatar
Newbie [Level 2]
**
Group: Members
Posts: 27
Joined: 22-June 05
Member No.: 8,557



Post #2 post Oct 16 2005, 10:25 PM
QUOTE(kvarnerexpress @ Oct 16 2005, 01:15 AM)
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.



Go to the top of the page
+Quote Post
dul
no avatar
Member [Level 1]
****
Group: Members
Posts: 73
Joined: 21-September 05
Member No.: 12,113



Post #3 post Oct 19 2005, 12:28 AM
Did you install Apache in your web server?. Servlet and jsp actually same. But very different. Have a look this website http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/ amd you will see the difference. Good luck.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   11 sonesay 744 12th February 2008 - 07:42 PM
Last post by: sonesay
No New Posts   3 bttfpromo 411 Today, 05:19 AM
Last post by: jlhaslip
No New Posts   0 mrdee 317 24th January 2008 - 04:27 PM
Last post by: mrdee
No New Posts   2 DragonKing01 275 26th September 2004 - 06:12 AM
Last post by: Spectre
No New Posts   9 brett 357 13th October 2004 - 06:01 PM
Last post by: 2091
No New Posts   3 reciter 674 7th December 2004 - 05:54 AM
Last post by: khmerneed
No New Posts   6 hulunes 391 25th October 2004 - 06:10 PM
Last post by: Donegal
No New Posts   2 timstokman 365 7th November 2004 - 08:04 AM
Last post by: groentjuh
No New Posts   1 khmerneed 580 4th December 2004 - 06:36 AM
Last post by: TempKnight
No New Posts   3 campainer 422 13th December 2004 - 08:58 AM
Last post by: -prodigy-
No New Posts 0 khmerneed 409 13th December 2004 - 01:59 AM
Last post by: khmerneed
No New Posts 2 khmerneed 395 15th December 2004 - 10:47 AM
Last post by: OpaQue
No New Posts   2 stevey 802 16th December 2004 - 12:30 PM
Last post by: stevey
No New Posts 2 khmerneed 712 15th December 2004 - 07:05 AM
Last post by: khmerneed
No New Posts   0 cragllo 539 21st December 2004 - 11:14 AM
Last post by: cragllo


 



RSS Open Discussion Time is now: 8th January 2009 - 09:12 AM