Hi ! I am also new to servlet and had too much problem in downloading the required s/w. I hope my experience will be helpful to u. I have downloaded J2SDK_Forte1.4 from java.sun.com and tomcat 4.0 from apache.org. Priviously I had jdk1.3 and tomcat 4.0 and was not able to compile servlet code and was getting class not found error. I was advised to download JNDI but somehow that also didn't worked. Then I followed yet another advice and de-installed everything and installed J2SDK_Forte1.4 and Tomcat4.0.also remember to set ur classpath to $Tomcat_home\common\lib\servlet.jar where Tomcat_home is the directory in which u have installed tomcat. For example if u have installed tomcat in D:\Apache Tomcat 4.0 tha class path will be D:\Apache Tomcat 4.0\common\lib\servlet.jar. Then u can compile the servlet by writing the code in a *.java file and compile using normal javac command.
To run the servlet u have to copy the class file( say Myservlet.class) to "D:tomcat_home\webapps\examples\WEB-INF\classes". then go to tomcat_home\bin and run the startup command. This command will start the tomcat server. Then go to anu stander browser ( it works on ie and Netscape) and type in the url : http://localhost:8080/examples/servlet/Myservlet.; Also there are quite good mailing lists at http://jakarta.apache.org/site/mail.html The archive contains a lots of good advice on tomcat. Hope this helps Sameer > -----Original Message----- > From: Fadri Effendy [SMTP:[EMAIL PROTECTED]] > Sent: 05 March 2002 01:51 > To: [EMAIL PROTECTED] > Subject: new comer > > Hi, > > I am a new comer in this mailing list. In fact, I know nothing about the > java servlet now. So, can anyone tell me how to learn java servlet and > what i have to prepare now? <such as the compiler software, which software > i have to download, and the browser> > > Thanks anyway for the help > > Regards, > Fadri Effendy > > __________________________________________________________________________ > _ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the > body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
