I understand what you mean but where the jsp file should be

Edoardo Panfili <[EMAIL PROTECTED]> wrote:  marju jalloh ha scritto:
>  Hi everyone
>   I`m using Tomcat 4.1.* on Linux .All my servlet and jsp work fine including 
> the interaction with mysql database.
>   
>   Now I want to test a simple Bean but my jsp cannont find the Bean.
>   Where to place the jsp file?
>   How to direct the jsp file where to find the bean?
>     
>   I used this but it did not find the bean
I am using 5.x and I have no problem with the beans.

Put the class in WEB-INF/classes
if the fully qualified name is com.try.Bean
put it in WEB-INF/classes/com/try/

then in JSP use


it works for me
Edoardo


-- 
[EMAIL PROTECTED]
AIM: edoardopn
Jabber: [EMAIL PROTECTED]
tel:075 9142766

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




                
---------------------------------
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, 
whatever.

Reply via email to