>> I want to forward the request to a jsp file in the root directory,  
>> e.g. /confirm.jsp, however after forwarding the path location is  
>> still /somepath/, any ideas how to set the path location as well?

> Have you investigated using the rewrite-dispatch tag in your  
> resin.conf file? 

For this purpose, rewrite-real-path is a good fit.

<web-app xmlns="http://caucho.com/ns/resin";>
  <rewrite-real-path>
    <real-path regexp="/somepath/test.jsp" target="test.jsp"/>
  </rewrite-real-path>
</web-app>

http://www.caucho.com/resin/doc/rewrite-tags.xtp#rewrite-real-path

-- Sam



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to