• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Appending an attribute to the URL query string

 
Ranch Hand
Posts: 479
1
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
In my STRUTS application I have to append an attribute to the query string. If I try to redirect the URL an error occurs with the message "Cannot redirect the request that has allready been dispatched". How do I get around this problem. All sugetions will be appreciated.

Thanks,
Raj Kamal.
 
Ranch Hand
Posts: 415
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
before directing u might have already committed the response i feel

post ur action class code that could be helpful in resolving the problem
 
Rajkamal Pillai
Ranch Hand
Posts: 479
1
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the quick response. What I try to do from my Action is, before returning the ActionMapping instance with the forward string in the struts-config, I tried to redirect using HttpServletResponse.sendRedirect() method. That was when the error occured. Am I completely oftrack here? Or better still maybe there is a even beter way of acheiving this........
reply
    Bookmark Topic Watch Topic
  • New Topic