Skip to Content
0
Former Member
Aug 28, 2012 at 06:27 AM

URLChecker.isValidURL not working as expected

28 Views

Hello,

I am facing a strange issue with URLChecker.isValidURL(fileURL.getURL()) method in Java Webdynpro application.

I am trying to upload an image containing two dots (For ex: blue..jpg) in the image name. The application has been hosted in two different servers. In one server, isValidURL is throwing InvalidURLRuntimeException. But in another server, it’s considering the URL as valid, though it contains incorrect image name. What is the reason for this strange behavior?

Regards,

SP Shetty