Hi all

I have a problem with a dynamic forward - can anyone assist?

The url of the forward is generated by:

StringBuffer sb = new StringBuffer();
sb.append("http://www.someurl/actionpath?";);
sb.append("&customer=" + customer.getName());
sb.append("&address=" + customer.getAddress());

etc..

ActionForward forward = mapping.findForward("success");
forward.setPath(sb.toString);
forward.setRedirect(true);
mapping.addForward(forward);

return forward;


The forward above works fine - but - the receiving URL requires that newlines in
the address part of the forward have to be encoded with "
" - with the above
scheme this does not seem to be possible - any ideas?



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to