-
Sep 18th, 2007, 05:30 AM
#1
HTTP invoker and http request in bean
Hi,
I have this question: is it possible to access HTTP request by encapsulated class with HttpInvokerServiceExporter?
Sample code:
<bean id="invokerService" class="invoker.InvokerServiceImpl"/>
<bean name="/InvokerService" class="org.springframework.remoting.httpinvoker.Ht tpInvokerServiceExporter">
<property name="service" ref="invokerService"/>
<property name="serviceInterface" value="invoker.InvokerService"/>
</bean>
and I need to access the HTTP request from <code>invokerService</code> bean. Is there a way how to do this?
Why I need this? I need to check IP address on server side.
Thanks a lot.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules