Here is 2 techniques I have imploded:
<a href="../servlet/myServlet" target="frame1">
also:
I was doing a 6 framed page.
|----+-----|
| 1 | 2 |
|----+-----|
| 3 | 4 |
|----+-----|
| 5 | 6 |
|----+-----|
The frames would fill out from top left to bottom right ( 1 to 6 )
using the above target calls. What I need was if I clicked on a new
href in frame1 target="frame2" I wanted to blank out 3,4,5,6.
So using "view->page info" from the browser you can see the frame
layout. And using java script calls like :
<BODY BGCOLOR="FFFFFF" TEXT="000000" LINK="6666CC" VLINK="3366CC"
ALINK="CC3300"
onload="top.frames[1].frames[0].frames[0].location='init.htm';
top.frames[1].frames[0].frames[1].location='init.htm';
top.frames[1].frames[1].frames[0].location='init.htm';
top.frames[1].frames[1].frames[1].location='init.htm'"">
I was able to blank out the frames. I'm sure that you could make a
servlet/myservlet location call vs the "init.htm" location.
Hope this put to bed alot of the frame targets on the list.
--
James K. Tuan Ph: 203.961.1686
PetroChemNet Inc. Fax:203.357.7011
1281 Main Street email: [EMAIL PROTECTED]
Stamford CT 06902 URL: www.petrochem.net
Gerardo Macari wrote:
>
> I invoke a servlet in my html page which is within a frame set.
> i.e <a href="../servlet/myServlet"> login </a>
>
> Is it possible to redirect my page to a "targe"t frame in my frameset ?
> Rightly so it displays in the frame from which it was invoked.
> Any other suggestions?
>
> I am using HttpServletResponse.sendRedirect(String).
>
> thanks,
>
> gerardo
___________________________________________________________________________
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