Solved

jsp and java beans

Posted on 2004-04-07
4
171 Views
Last Modified: 2010-04-01
Hi,
Im accessing a beans value through this call:
<%=AccessV.retid()%>

Is something like this possible:
String val = <%=AccessV.retid()%>
0
Comment
Question by:Ronayne
  • 3
4 Comments
 
LVL 92

Accepted Solution

by:
objects earned 50 total points
ID: 10780035
> Is something like this possible:
> String val = <%=AccessV.retid()%>

you'd just do:

String val = AccessV.retid();

0
 
LVL 92

Expert Comment

by:objects
ID: 10780040
thats assuming it returns a string.
if its an int for example then something like:
String val = Integer.toString(AccessV.retid());

0
 

Author Comment

by:Ronayne
ID: 10780086

Cheers
0
 
LVL 92

Expert Comment

by:objects
ID: 10780098
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
Starting your own business is always a daunting process, and for most people it is brand new experience. Avoid the common pitfalls by following these tips to start on the road to success.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question