ryan,
your best bet would be to put an index page in the root dir of your webapp and redirect to the servlet.
Matt Goss

Ryan Littrell wrote:

I am trying to figure out a solution for a URL mapping scheme for my webapp.

I am trying to achieve the following maps:

*context*/??????           --->      Servlet1
*context*/ice              --->      Servlet2
*context*/images/??.gif    --->      Straight through
*context*/movies/??.swf    --->      Straight through

I have tried several different configurations, if I use

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

it will map all of the above url's to servlet 1 and ignore all other maps.  I want to be able to divide these url's in the web.xml.  Maybe there is a way to use regular expressions when specifying a URL pattern or something equivalent? That would be nice.

I would appreciate any advice.

Thanks,
Ryan

begin:vcard 
n:Goss;Matt
tel;fax:919-657-1501
tel;work:919-657-1432
x-mozilla-html:FALSE
url:www.rtci.com
org:RTCI;Custom Solutions
adr:;;201 Shannon Oaks Circle;Cary;NC;27511;US
version:2.1
email;internet:[EMAIL PROTECTED]
title:Web Developer
fn:Matt
end:vcard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to