Hi,

I am looking for a way to open a page in another frame automatically.
This should happen by calling a servlet not a static page.

Im my servlet application I already tried the following solutions but
without success:

out.append( "<META HTTP-EQUIV='Window-Target' CONTENT='newFrame'>\n" );
out.append( "<meta http-equiv='refresh' content='1; URL=" + myURL +
"'>\n" );

or:

out.append( "<script>\n" );
out.append( "  window.open('" + myURL + "', 'newFrame', '');\n" );
out.append( "</script>\n" );

I suppose the JavaScript doesn't run because I don't know to get a valid
URL calling the servlet in this code.

Any ideas?

Greetings,
Andreas

___________________________________________________________________________
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