Hi! I have installed tomcat4.0.I am able to run the examples.could someone tell me where should i save the servlet?Is it in WEB-INF directory? Thanx in advance Alice.
Jared Krull
Ranch Hand
Joined: Sep 28, 2001
Posts: 32
posted
0
On my server its WEBINF/CLASSES
C programmer gone astray
Alice A
Greenhorn
Joined: Oct 09, 2001
Posts: 2
posted
0
Hi! Thanx for ur reply.I got it. Regards! Alice
Bal Sharma
Ranch Hand
Joined: Sep 19, 2001
Posts: 273
posted
0
Are all JSP examples also running? Just curious I tried but did not work except NUMGUESS example. I am using tomcat 3.2.3 for JSP. BK
Hi! I have installed tomcat4.0.I am able to run the examples.
Frank Carver
Sheriff
Joined: Jan 07, 1999
Posts: 6913
posted
0
Please note that strictly the layout of files in a web application is precise and case-sensitive. Classes and resources to be loaded using ClassLoader.getResource() should be located in a directory called WEB-INF/classes. Any other combination (missing the "-", wrong case of names etc.) will result in a web application which is NOT portable to other machines or other servlet containers.
"Alice A", "fordy", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in again with a new name which meets the requirements. Thanks.