cancel
Showing results for 
Search instead for 
Did you mean: 

iframe used to point to a URL with dynamic parameters??

Former Member
0 Kudos

Hi guys,

I am new to web dynpro java and having my first webdynpro project. Just wondering how to acquire the host name, port number and error message info. dynamically in order to form the following URL format. The iframe is directed to this following URL address.

http://<%host name%>:<%port number%>/portal/ErrorPage.all?MSGID=<%=SYMSGID%>&NO=<%=SYMSGNO%>&PROG=<%=SYREPID%>

I need to replace the <%...%> part with the dynamic content. Any one could provide me with some ideas? What java classes I should use? Thanks very much.

Accepted Solutions (0)

Answers (1)

Answers (1)

p330068
Active Contributor
0 Kudos

Hi Libai

Please refer to below docuement for getting host and port number in web dynpro for Java application.

http://wiki.sdn.sap.com/wiki/display/WDJava/GettingPortalHostandPortNumberinWebDynpro+Application.

http://santy.wikidot.com/wd-server-url-port

Hope it helps

Regards

Arun