Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

URLEncoderImpl throws exception when resource has ablank

$
0
0
Hi,

I'm trying to use a page to serve static content. It works fine until a request for a resource name having blanks arrives, then this exception occurs. Is there a fix/workaround other than all resource names to not have spaces?

John

[ERROR] TapestryModule.RequestExceptionHandler Processing of request failed with
uncaught exception: Input string 'New Group Name.bmp' is not valid; the charact
er ' ' at position 4 is not valid.
java.lang.IllegalArgumentException: Input string 'New Group Name.bmp' is not val
id; the character ' ' at position 4 is not valid.
at org.apache.tapestry5.internal.services.URLEncoderImpl.decode(URLEncod
erImpl.java:144)

Viewing all articles
Browse latest Browse all 5648

Trending Articles