Skip to Content

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

how to use iframe to generate a dynamic URL for error message

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.

Former Member
Not what you were looking for? View more on this topic or Ask a question