Skip to Content
0
Former Member
Oct 18, 2006 at 03:57 PM

How to access HttpSvervletRequest in 2004s

9 Views

Hi All

I am having following code in SP15

<b>TaskBinder.getCurrentTask().getWebContextAdapter().getHttpServletResponse();</b>

it works fine, but same code doesnt work in 2004s,

error message says, WebContextAdapter is not defined for ITASk, so instead of WebContextAdapter I used <b>ProtocolAdapter,</b> in this case error message says HttpServletResponse is not defined for ProtocolAdapter.

Please help me out with this issue.

Regards

Praveen

Note:Every good answer will be awarded with good points