]
Prasad Deshpande commented on JBAS-9388:
----------------------------------------
File is attached to
Error while opening an URLConnection
------------------------------------
Key: JBAS-9388
URL:
https://issues.jboss.org/browse/JBAS-9388
Project: Legacy JBoss Application Server 6
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 6.1.0
Environment: Windows XP, JBoss 6.1.0, Sun JDK 1.6.0_22
Reporter: Prasad Deshpande
Hi, I'm trying to open a file using URLConnection inside a servlet & it throws me
following exception. I'm using jboss-6.1.0-SNAPSHOT on windows platform.
java.net.URISyntaxException: Illegal character in opaque part at index 7:
file:D:\jboss-5.1.0-SVN\eFp\eFp-Current\server.properties
Not sure if anyone has tried it before. File URL seems to be correct but still I get
above exception. Could anyone please highlight? Please ignore the path of the file even if
it says jboss-5.1.0 I just have a directory with that name, it has nothing to do with
actual 5.1.0 version.
I'm also attaching my servlet code.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: