Skip to Content

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

如何用iframe传递参数并给生成动态的error message URL网页

刚开始接触web dynpro Java,不是特别了解,动态的URL可以包括http://<%host name%>:<%port number%>/portal/ErrorPage.all?MSGID=<%=SYMSGID%>&NO=<%=SYMSGNO%>&PROG=<%=SYREPID%>

生成的网页要用动态的error信息替换掉<% %>的部分,不知道如何实现,需要调用什么类呢?host name和port number如何动态获得?

Former Member
Former Member replied

动态获得host和port如下:

String absoluteUrl = WDURLGenerator.getAbsoluteWebResourceURL(wdComponentAPI.getDeployableObjectPart());

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question