Re: Simple JavaBeans applications not working (newbie question)

2005-05-09 Thread Michael Strorm
--- Wendy Smoak [EMAIL PROTECTED] wrote: Before you continue, you might shut down Tomcat and delete the 'work' directory associated with this webapp to make sure you're starting fresh. (I assume such a thing exists in version 5, I'm still using 4.1.) The work directory still exists in

Re: Simple JavaBeans applications not working (newbie question); FIXED!

2005-05-08 Thread Michael Strorm
--- Anoop kumar V [EMAIL PROTECTED] wrote: Everything works perfectly fine in your jsp and bean except that the package mentioned in your bean (Beany.java) file seems incorrect Aaawwrrgh! (Bangs head against wall several dozen times) Thank you. That was such a stupid mistake; I

Re: Simple JavaBeans applications not working (newbie question)

2005-05-08 Thread QM
On Sat, May 07, 2005 at 01:39:50PM -0400, Anoop kumar V wrote: : Another thing I noticed that you have placed your bean as a jar in the : WEB-INF/lib directory - while this works perfectly the practice is to put : custom class files in the WEB-INF/classes directory as just .class files : under

Re: Simple JavaBeans applications not working (newbie question)

2005-05-08 Thread Wendy Smoak
From: Michael Strorm [EMAIL PROTECTED] skeleton/WEB-INF/lib/subapp/Beany.class Jar files go in WEB-INF/lib. Classes go under WEB-INF/classes in a directory structure matching the package name. What package statement does Beany.java contain? org.apache.jasper.JasperException:

Re: Simple JavaBeans applications not working (newbie question)

2005-05-07 Thread Anoop kumar V
Michael, Everything works perfectly fine in your jsp and bean except that the package mentioned in your bean (Beany.java) file seems incorrect: It is: ** BEANY.JAVA package subapp; It should be: ** BEANY.JAVA package subclass; Or else an alternative is to change the folder

Re: Simple JavaBeans applications not working (newbie question)

2005-05-07 Thread Anoop kumar V
Another thing I noticed that you have placed your bean as a jar in the WEB-INF/lib directory - while this works perfectly the practice is to put custom class files in the WEB-INF/classes directory as just .class files under their respective folders (as per package declaration).. IMO the lib