File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Apr 23, 2006
Apr 14, 2007 00:53:00
I am redirecting the control to a particular URL which is dynamically generated using logic:redirect tag in my
The control come into the jsp and it fires an
at that tag.It is urgent to solve it .
SRVE0026E: [Servlet Error]-[JSP 1.2 Processor]: java.lang.IllegalStateException at com.ibm.ws.webcontainer.webapp.WebAppDispatcherResponse.sendRedirect(WebAppDispatcherResponse.java:87) at org.apache.struts.taglib.logic.RedirectTag.doEndTag(RedirectTag.java:317) at org.apache.jsp._property._jspService(_property.java:484) at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
Joined: Feb 15, 2005
Apr 15, 2007 09:28:00
You cannot use logic:redirect if:
You have already started outputting text to the page or
You are using tiles, and the current page is part of a tiles template
If either of these conditions exist, you will have to use another strategy besides logic:redirect.
I agree. Here's the link:
subject: Logic:redirect problem
simple struts app made confusing by documentation
Forward to new action during the execution of another action
Struts with Ajax
confused on how to use struts
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015