aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how can i validate an url using weblogic 7.0 api?