how to use iframe to generate a dynamic URL for error message
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.