I would suggest not directly accessing the EJB from your JSP, but using a
simple java class for transfer instead. You can populate its values while
still in your servlet, and put it into your HTTP page or session context. In
your JSP, you can then use it via the usebean directive.
____________________________________________________________________
Stefan Tilkov -- stefan(dot)tilkov(at)innoq(dot)com -- www.innoQ.com
> -----Ursprungliche Nachricht-----
> Von: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]Im Auftrag von Saurabh Khare
> Gesendet: Montag, 21. August 2000 11:19
> An: [EMAIL PROTECTED]
> Betreff: URGENT: How do I retrieve values from an EJB in a JSP?
>
>
> Hi all.. I posted a question on Friday night but havent had any responses
> yet.. basically I am having problems writing code to retrieve values from
> EJB within my JSP. The complication is that, I have a servlet
> that actually
> creates the instance of the EJB, then executes the application, so the EJB
> has some properties that get filled with values. Next I need to retrieve
> those values from a JSP to be displayed in a web-browser. The JSP gets
> called from within the Servlet using the callPage method once the control
> has been returned from the EJB to the Servlet in the sequence of code! Any
> suggestions would be much appreciated.. thanx a lot.
>
> Saurabh Khare
>
> ==================================================================
> =========
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".