Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

error on jsp dynpage

hi,

I made a small application. And now I want to show some information of a user in a jsp page.

But I get an error.

This is the code of my jsp

<%@taglib uri= "tagLib" prefix="hbj"%>

<jsp:useBean id="getUserInfoBean" scope="session" class="getUserInfoBean" />

<hbj:content id="myContext">

<hbj:page>

Greetings!

</hbj:page>

</hbj:content>

I Searched for the line giving the error and it's <jsp:useBean...> line that creates the error :s

When I leave this one out it doesn't give the error message?

By the way.. the error message = "Error occurs during the rendering of jsp component"

Hope you can help me.

Greetings

Wouter

Former Member
Former Member replied

Hi,

U need to specify the full path of the bean class i.e u need to specify the package name with the class name.

e.g

Use

<b>

<jsp:useBean id="getUserInfoBean" scope="session" class="packagename.getUserInfoBean" /></b>

instead of

<b><jsp:useBean id="getUserInfoBean" scope="session" class="getUserInfoBean" /></b>

Thanks

Ritushree

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question