• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Help me to update web.xml STARTS WITH /(forward slash)

 
Ranch Hand
Posts: 357
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1)
<servlet>
<servlet-name>one</servlet-name>
<servlet-class>foo.Testone</servlet-class>
<servlet>
<servlet-mapping>
<servlet-name>one</servlet-name>
<url-pattern>/Beer/*</url-pattern>
</servlet-mapping>


Hi all
I want to update this list so we are able to make complete web.xml plus all the requested it assigned by /(forward slash) in web.xml


So starts now plzzzzzzzzzzzzzzzzzzzzzzz

Thanx
sanjay

[ May 31, 2005: Message edited by: Sanjay pts ]
[ May 31, 2005: Message edited by: Sanjay pts ]
 
Sanjay pts
Ranch Hand
Posts: 357
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
2)

<erro-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/errorPage.jsp</location>
<error-page>

or

<erro-page>
<error-code>404</error-code>
<location>/notFound.jsp</location>
<error-page>
 
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Sanjay pts:
1)
<servlet>
<servlet-name>one</servlet-name>
<servlet-class>foo.Testone</servlet-class>
<servlet>
<servlet-mapping>
<servlet-name>one</servlet-name>
<url-pattern>/*.do</url-pattern>



Shoudn't the url-pattern just be:
<url-pattern>*.do</url-pattern> ?
 
Sanjay pts
Ranch Hand
Posts: 357
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
3)<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/loginPage.html</form-login-page>
<form-error-page>/loginError.html</form-error-page>
</form-login-config>
 
no wonder he is so sad, he hasn't seen this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic