java - Tomcat does not read link as parameter -
i using jersey/java create web service runs on tomca7. when pass url parameter in @pathparam not display anything, when regular string works fine. here modified demo of doing..
for example if put:
localhost/app/.../broaders/test
it display: test
but if put:
localhost/app/.../broaders/http%3a%2f%2ftematres.befdata.biow.uni-leipzig.de%2fvocab%2f%3ftema%3d254
or just
localhost/app/..../broaders/http%3a2f2f
it not display anything.
@get @path("broaders/{k}") @produces(mediatype.application_json) @public string getbroader(@pathparam("k") string k){ return k; }
i added -dorg.apache.tomcat.util.buf.udecoder.allow_encoded_slash=true catalina.proprieties without luck.
maybe should pass url parameter. now, allow_encoded_slash generating urls aren't broaders/xxxx broaders/xxx/yyy/zzz don't match regexp.
Comments
Post a Comment