Hi Matt,
I think, this would be better to do this on client side only. If you just
need to redirect to a URL. Why don't you go for javascript.
That's a one line statement "window.location=textbox.value".
That's it.
-sunil
>From: Matthew <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: How to load a URL
>Date: Thu, 30 Nov 2000 09:12:15 -0500
>
>This might be a very basic question, but I would like to know the most
>efficient way to do this. I have a servlet that gets a URL from a form.
>How can I load the URL into my browser? I know with applets, you can do
>something like getAppletContext().showDocument(myURL); but is there a
>simple way to do this from a servlet?
> -Matt
>
>___________________________________________________________________________
>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
_____________________________________________________________________________________
Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
___________________________________________________________________________
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