UNSUSCRIBE

2001-08-08 Thread Sadie Contini







url-pattern and path mapping (newbie question)

2001-06-07 Thread sadie contini

hi,

i have a directory of files /new/happy/* that i want to map to /happy/* so
any links to /happy/file.jsp will be directed to /new/happy/file.jsp

do i do this with servlet mapping in web.xml even though i'm not mapping a
servlet really?  or with virtual directory mapping in orion-web.xml even
though i'm not mapping a full path but an already virtual path?  i've looked
around in the config documentation, but maybe i missed something?

so far i've tried this in the web.xml which didn't seem like it should work
and isn't   :)

   servlet
  servlet-namehappy/servlet-name
  descriptionhappy Directory/description
  jsp-file/new/happy/*/jsp-file
   /servlet
   servlet-mapping
  servlet-namehappy/servlet-name
  url-pattern/happy/*/url-pattern
   /servlet-mapping

thanks ahead of time,
sadie