Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Sharing data between a WebDynpro and a Servlet

Hi forum:

How can id share data between a Web Dynpro and a Servlet, i tried with the session object, but nothing!!

The complete scenario, is that in one web dynpro application i have to set a parameter to be used by a Servlet in other period of time, but i tried with the HttpSession but doesn´t arrive the data. comes null

What can i do ?

Thnks

Joshua

replied

Josue,

Currently there is no simple API to do this.

You may either pass data via URL parameters when exiting from WD application to servlet (GET method), or just open HttpUrlConnection to servlet from WD application and submit data via POST.

VS

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question