Solved

jsp and java beans

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Owning a franchise can be the dream of a lifetime. It provides a chance for economic growth. You can be as successful as you want.  To make your franchise successful, you need to market it successfully. Here are six of the best marketing strategies …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

706 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now