Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic

sendredirect size question  RSS feed

 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
  • Report post to moderator
Is there a size limit for response.sendredirect().

Is it similar to a get if I append a variable to the url to which I am redirecting.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Report post to moderator
The url on the browser is limited to a certain number of characters...
 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
  • Report post to moderator
is there any other option to redirect a user to a different domain??(I have to send a string with about 700 chars along with the redirect).

BTW what is the limit on number of characters on the browser, if it is IE?
 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
  • Report post to moderator
how about requestdispatcher?? can this be used in two different webapp contexts???
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66142
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Perhaps you could do some research on your own? I'd suggest starting here.
 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
  • Report post to moderator
I started sending as a hidden variable in the sendredirect.

It seems to be working allright at present.
 
rev sam
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi kishore,

Can you share here how you sent hidden variables in sendRedirect() method
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!