Rup Ped

Greenhorn
+ Follow
since Apr 10, 2005
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 Rup Ped

I think there is nothing wrong with your ejb code. It must be in the way you are accessing your local entity beans from the client. Try this out:

Object objref = ic.lookup("local:ejb/xxxxxxxx/ClientHome");

where xxxxxx is your package structure (ejb/myjava/...)

Hope it helps.
Here is one approach you can think of:

You can create hidden fields in the form which has links to other actions. And when the links are clicked, you can call a javascript function to populate the hidden fields with the corresponding values based on the clicked action. And ofcourse your form-bean for the current form should have the hidden fields also, declared as attributes with getters/setters for them.

-Rup
19 years ago