D
diego.manilla
Hi. I've got a problem with long URL's. I'm developing a web app
specifically for mobile devices. The problem is that I must redirect
the user to some other site and some of these little bastards have a
URL length limit (such as the Motorola V300, which has a limit of 100
characters), yet the URL has 200+ characters. I'm currently using
response.sendRedirect on a servlet.
I can use a java.net.URL object to do the request and send it to the
user, but the redirection needed isn't happening.
I suppose that a POST form instead of a redirection could work, but
that solution would involve some nasty java-scripting to send the form
automatically, with the parameters placed on hidden fields.
Any idea on how to solve this without ugly javascript and such?
Thanks in advance.
specifically for mobile devices. The problem is that I must redirect
the user to some other site and some of these little bastards have a
URL length limit (such as the Motorola V300, which has a limit of 100
characters), yet the URL has 200+ characters. I'm currently using
response.sendRedirect on a servlet.
I can use a java.net.URL object to do the request and send it to the
user, but the redirection needed isn't happening.
I suppose that a POST form instead of a redirection could work, but
that solution would involve some nasty java-scripting to send the form
automatically, with the parameters placed on hidden fields.
Any idea on how to solve this without ugly javascript and such?
Thanks in advance.