Mailinglist Archive: opensuse-bugs (7129 mails)
| < Previous | Next > |
[Bug 484760] Servlet forwarding with querystring parameters doesn't work in packaged tomcat tomcat6-6.0.16-6.4
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Tue, 17 Mar 2009 06:48:57 -0600 (MDT)
- Message-id: <20090317124857.D6F3924550C@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=484760
User mvyskocil@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=484760#c2
Michal Vyskocil <mvyskocil@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
Info Provider| |dennis.steenstra@xxxxxxx
--- Comment #2 from Michal Vyskocil <mvyskocil@xxxxxxxxxx> 2009-03-17 06:48:57
MST ---
I was unable to reproduce it for Struts. Even if the forwarding was broken -
the following code return an error
ServletContext servletContext = session.getServletContext();
RequestDispatcher rd =
servletContext.getRequestDispatcher("/test.jsp?arg=succeded");
rd.forward(request, response);
The requested resource (/test/test.jsp?arg=succeded) is not available.
The struts works well. The
<logic:redirect forward="welcome"/>
with
<global-forwards>
<forward
name="welcome"
path="/Welcome.do?arg=succeded"/>
</global-forwards>
in WEB-INF/struts-config.xml works well.
Did you used a struts from distribution, or a third party one? Or can you give
me a code snippet for test?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
User mvyskocil@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=484760#c2
Michal Vyskocil <mvyskocil@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
Info Provider| |dennis.steenstra@xxxxxxx
--- Comment #2 from Michal Vyskocil <mvyskocil@xxxxxxxxxx> 2009-03-17 06:48:57
MST ---
I was unable to reproduce it for Struts. Even if the forwarding was broken -
the following code return an error
ServletContext servletContext = session.getServletContext();
RequestDispatcher rd =
servletContext.getRequestDispatcher("/test.jsp?arg=succeded");
rd.forward(request, response);
The requested resource (/test/test.jsp?arg=succeded) is not available.
The struts works well. The
<logic:redirect forward="welcome"/>
with
<global-forwards>
<forward
name="welcome"
path="/Welcome.do?arg=succeded"/>
</global-forwards>
in WEB-INF/struts-config.xml works well.
Did you used a struts from distribution, or a third party one? Or can you give
me a code snippet for test?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |