on 04-24-2006 1:02 PM
Hello @ all,
I need a the following functionality:
I need to redirect from a Web Dynpro App to a BW-Webtemplate and I want to use LinkToUrl´s or LinkToAction or Buttons.But when I navigate to the BW-Web template, I want, that the URL is not shown in the addressbar of any Browser. The Url of the Web Dynpro App should be shown, even when the User navigates to another URL!I cannot use iframes because they are not supported by mobile devices!
I hope my question is described in more detail now.
Thank you very much!
Mehmet
Message was edited by: Mehmet Ucar
Hi Mehmet,
You can try following approach:
1) Create servlet wich process POST HTTP requests, reads URL passed as one of parameters and calls <i>snedRedirect</i> from HTTPServletResponse for example (see http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletResponse.html). Check whether mobile browser supports correct behavior for HTTP code 302 (SC_MOVED_TEMPORARILY)
2) In WD application call this servlet. The only chalenge here - how to pass URL as POST parameter. Use plain methods form URLConnectiion and add it to headers directly or use some helper classes (for example http://jakarta.apache.org/commons/httpclient/)
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Maksim,
so is it right to say, that web dynpro has no mechanism to open a URL without changing the URL in the addressbar like when using iframes?
For example, i want to call a URL as following:
http://host:port/sap/bw/BEx?sap-language=DE&bsplanguage=DE&CMD=LDOC&TEMPLATE_ID=XYZ
If I would use an iframe, the URL would not change in the addressbar.
Thanx alot in advance!
Best regards Mehmet.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.