gt;
> Cheers, Sergey
>
>>
>> Even then, I would need access to HttpServletRequest in xyzSessionState
>> which
>> is now an aop-scoped proxy bean and again resource injection would not
>> work,
>> isnt it?
>>
>>
&g
Even then, I would need access to HttpServletRequest in xyzSessionState which
is now an aop-scoped proxy bean and again resource injection would not work,
isnt it?
ianroberts wrote:
>
> CFX Novice wrote:
>> Hi,
>>
>> I have this piece of code in m
Hi,
I have this piece of code in my applicationContext.xml
Somehow resource injection stopped working as soon as I started using
I need to access the HttpServletRequest object in my
service class. Any help would be greatly appreciated
--
View this m
I figured out the problem. Turned out that xyzService had some attributes
which were not serializable so declaring them transient solved the problem.
CFX Novice wrote:
>
> Hi,
>
> I have this piece of code in my applicatio
Hi,
I have this piece of code in my applicationContext.xml
Before I made the bean session-scoped everything was working fine but when I
made it session-scoped, I'm getting the following exception:
Application has thrown exception, unwinding now:
java.
Thanks,
That worked.
Sergey Beryozkin wrote:
>
> Hi
>
> You can do
>
> new
> WebApplicationException(Response.status(...).entity(formatErrorMessageAsNeeded()).build())
>
>
> Once ExceptionMapper providers are supported, one'll be able to
>
> throw custom exceptions from the application c
Hi,
I'm making an AJAX request to a REST service.I'm trying to return a JSON
response from my service class method. So if the method throws a
WebApplicationException I get an error like:"XML Parsing Error: no element
found"
Is there something I need to do to be able to marshal the
WebApplication