VVS & BSF & tomcat

2007-01-03 Thread Markus Auchmann
Hi, I have a problem when I try to invoke BSF from java using the velocity view servlet. When I compile my java file everything works fine and when I try to invoke BSF from velocity without the use of the servlet it also works. But when I add this code (using VVS & tomcat) I get an error when sta

Re: VVS & BSF & tomcat

2007-01-03 Thread Nathan Bubna
This doesn't appear to have anything to do with BSF. It just looks like your "Guestbook" class is not visible to the application when running in Tomcat. How are you deploying the app to Tomcat? Is your Guestbook class in a jar? If so, is that jar getting put in the webapp's WEB-INF/lib folder?

RE: VVS & BSF & tomcat

2007-01-03 Thread Markus Auchmann
; From: Nathan Bubna [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 03, 2007 5:05 PM > To: Velocity Users List > Subject: Re: VVS & BSF & tomcat > > This doesn't appear to have anything to do with BSF. It just looks > like your "Guestbook" class is n

Re: VVS & BSF & tomcat

2007-01-03 Thread Nathan Bubna
rmally when the newEntry method prints the values the guestbook class is visible to tomcat. > -Original Message- > From: Nathan Bubna [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 03, 2007 5:05 PM > To: Velocity Users List > Subject: Re: VVS & BSF & tomcat &g

RE: VVS & BSF & tomcat

2007-01-03 Thread Markus Auchmann
y Users List > Subject: Re: VVS & BSF & tomcat > > Hmm. Our ant scripts are pretty tailored to our example apps. Still, > i assume that means you are deploying the app as a WAR. If you open > up the WAR that is created, you should be able to look in the > WEB-INF/lib