Hi,
I don't understand your problem clearly but I assume that you have two
frames and when you click a link on one frame it should call a servlet
process the data and show it in the other frame, if this is the case then
you have to specify the target as
target=<second frame's name>
Other thing if you want to show it in the same window without frames then
you need to give
target="_top"
Hope this will work. If you still have problems please explain your problem
little bit more.
Regards,
Kumar
-----Original Message-----
From: bharathwaj <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, November 14, 1999 9:39 AM
Subject: Re: Frame problem with servlets
>Hi
>I tried that too.The problem is I have a Html page communicating with a
>Servlet.The Html page has 2 frames.When I click a button on one frame,the
>servlet generates the message and that gets displayed only in the same
frame.I
>tried even using the sendRedirect method.But the result is same.Could
anyone
>explain with a snippet code if possible...
>thanks
>bharath
>
>Venkata Ravindra Babu G wrote:
>
>> Hi .
>>
>> U have to specify the target for the frame to get displayed..Otherwise it
>> gets displayed in the same location.......
>>
>> GVR
>>
>> ---Original Message-----
>> From: bharathwaj <[EMAIL PROTECTED]>
>> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>> Date: Saturday, November 13, 1999 6:37 PM
>> Subject: Frame problem with servlets
>>
>> >Hi
>> >I have a Html file with 2 frames.When I click a button say to log out,
>> >my servlet uses the sendRedirect method to send a Html page.But the page
>> >gets displayed only in that frame from where I clicked the button.I also
>> >tried creating the html in my servlet and send it using out.println.But
>> >the result is same.
>> >Will somebody help me where I am going wrong?
>> >bharath
>> >
>>
>___________________________________________________________________________
>> >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
>>
>>
___________________________________________________________________________
>> 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
>
>___________________________________________________________________________
>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
___________________________________________________________________________
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