09/26/2000 04:50 PM
(subscript: Martin De Miguel Lillo@TSM)
Thanks for all.
Your idea is good but at the end it works with target tag.

---------------------------------------------

Hi,
        If the target tag didn's work.. there is a roundbaout way of doing
this..

In case the jsp results are being displyed in the same frame that the action
is called from.. you could make a form with one hidden field in the frame
you want the results.. and through javascript you could submit this hidden
form. then the jsp results would come in the target frame.. however.. this
incurs an overhead.. if you have just one hidden field then there has to be
some more parsing to get the parameters... else if you dont want even this
overhead.. duplicate this form as hidden fields in result form and submit..
but then again... extra coding...

I had a similar problem.. but I had to display the results in a separate
window... on similar lines..:):)

If there is a simpler trick please tell me...
Gautam


-----Original Message-----
From: De_Miguel Martin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 21, 2000 7:22 PM
To: [EMAIL PROTECTED]
Subject: HTML-FRAME1-SERVLET-FRAME2


09/21/2000 03:52 PM
(subscript: Martin De Miguel Lillo@TSM)
Hi All

I'm trying the following sentences :

 A page HTML has two frames ( frame1 and frame2 ), frame1has a form which
calls
a servlet ( ACTION= "/servlet1" ), this servlet gets data from form and does
a
forward to jsp called jsp1 and this is the question :

 How can i say to servlet1 that results ( jsp1 )are showed at frame2?.

I've tried with a property TARGET in tag FORM but it doesn't work.

I think i can solve this problem with JavaScript ( location.href and submit
)
but i think it doesn't work.

Anybody?

Thanks

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to