Skip to Content
0
Former Member
Sep 13, 2005 at 04:35 AM

HttPServletRequest and HttpServletResponse

31 Views

Hi ,

I wanted to create servlet request and response by using the follwing code. it doesnt compile. Should i add servlet.jar in class path? which folder of my Web dynpro project should i put servlet .jar so that it would be available during runtime?

HttpServletRequest request =((com.sap.tc.webdynpro.services.sal.adapter.core.IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();

HttpServletResponse response =((com.sap.tc.webdynpro.services.sal.adapter.core.IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletResponse()

regards,

Sujesh