Solved

jsp and java beans

Posted on 2004-04-07
4
168 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Knowing where your website is hosted is as important as the features you receive, the monthly fee, and the support you receive. Due diligence should be done when choosing your next hosting provider.
As a business owner, there are many things that keep you up at night. Profit margins, employee retention, human resource protocols, whether your product or service will remain competitive. When you own or manage a technology company that operates la…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

803 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