Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-22-2008, 01:55 AM   PM User | #1
Chithra
New Coder

 
Join Date: Aug 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Chithra is an unknown quantity at this point
Question Help on servlet page redirect

Hi All,

Am new to servelts and jsp also to java script.

This is the issue am facing.

1. A form is submitted(login form)
2. The values from the text box will be sent to a servlet
3. After validation for the userid and password.
4. The servlet will redirect to a different page
5. I wanted to display the resultant page in the new frame(target frame).

Can any one help me how to proceed with the step 5.

thanks in advance.
Chithra is offline   Reply With Quote
Old 10-22-2008, 05:40 PM   PM User | #2
shyam
Senior Coder

 
shyam's Avatar
 
Join Date: Jul 2005
Posts: 1,563
Thanks: 2
Thanked 163 Times in 160 Posts
shyam will become famous soon enough
submit the login form to the desired target...

Code:
<form target="targetframe" action="login.do">
</form>
__________________
You never have to change anything you got up in the middle of the night to write. -- Saul Bellow
shyam is offline   Reply With Quote
Old 10-25-2008, 10:52 PM   PM User | #3
Chithra
New Coder

 
Join Date: Aug 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Chithra is an unknown quantity at this point
Thank you that worked.
Chithra is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:39 PM.


Advertisement
Log in to turn off these ads.