jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes Logic:redirect  problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Logic:redirect  problem" Watch "Logic:redirect  problem" New topic
Author

Logic:redirect problem

Gagan Sabharwal
Ranch Hand

Joined: Apr 23, 2006
Posts: 48
Hello,

I am redirecting the control to a particular URL which is dynamically generated using logic:redirect tag in my jsp.

The control come into the jsp and it fires an IllegalStateException at that tag.It is urgent to solve it .
please help.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
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.


    Merrill
    Consultant, Sima Solutions
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Logic:redirect problem
     
    Similar Threads
    Struts with Ajax
    Tricky
    Forward to new action during the execution of another action
    confused on how to use struts
    simple struts app made confusing by documentation