Frederick Atabo

Greenhorn
+ Follow
since Feb 29, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Frederick Atabo

you can put the username in a session like this:

<%
String username2 = request.getParameter( "username" );
session.setAttribute( "user", username2 );
%>

you can get the value in another page as shown below:

<%= session.getAttribute( "user" ) %>

you can use the value in a finder method in another page as shown below
<% p=rsl.findEmlpoyeeNameandId(session.getAttribute("use").toString()); %>

where findEmlpoyeeNameandId() is a finder method in session bean, p is an object of a helper class


11 years ago
JSP