--- ameer <[EMAIL PROTECTED]> wrote:
> Im stuck up with an issue here. i am refering to an
> entity in action class. based on input data .. if a
> record for the input exists i need to forward the
> entity remote reference that i have got to a page
> called display.jsp or if no record exists , i would
> create a record in the database for those input
> values and forward it to success.jsp... how do i go
> about it ..pls help.
In your action class you have to do lookup/create
for your entity bean usual way.
After you got your reference ( remote interface )
nothing prevents you to put it into session
context ( or whatever ) of your servlet container.
Then your jsp can fetch it and do what it like.
hope this helped.
regards,
=====
Konstantin Priblouda ( ko5tik ) Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/