Since this is the servlet list, I'm going to assume this page is being generated
by a servlet and that you want the page in the link to display immediately.
Given those assumptions, one solution is to send a redirect rather than write
out the page shown.
See HttpServletResponse.sendRedirect(String) method
K Mukhar
"SHEDDE, RAJESH" wrote:
>
> It depends on how and when you want to display cnn.com.
> You could have a javscript load the url in the location.href in the 'onload'
> event or on some other action triggers.
>
> -rajesh
>
> >hi,
> >
> >Look at the code below: <Sample.htm>
> > <html>
> > <body>
> > <a href="http://www.cnn.com"> CNN </a>
> > </body>
> ></html>
> >
> >Is there any simple way (not servlet,JSP or window object in javascript) to
> display directly CNN.com without clicking on link.
___________________________________________________________________________
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