Connecting Tech Pros Worldwide Forums | Help | Site Map

JSP Bean retrieval

Vittorix
Guest
 
Posts: n/a
#1: Mar 9 '08
hi all,

in a JSP page:

<%
String bookBeanBeg;
bookBeanBeg = "bookBeanBeg1";
%>

<jsp:useBean id="<%=bookBeanBeg%>"
type="p4Solution.BookBean" scope="session" />
<jsp:getProperty name="<%=bookBeanBeg%>"
property="shortDescription"/>

it doesn't work.

please help to make it work. I'm going crazy with it!

--
ciao
Vittorix



Closed Thread