Re: Redirecting To Another Application
tm_jee <[email protected]> Thu, 21 Dec 2006 11:20:30 CST
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <10011650.1166721664866.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
Hi guys,
if not mistaken HttpServletRequest.redirect(...) with a '/' will go to the server root (without the context path).
with webwork, i think this could be done using, (prependServletContext is by default true)
[code]
<result type="redirect">
<param name="location">/something/otherthing.jsp</param>
<param name="perpendServletContext">false</param>
</result>
[/code]
rgds
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=54547&messageID=109492#109492