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-name>happy</servlet-name>
      <description>happy Directory</description>
      <jsp-file>/new/happy/*</jsp-file>
   </servlet>
   <servlet-mapping>
      <servlet-name>happy</servlet-name>
      <url-pattern>/happy/*</url-pattern>
   </servlet-mapping>

thanks ahead of time,
sadie




Reply via email to