File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can i validate an url using weblogic 7.0 api?

 
Diggy Lans
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 560
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually what I ment was checking parameters passed to my servlet for occurence of invalid characters - html tags for example.
 
Sai Prasad
Ranch Hand
Posts: 560
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is available if you buy Weblogic Portal product.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic