applekanna
asked on
unable to get servlet working
I am trying to deploy an application in Tomcat 5.0
I have put the JSP pages in
/webapps/ROOT/test/index.j sp
and the servlets in the package
/webapps/ROOT/WEB-INF/clas ses/sample /Logintest .class
and the WEB.XML in
/webapps/ROOT/WEB-INF/web. xml
but I get .
Am i missing something , i have the same thing running Tomcat 4.0.6 and have nor problem . I am using a linux m/c
The requested resource (/servlet/sample.Logintest ) is not available.
Thank q
I have put the JSP pages in
/webapps/ROOT/test/index.j
and the servlets in the package
/webapps/ROOT/WEB-INF/clas
and the WEB.XML in
/webapps/ROOT/WEB-INF/web.
but I get .
Am i missing something , i have the same thing running Tomcat 4.0.6 and have nor problem . I am using a linux m/c
The requested resource (/servlet/sample.Logintest
Thank q
Have you tried the URL without the /servlet/ ?
ASKER
yes we have it running on a tomcat 4.0.6 already , but unable to get it to deploy on a new machine and we installed tomcat 5.
Morning Tim. You're very active lately ;-)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
PS: Morning!!!! :-)
>>Messing round with Axis, CSS, SOAP, RPC and stuff.
Well there's a coincidence - so am i - but not with much enthusiasm ;-) Maybe we should offline about it? ;-)
Well there's a coincidence - so am i - but not with much enthusiasm ;-) Maybe we should offline about it? ;-)
:-) You can find my contact details with a bit of investigation into my profile ;-) hee hee
ASKER
Thx a lot guys, it worked like a charm.
;-)
<servlet>
<servlet-name>logintest</s
<servlet-class>sample.Logi
</servlet>
<servlet-mapping>
<servlet-name>logintest</s
<url-pattern>*.login</url-
</servlet-mapping>
restart Tomcat, and go to:
http://localhost:8080/test.login