BY ANY BEANS NECESSARY!

2001-03-27 Thread Arif Tayebali
Does anyone know where to place JavaBeans in Tomcat?? And how do I reference these Beans from JSP pages?? And are these beans are to be saved as .class files?? Tomcat is located at D:\Tomcat Webapps is located at D:\webpage\jsp I have compiled my Beans and placed them in the D:\Tomcat

BY ANY BEANS NECESSARY!

2001-03-28 Thread Arif Tayebali
Does anyone know where to place JavaBeans in Tomcat?? And how do I reference these Beans from JSP pages?? And are these beans are to be saved as .class files?? Tomcat is located at D:\Tomcat Webapps is located at D:\webpage\jsp I have compiled my Beans and placed them in the D:\Tomcat\

Re: BY ANY BEANS NECESSARY!

2001-03-27 Thread Kris Gonzalez
you can put them anywhere, as long as the directory they are located in is in Tomcat's classpath ...reference them using the directive in your JSPs... Arif Tayebali wrote: > Does anyone know where to place JavaBeans in Tomcat?? > And how do I reference these Beans from JSP pages?? > And are the

Re: BY ANY BEANS NECESSARY!

2001-03-27 Thread Jeff Turner
Hi, Try putting your class in a package. I'm not sure whether servlet containers like Tomcat are required to honour the "default" package. You're on the right track though. --Jeff On Tue, Mar 27, 2001 at 06:39:27PM -0800, Arif Tayebali wrote: > > Does anyone know where to place JavaBeans in T

RE: BY ANY BEANS NECESSARY!

2001-03-28 Thread Stefán F. Stefánsson
EMAIL PROTECTED]' Subject: BY ANY BEANS NECESSARY! Importance: High Does anyone know where to place JavaBeans in Tomcat?? And how do I reference these Beans from JSP pages?? And are these beans are to be saved as .class files?? Tomcat is located at D:\Tomcat Webapps is located at D:\webpage\jsp

Re: BY ANY BEANS NECESSARY!

2001-03-28 Thread Kevin Sangeelee
On Wed, 28 Mar 2001, Arif Tayebali wrote: > Does anyone know where to place JavaBeans in Tomcat?? > And how do I reference these Beans from JSP pages?? > And are these beans are to be saved as .class files?? > Make sure your beans are in a package, and that they are instantiated on the JSP page

RE: BY ANY BEANS NECESSARY!

2001-03-28 Thread Arif Tayebali
Do instantiate a bean with: <%@ import="/webapps/myapp/WEB-INF/classes/com/mydomain/TimeBean.class" %> LMK -Original Message- From: Kevin Sangeelee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 12:38 PM To: '[EMAIL PROTECTED]' Subject: Re: BY

RE: BY ANY BEANS NECESSARY!

2001-03-28 Thread Tom Horn
LMK > > -Original Message- > From: Kevin Sangeelee [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 28, 2001 12:38 PM > To: '[EMAIL PROTECTED]' > Subject: Re: BY ANY BEANS NECESSARY! > > > On Wed, 28 Mar 2001, Arif Tayebali wrote: > > >

RE: BY ANY BEANS NECESSARY!

2001-03-28 Thread Arif Tayebali
]] Sent: Wednesday, March 28, 2001 4:47 PM To: [EMAIL PROTECTED] Subject: RE: BY ANY BEANS NECESSARY! Are you saying that the bean will not be loaded if it is not in a package?! Thanks,gp --- Arif Tayebali <[EMAIL PROTECTED]> wrote: > Do instantiate a bean with: > > <%@ import=&

RE: BY ANY BEANS NECESSARY!

2001-03-29 Thread Kevin Sangeelee
; From: Tom Horn [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 28, 2001 4:47 PM > To: [EMAIL PROTECTED] > Subject: RE: BY ANY BEANS NECESSARY! > > > Are you saying that the bean will not be loaded if it > is not in a package?! > Thanks,gp > > --- Arif Tayebali &