Re: Second Try: Can anyone explain this?

2004-06-16 Thread Wade Chandler
esday, June 16, 2004 3:21 PM To: Tomcat Users List Subject: Re: Second Try: Can anyone explain this? It a 1.4 JVM thing (not 1.3) Consider class Cowbell in package more. file: Cowbell.java -- package more; import Fever public class Cowbell { } Then consider a class called Fever with

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Shapira, Yoav
t;Sent: Wednesday, June 16, 2004 3:21 PM >To: Tomcat Users List >Subject: Re: Second Try: Can anyone explain this? > >It a 1.4 JVM thing (not 1.3) > > >Consider class Cowbell in package more. > >file: Cowbell.java >-- >package more; >import Fever &g

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Jérôme Duval
omcat Users List Subject: Re: Second Try: Can anyone explain this? It a 1.4 JVM thing (not 1.3) Consider class Cowbell in package more. file: Cowbell.java -- package more; import Fever public class Cowbell { } Then consider a class called Fever without a package. file: Fever

Re: Second Try: Can anyone explain this?

2004-06-16 Thread Tim Funk
It a 1.4 JVM thing (not 1.3) Consider class Cowbell in package more. file: Cowbell.java -- package more; import Fever public class Cowbell { } Then consider a class called Fever without a package. file: Fever.java -- public class Fever { } Now try to compile them. The compil

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Shapira, Yoav
6, 2004 3:18 PM >To: 'Tomcat Users List' >Subject: RE: Second Try: Can anyone explain this? > >I have xalan installed. Could I use it to accomplish the same thing (which >all the page appears to be doing is reading in an xsl file and translating >it to a jsp). > >--

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Worley Brent - bworle
List Subject: RE: Second Try: Can anyone explain this? Hi, Oh well, that was worth a shot. You did the two steps I suggested, it didn't work, that's too bad. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Worley Brent - bworle [mailto:[EMAIL

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Shapira, Yoav
>To: 'Tomcat Users List' >Subject: RE: Second Try: Can anyone explain this? > >Yoav, > >Thanks for your suggestion. It at least got me a little further. However, >now I'm getting this error: > >org.apache.jasper.JasperException: /search.jsp(56,2) Unabl

Re: Second Try: Can anyone explain this?

2004-06-16 Thread Jérôme Duval
>Then your out of luck. The java from a JSP page is always placed into >a package. Becuase of this, you can't have packageless classes. Tim, perhaps I don't understand what you are saying correctly, but I have no trouble using classes that are not in a package in my application. Once I am done dev

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Worley Brent - bworle
g: taglib> 0.0 1.0 acx xslt org.apache.jasper.Xslt jsp ... Is there anything else that needs to be changed? Thanks Brent -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 1:41 PM To: Tomcat Users List Subject: RE: Second Try: Can anyone

Re: Second Try: Can anyone explain this?

2004-06-16 Thread Filip Hanik - Dev
x27;" <[EMAIL PROTECTED]> Sent: Wednesday, June 16, 2004 1:12 PM Subject: RE: Second Try: Can anyone explain this? > so it's still not packaged then? (it *must* be). > > > > -Original Message- > > From: Worley Brent - bworle [mailto:[EMAIL PRO

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Shapira, Yoav
;Tomcat Users List' >Subject: RE: Second Try: Can anyone explain this? > >Is it possible to extract the class files and give them a "package-like" >structure without the keyword package being in the code? > >For example, there are 3 .class files in the jar. Could

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Worley Brent - bworle
ory and use a import Xslt.*? I'm fairly new to Java and do not know if this hack would work. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 1:24 PM To: Tomcat Users List Subject: Re: Second Try: Can anyone explain this? Then your out of

Re: Second Try: Can anyone explain this?

2004-06-16 Thread Tim Funk
Then your out of luck. The java from a JSP page is always placed into a package. Becuase of this, you can't have packageless classes. You alternative is to hack jasper to not use the package statement but doing so will be harder than fixing your code. -Tim Worley Brent - bworle wrote: Someone

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Worley Brent - bworle
>Someone told you to put JspXslt.class in a package, IIRC. I think >that's the problem. Repackage the jar if you have to, for testing >purposes, and change the TLD to refer to the class by whatever package >you put it in, e.g. com.foo.bar.JspXslt. The problem is the files in Xslt.jar are not our

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Mike Curwen
so it's still not packaged then? (it *must* be). > -Original Message- > From: Worley Brent - bworle [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 16, 2004 1:07 PM > To: 'Tomcat Users List' > Subject: RE: Second Try: Can anyone explain this? > >

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Shapira, Yoav
o:[EMAIL PROTECTED] >Sent: Wednesday, June 16, 2004 1:05 PM >To: Tomcat Users List >Subject: Re: Second Try: Can anyone explain this? > > >And I answered it here: >http://marc.theaimsgroup.com/?l=tomcat-user&m=108723827315299&w=2 > >-Tim > >Worley Brent - bwor

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Worley Brent - bworle
Tried that and got the same error. This is what I did jar -xf Xslt.jar JspXslt.class Moved JspXslt.class to WEB-INF/classes No change. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 1:05 PM To: Tomcat Users List Subject: Re: Second Try: Can

Re: Second Try: Can anyone explain this?

2004-06-16 Thread Tim Funk
And I answered it here: http://marc.theaimsgroup.com/?l=tomcat-user&m=108723827315299&w=2 -Tim Worley Brent - bworle wrote: I posted this earlier and received a few leads on what to do, but nothing worked. I'm hoping a second look and explanation will help. The page that is causing the error (sear

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Shapira, Yoav
Hi, Someone told you to put JspXslt.class in a package, IIRC. I think that's the problem. Repackage the jar if you have to, for testing purposes, and change the TLD to refer to the class by whatever package you put it in, e.g. com.foo.bar.JspXslt. Yoav Shapira Millennium Research Informatics