cancel
Showing results for 
Search instead for 
Did you mean: 

Using jsp include action tag in tabstrip

05-13-2004 4:49 PM
460 views 4 comments
0 Likes
SAP Managed Tags
Subscribe

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>

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

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

Former Member
0 Likes

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

Former Member
0 Likes

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.

Former Member
0 Likes

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