Hi. ALL..,
i have created JspDynPage that dispaly a Vector data obtained from a bean.
My code is :
JspNavigation.jsp****************************
<%
Vector vec = new Vector();
vec = jnBean.getOutput();
int len = vec.length();
for(int i=0;i<=len;i=i+2)
{
String s = vec.elementAt(i).toString();
String ss = vec.elementAt(i+1).toString();
%>
<hbj:textView id="<%=i%>" text="<%=ss%>" design="HEADER1">
</hbj:textView>
<%
}
%>
***********************JspNavigation.java**************************
public void doProcessAfterInput() throws PageException
{
IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
IPortalComponentContext myContext = request.getComponentContext();
jnBean = new JspNavBean();
((IPortalComponentRequest)getRequest()).getServletRequest().setAttribute("jnBean", jnBean);
read myRead =new read();
output = myRead.getMenu();
jnBean.setOutput(output);
}
**********************JspNAvBean.java***************************
Vector output = new Vector();
public Vector getOutput()
{
return this.output;
}
public void setOutput(Vector output)
{
this.output = output;
}
*********************************portalapp.xml***************************************************
<application-config>
<property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
</application-config>
<component name="JspNavigation">
<component-config>
<property name="ClassName" value="com.sirapu.JspNavigate.JspNavigation"/>
</component-config>
<component-profile>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
</component-profile>
</component>
*****************************************************************************************************
I could able to create PAR file but when execute the application, its giving
Portal Runtime Error
An exception occurred while processing a request for :
iView : NewParProject.JspNavigation
Component Name : NewParProject.JspNavigation
Error occurs during the rendering of jsp component.
Exception id: 01:11_28/11/06_0012_7690950
See the details for the exception ID in the log file
Can u plz help me regarding this.
Regards .
Eben
Message was edited by:
Eben Metilda