on 05-21-2009 12:32 PM
Hi ,
the appplication we work on requires exchange of data between a JSP and Webdynpro java app.
we are unable to find way to send data (a parameter) from webdynpro application to a jsp. the idea is to pass on a variable like user_id to jsp and then use it on jsp to retrieve a document on portal root folder.
we have been trying to explore if HTTPServletRequest can be defined on the webdyn application and the parameter can be saved as a request variable and retrieved on JSP. (don't even know if dynpro app supports thislogic)
on the jsp we are using
response.setContentType("application/download");
response.setHeader("Content-Disposition", "attachment; filename= \"""test.pdf""\"");
but even this is not working as setContent() does not accept a string argument.
any suggestions are welcome.
Hi Venkata
I did pass some parameter from web dynpro to jsp in one project, i don't know if there are another way to do this, but i pass as GET method.
in web dynpro, i call the url of jsp, passing the parameters that i need in the url.
Example of URL: http://myurl.com/my_application_path?name_of_parameter=value_of_parameter
And in jsp file i get the parameter value, in this way:
request.getParameter("name_of_parameter")
Regards
Marcos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.