cancel
Showing results for 
Search instead for 
Did you mean: 

Sharing data between a WebDynpro and a Servlet

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Thnks Valery is an honor to me recive a response of you, following my post i want to ask if you can suggest me another thing. The Servlet that i want recover the value of the Web Dynpro is also made in NWDS and running in the same WAS.

thnks

Joshua

Message was edited by: Josue Cruz

Message was edited by: Josue Cruz

Answers (0)