Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

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!

Onload funciton of include jsp is not invoked in the main jsp

843838Sep 18 2005 — edited Sep 19 2005
I have a main.jsp which includes another jsp called DealsTab.jsp which has onload function in body tag. The body onload function is not invoked when I access main.jsp.
Whereas the body onload fuction is invoked if I access DealsTab.jsp seperately. Anyone could throw a light on this?

In main.jsp ,I tried both the includes but no luck.
1. <jsp:include page="DealsTab.jsp" />
2. <%@ include file="DealsTab.jsp" %>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 17 2005
Added on Sep 18 2005
5 comments
536 views