hi there,

I have a little issue with dynamic redirection from within my component.

In my component I construct the following URL
https://some.site.somewhere/index.php?param1=value1&param2=value2
and try to redirect the client like this
...
  | HttpServletResponse response = 
(HttpServletResponse)facesContext.getExternalContext().getResponse();
  | try {
  |    response.sendRedirect(url);
  | } catch(IOException e) {
  |    log.error(e.getMessage());
  | }
  | facesContext.responseComplete();
  | ...
Now everything seems to work but one little annoying thing. Seam seems to 
append "?conversationId=5" to the redirected URL and that wracks the 
application on the other side.
https://some.site.somewhere/index.php?param1=value1&param2=value2?conversationId=5
How can I prevent Seam from doing this or at least make it append its parameter 
with a "&" and not a "?"?

TIA, Thorsten

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932638#3932638

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932638


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to