Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Web-app setup

Erlis Vidal Santos

2003-10-09

Replies:

Try this

 <servlet-mapping>
  <servlet-name>Login</servlet-name>
  <url-pattern>/Login</url-pattern>
</servlet-mapping>

Sincerely
Erlis Vidal Santos

> -----Original Message-----
> From: Duane Kehoe [mailto:dkehoe@(protected)]
> Sent: Thursday, October 09, 2003 5:03 PM
> To: Tomcat Users List
> Subject: Re: Web-app setup
>
> Sorry about that the whole web.xml is included. This is a very simple
> app(actually my second app ever, the first was a simple lookup(which
> worked)) so the web.xml that I have created thus far is very small
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE web-app PUBLIC "-//SUN Microsystems, Inc.//DTD Web
Application
> 2.3//EN"
>   "http://java.sun.com/dtd/web-app_2_3.dtd">
> <web-app>
>  <display-name>Login</display-name>
>  <description>my little login app</description>
>  <servlet>
>   <servlet-name>Login</servlet-name>
>   <servlet-class>com.mycompany.myapp.Login</servlet-class>
>  </servlet>
>  <servlet-mapping>
>   <servlet-name>Login</servlet-name>
>   <url-pattern>/myapp/com/mycompany/myapp</url-pattern>
>  </servlet-mapping>
> </web-app>
>
> Thanks again
>
> Lee, Paul NYC wrote:
>
> >Can you include the relevant part of web.xml?
> >
> >
> >
> --
>
> /*Weyco** Group* -/
>
> */Florsheim, Brass Boot, Nunn Bush, Stacy Adams/*
> Duane Kehoe
> EC / Programmer / Analyst
>
>
> Phone # 414.908.1814
> Fax # 414.908.1601
> Email: dkehoe@(protected)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.