Connecting Tech Pros Worldwide Help | Site Map

JSP Bean retrieval

  #1  
Old March 9th, 2008, 11:45 PM
Vittorix
Guest
 
Posts: n/a
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Retrieve data from Database using struts jsp lifeisgreat20009 answers 9 April 13th, 2009 06:42 PM
Java using loop let usebean dynamically declare id xukaifeng answers 1 December 17th, 2008 03:18 AM