tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vim m <vim6662...@yahoo.com>
Subject Re: Deployment Problem: Got No Clue!
Date Sat, 25 Jan 2003 15:09:19 GMT
What does your web.xml file contain? For every servlet
in your application, you should have a <servlet>
element and a mapping element. 




--- Mark Liu <markliu1989@yahoo.com> wrote:
> I am running Tomcat 4.1.12 on my Windows 2000
> system.
> 
> Tomcat runs pretty well.  The examples run pretty
> well.
> 
> I created an x509 directory under webapps, i.e., I
> have C:\Tomcat4_1_12\webapps\x509 now.
> 
> Then I created 2 folders under x509: WEB-INF and
> Test,
> i.e., I have
> 
> C:\Tomcat4_1_12\webapps\x509\WEB-INF
> 
> and
> 
> C:\Tomcat4_1_12\webapps\x509\Test
> 
> now. 
> 
> Under WEB-INF I have web.xml and a folder called
> classes.
> 
> i.e., C:\Tomcat4_1_12\webapps\x509\WEB-INF\classes.
> 
> I put Marty Hall's ShowParametersPostForm.html under
> Test, and his ShowParameters.class &
> ServletUtilities.class under classes.
> 
> I was able to see the ShowParametersPostForm.html
> page
> via this link:
> 
>
http://localhost/x509/Test/ShowParametersPostForm.html
> 
> But then when I fill up the form and hit submit, I
> always get this:
> 
> type Status report
> 
> message /x509/servlet/ShowParameters
> 
> description The requested resource
> (/x509/servlet/ShowParameters) is not available.
> 
> However, if I move the structure to Tomcat's
> examples
> folder, it works great.
> 
> Please note that I have changed servlet path
> specified
> in ShowParametersPostForm.html to
> 
> <FORM ACTION="../servlet/ShowParameters"
> METHOD="POST">
> 
> Also please note that I have added x509 context in
> server.xml under conf, like so:
> 
> <!-- Project X509 context -->
>         <Context path="/x509" docBase="x509"
>          debug="0" reloadable="true"
> privileged="true"/>
> 
> I do not understand why it does not work under my
> x509
> directory.  I have been trying this for the whole
> day!
> 
> Any kind help please?
> 
> Thanks a lot.
> 
> Mark
> 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> http://mailplus.yahoo.com
> 
> --
> To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message