Hi,
When i use jsp include action tag in the tabstrip, the jsp file is dispayed above the tabstrip. Tabstrip is not
including this external jsp in the tabstripitemBody.
Please refer the following code . Any solution to this?
Thanks & Regards
Markandeya
<%@ taglib uri="tagLib" prefix="hbj" %>
<hbj:content id="footerPageContext" >
<hbj:page title="Edit Claim">
<hbj:form id="footerFormId" >
<hbj:tabStrip id="modulesTS"
horizontalAlignment="LEFT"
verticalAlignment="TOP"
selection="1"
>
<hbj:tabStripItem
id="aa"
index="1"
>
<hbj:tabStripItemBody>
<table border="1">
<tr><td>
Row1
<td></tr>
<tr><td>
<jsp:include page="incTest.jsp" flush="true" />
<td></tr>
</table>
</hbj:tabStripItemBody>
</hbj:tabStripItem>
</hbj:tabStrip>
</hbj:form>
</hbj:page>
</hbj:content>
Request clarification before answering.
Not sure why it does that way. One work around would be to include an iframe (within tab stip item body)with src pointing to the JSP
Lakshmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I used include action tag instead of the static include 1.to solve the problem of VerifyError of jvm(long jsp file)
2. Loading time and Performance
You mean html frame. However i should not use frames.
However if i use frames, in the src how to generate the jsp url to be displayed(if u know, this will be useful in some other situations).
Thanks
Markandeya
Perhaps you should use 'include directive' instead of 'include action'.
This is:
<%@ include file="other.jsp" %>
instead of
<jsp:include file="other.jsp" />
The difference between them is the phase. Include directive includes the jsp file in traslation phase, and include action includes the jsp file in request phase.
Try this, but I'm not sure it will work.
I have used 'include directive' earlier code and it works fine. But due to the long size of the main page i encountered, JVM compilation error(lang.verifyError) and loading time is high. That is the reason i shifted to include action tags and now the loading time and compilation errors solved.
Then why tabstip not allowing inside.
Thanks
Markandeya
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.