On Apr 14, 2010, at 6:11 PM, Nicolas Tricot wrote:
> Hi Paul,
>
> The method we were using was getRequestURI().
Works for me.
Also see here for a sample web app that exercises this general area:
http://markmail.org/search/?q=list
%3Anet.java.dev.jersey.users#query:list%3Anet.java.dev.jersey.users
+page:1+mid:g2zyayagzikrl5iz+state:results
Paul.
> We had a java.lang.IllegalStateException issue when trying to call
> this method.
>
> We did not tried with Tomcat6.
> We will try to do this.
>
> Nicolas
>
> Le 14/04/2010 16:53, Paul Sandoz a écrit :
>>
>> Hi Patrick
>>
>> Can you send a reproducible test case? Have you tried on Tomcat 6?
>>
>> What methods were you calling on ServletRequest?
>>
>> I just tried with Tomcat 6 and i can access the
>> ServletRequest.getMethod from the error page mapped to an exception
>> without any error.
>>
>> Paul.
>>
>> On Apr 14, 2010, at 3:48 PM, Patrick Sauts wrote:
>>
>>> We might have found an issue with Jersey 1.1.5.1.
>>>
>>> Our Tomcat 5.5.x web.xml specify :
>>> <error-page>
>>> <exception-type>java.lang.Exception</exception-type>
>>> <location>/exceptionGesture/index.jsp</location>
>>> </error-page>
>>> Our rest resources throw exceptions that have to be processed in
>>> the jsp declared above.
>>> Tha jsp does some operations that test the content of the
>>> ServletRequest.
>>> But with jersey 1.1.5.1 the ServletRequest is in an Illegal State.
>>> It works fine with Jersey 1.1.3ea.
>>>
>>> Thank you.
>>>
>>> Patrick.
>>>
>>>
>>>
>>
>>
>
>
> --
> Nicolas TRICOT
> IT Project Manager
>
> Viadeo - 29 rue Joubert -75009 Paris - France
> T : +33 1 75 44 31 46 – F : +33 1 42 93 22 56
> > Mon profil Viadeo
> > Rejoindre mon réseau
> <logo-baseline-signature-275x60.gif>
>