Hi Vishal and Juan, I had the same problem Juan now has.
My code worked when I included my class file in a Package and made no other changes. I changed : <jsp:useBean id="ClassFileName" scope="page" class="ClassFileName"> to : <jsp:useBean id="ClassFileName" scope="page" class="Packagename.ClassFileName"> and it worked. Juan did u include package packagename; in ur java files and recompiled them. This might help. Thanks Srinivas >===== Original Message From "Vishal" <[EMAIL PROTECTED]> ===== >Hi Juanjo ... > to use java beans with Jsp's u just have to put all u'r java beans that >r nothing but the class files within u'r classes floder .... if u'r using >some pakage then u can put u'r java beans in that package under the classes >floder of the Tomcat ... > >u have to call that Java bean from u'r JSP file ....here i'm sending u the >code to include the beans > ><jsp:useBean id="ClassFileName" scope="page" class="ClassFileName"> ><jsp:setProperty name="ClassFileName" property="*" /> ></jsp:useBean> > > >this is perfectly working for me .. i hope u'll also get the desired result >with this ..... > >Vishal Gupta > > >----- Original Message ----- >From: "juan jose amador" <[EMAIL PROTECTED]> >To: "Tomcat Users List" <[EMAIL PROTECTED]> >Sent: Friday, May 17, 2002 4:10 PM >Subject: running JSP with Javabeans > > >Hi, > Yesterday I sent a problem running JSP with javabeans.I can run JSP >without problem but not with javaBeans and i Know the java files are well >built. The answer I received was to make a package but it does not work. >The structure of my directories is: > WEBAPPS > MYPROJECT > WEB-INF +jsp files > CLASSES > PACKAGE > here are file.class. > >Somebody can help me? >Thanks. > >JUANJO > > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
