How do I pass parameters from ServletOne to ServletTwo using a HTTP POST through URL?
For example: http://localhost/ServletOne?username=test
If the passing of parameters is successful, a JSON text will appear in the JSP page.
...
Hi there,
I am looking for advice on how to go about writing a small and simple application that will receive http GET and http PUT request, process the data (simple text files) and respond.
I have all ready done this using threads and sockets but there must be a simpler and more efficient way. Also when I run my application using ...
greetings all
i was wondering if it's possible to send some javaScript code in the response of a controller
meaning that i want to invoke a javaScript but not from the jsp (from server side)
something like:
var d = new Date();
var gmtHours = -d.getTimezoneOffset()/60;
var tz=gmtHours;
window.location="page?tz="+tz;
what do you think g...
I want to user HttpServletResponse object to compose a response that will tell the browser client to open a popup with some message - how can i do that?
...