|
-
Feb 21st, 2002, 08:27 AM
#1
Thread Starter
Member
Servlet to forward a HTTP Request
Hi all,
Just wondering if anyone has any ideas how I might go about writing a java servlet that I can call that will do some processing and then forward the user to a html page passing it some POST data generated by the servlet.
Thanks in advance
Ian
Ian Clarke BSc (Hons) - Web Applications Programmer
Ricardo Consulting Engineers Ltd.
Email : [email protected]
-
Feb 21st, 2002, 06:53 PM
#2
Addicted Member
This shouldn't be too hard. Just have the servlet, when it's done processing, make it create a real simple output web page that looks something like this:
Code:
<html><head><title>Forward</title></head>
<body onLoad="window.open(\"http://www.disney.com\");">
</body></html>
I won't guarantee the JavaScript "window.open()" is correct, but it should give you the right idea.
cudabean
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|