Advertisement

01.17.2008 at 05:07PM PST, ID: 23092237
[x]
Attachment Details

Using Taglibrary to retrieve data thru Hibernate

Asked by vishali_vishu in J2EE Frameworks, Java Server Pages (JSP), J2EE

Tags: java hibernate

I am using hibernate as DAO and trying to retrive data  Now i want to iterate thru <c:forEach> taglibrary and print on the JSP page where I can hyperlink that data:

Here is the example
I am using the below line in abc.hbm.xml file
property name = userInfo  formula=" select U.USER_ID||' ' ||U.USERNAME||' ' ||U.EMAIL from USERINFO U WHERE U.USERID=user_id";
the result from the above query appears like    ga259b:kiran:kiran@abc.com  

This will be appearing on the JSP and when I click on(hyperlink) ga259b it should give the details on that userid and if I click on kiran@abc.com..it should open a mail composer page

That is my requirement. Can you please help me out ASAP

Start Free Trial
[+][-]02.05.2008 at 08:31AM PST, ID: 20824328

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: J2EE Frameworks, Java Server Pages (JSP), J2EE
Tags: java hibernate
Sign Up Now!
Solution Provided By: Koma666
Participating Experts: 1
Solution Grade: A
 
 
[+][-]06.05.2008 at 03:01AM PDT, ID: 21717669

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 10:54AM PDT, ID: 21722194

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628