Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can't open a jsp in a pop up or iframe from another jsp in the same portlet

712754Mar 10 2011 — edited Mar 12 2011
Hi There,
I have a simple struts portlet "MNPPortlet" it contains some JSPs as the below hirearchy

MNPPortlet
WebContent
pages
A.jsp
B.jsp

I just want to open B.jsp in a popup window or in an iframe from A.jsp, I have tried the following
1- window.open("B.jsp")
2- <IFRAME src="B.jsp">

but it doesn't seem to work, I always get 404 page not found error, since it generates wrong URLs, any ideas how can i get the right URIs generated ?
P.S. it's working fine as struts application, not portlet

Thanks alot
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 9 2011
Added on Mar 10 2011
4 comments
648 views