logo       

RE: Web.xml problem: msg#00110

java.jetty.support

Subject: RE: Web.xml problem

> Jetty won't accept <servlet> in my web.xml
Well, it does for me ...

> Also, <login-configure> problems.
Isn't this meant to be <login-config> rather than <login-configure> ?

Your <web-app> element should be something like:

<web-app>
[...]
<servlet>
<servlet-name>CalcServlet</servlet-name>

<servlet-class>com.artechra.calc.CalcServlet</servlet-class>
</servlet>
[...]
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>PWRI</realm-name>
</login-config>
[...]
</web-app>

Perhaps if you check your web.xml against the Servlet spec and post the
parts causing problems we can help further.

(Servlet spec is
at:http://www.jcp.org/aboutJava/communityprocess/final/jsr053/)

Cheers,

Eoin.
-----Original Message-----
From: alkidad <alkidad@xxxxxxxxx> [mailto:alkidad@xxxxxxxxx]
Sent: 10 December 2002 00:46
To: jetty-support@xxxxxxxxxxxxxxx
Subject: [jetty-support] Web.xml problem


I'm currently trying to move from Orion to Jboss. But I am having a
few mapping problems. When trying to deploy my ear, Jetty won't
accept <servlet> in my web.xml. Also, <login-configure> problems.
What am I suppose to do?


For the latest information about Jetty, please see
http://jetty.mortbay.org



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/CefplB/TM
---------------------------------------------------------------------~->

For the latest information about Jetty, please see http://jetty.mortbay.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise