my dog learned polymorphism*
The moose likes BEA/Weblogic and the fly likes how can i validate an url using weblogic 7.0 api? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "how can i validate an url using weblogic 7.0 api?" Watch "how can i validate an url using weblogic 7.0 api?" New topic
Author

how can i validate an url using weblogic 7.0 api?

Diggy Lans
Greenhorn

Joined: Jul 29, 2003
Posts: 4
Can anyone help me with this - I need to validate an URL - meaning that i need to know whether the URL is correct and whether it conveys "rigth" (specific to me webapp) parameters' values - using weblogic API
Sai Prasad
Ranch Hand

Joined: Feb 25, 2002
Posts: 560
Write a stand alone java application to open a Connection using java.net.URL object. Catch the exception to determine the invalid url.
Diggy Lans
Greenhorn

Joined: Jul 29, 2003
Posts: 4
Actually what I ment was checking parameters passed to my servlet for occurence of invalid characters - html tags for example.
Sai Prasad
Ranch Hand

Joined: Feb 25, 2002
Posts: 560
It is available if you buy Weblogic Portal product.
 
jQuery in Action, 2nd edition
 
subject: how can i validate an url using weblogic 7.0 api?
 
Similar Threads
SAX, DOM, JDOM, JAXP are confusing?
How to build a java client using weblogic api to invoke Asynchronous .Net web Servic
conflict between weblogic 5.1 ejb and welogic 6.0 ejb
WLInitialContextFactory class not found error
how to compare two xml files?