Hello I'm really a newbie I need your help
I installed tomcat and try to run examples and it worked fine.
I also tried to build my servlet that runs in JServ into Tomcat but I
failed. I think I completely misunderstand the configuration..
Here are steps I made:
1. I add this to TOMCAT_HOME/conf/server.xml
<Context path="/examples/myExample"
docBase="myExample"
defaultSessionTimeOut="30"
isWARExpanded="true"
isWARValidated="false"
isInvoverEnabled="true"
isWorkDirPersistent="false"
/>
2. I create directories TOMCAT_HOME/examples/myExample/WEB-INF/classes and
put my classes there
it's in i/first/MyFirst.class
3. I put web.xml to TOMCAT_HOME/examples/myExample/WEB-INF
it looks:
<servlet>
<servlet-name>
MyStart
</servlet-name>
<servlet-class>
i.first.MyStart
</servlet-class>
<load-on-startup>
-2147483646
</load-on-startup>
</servlet>
...
4. I restart tomcat and into browser I typed
http://lmyhost:myport/examples/myExample/MyStart but it returns 404 error.
What am I doing bad?
Thanks for any hint in advance,
Lubos Vrba
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]