Summary: | Redirects requred when transitioning between RDC pages using Websphere 6.0.2 | ||
---|---|---|---|
Product: | Taglibs | Reporter: | stu robertson <srobertson> |
Component: | RDC Taglib | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED INVALID | ||
Severity: | major | CC: | rahul, srobertson |
Priority: | P1 | ||
Version: | 1.0 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
RAD 6 projects demonstrating this issue. To be run in WAS 6.0.2 test environment
Corrected version of first.jsp from earlier attachment |
Description
stu robertson
2005-08-11 21:47:03 UTC
I tried attaching a test case (RAD 6 project) but it is too large. So I emailed this to Rahul instead. If we need it here, I could take out all of the jars, and it should be small enough at that point. Created attachment 16015 [details]
RAD 6 projects demonstrating this issue. To be run in WAS 6.0.2 test environment
Inside this zip there are two RAD 6 projects containing a simple test case
showing these symptoms. 1 Web project, and the EAR project required by
WebSphere. You should be able to load them into your workspace using File ->
Import -> Existing Project into Workspace. I've removed the jars from
WEB-INF/lib to make the attachment small enough to submit. There's an image in
WEB-INF/lib showing what jars must be in the directory for the application to
work properly.
There are 2 simple Struts actions, FirstAction and SecondAction, and their JSPs
are first.jsp and second.jsp. If you point the voice interpreter to
/first-action.do, you will be prompted for a single digit. Upon entering 1
digit, the RDC will forward to first-action.do. FirstAction will then forward
to second-action.do, which forwards to second.jsp.
It is the rendering of second.jsp that fails for us.
To see how redirection changes the symptom, there is a flag in FirstAction
called USE_REDIRECTS. Setting this to true uses redirection to transition to
the next page. This works for us, and is the way we transition between all of
our pages as a workaround to this issue.
Created attachment 16087 [details]
Corrected version of first.jsp from earlier attachment
Thanks for taking time to put together the simple test case. The <rdc:struts-submit> tag should be used after the last bit of template text in the JSP (i.e. in this case, after </vxml> in first.jsp - I've attached a corrected first.jsp to this ticket few minutes ago - and tried your test case successfully on Tomcat 5.0.28 and WAS 6.0.2). I'll take responsibility for the lack of documentation, and add a note to the StrutsInterface tutorial on the wiki in a day or two, unless you beat me to it. |