Solved

jsp and java beans

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can I clean log of  running tomcat 7 server ? 3 126
xjc and jaxb 2 90
library class in java 1 90
maven project in eclipse 11 57
There is no doubt that cloud is gaining importance. Many of you must have read about this technology and its growing importance. More and more organisations are embracing this technology not forgetting start-ups. The process begins by dipping …
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

861 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

23 Experts available now in Live!

Get 1:1 Help Now