File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes server side redirect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "server side redirect" Watch "server side redirect" New topic

server side redirect

randeep singh

Joined: Sep 23, 2003
Posts: 4
my application is redirecting to a remote server for payment processing.
is it possible to send post data using server seide redirects like response.sendRedirect()
narasimharao konjeti
Ranch Hand

Joined: Apr 26, 2003
Posts: 130
u can send the data, but u cannot send morethan 255 characters of data, by using, response.sendRedirect(";alskdf");
nr konjeti

"Unwise to sweat petty stuff, wise to pet sweaty stuff."
randeep singh

Joined: Sep 23, 2003
Posts: 4
in http 1.1 i think there is no limit on the data we send as query string .
but this server side redirect will be get request or Post request
vijaykumar shah

Joined: Jul 02, 2003
Posts: 23
if you want to add some thing into the response just simply use response.include() see the syntax and other parameters in the API this will help u much for your requirement.
I agree. Here's the link:
subject: server side redirect
It's not a secret anymore!