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
And I answered it here:
http://marc.theaimsgroup.com/?l=tomcat-userm=108723827315299w=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
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
Subject: Re: Second Try: Can anyone explain this?
And I answered it here:
http://marc.theaimsgroup.com/?l=tomcat-userm=108723827315299w=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
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?
Tried that and got the same error
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
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
.*?
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 luck. The java from a JSP page
the
directory 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
, 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 PROTECTED]
Sent: Wednesday, June 16, 2004 1:07 PM
To: 'Tomcat Users List'
Subject: RE: Second Try: Can
PM
To: Tomcat Users List
Subject: RE: Second Try: Can anyone explain this?
Hi,
No, this wouldn't work, because the package declaration within the class
must match.
You're left looking at indirect options:
- Consider a replacement to Xslt.class (another product maybe)
- Consider contacting
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
'
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) Unable to load tag
handler class org.apache.jasper.Xslt for tag acx:xslt
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 PROTECTED]
Sent
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).
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL
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
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.java
: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 without a package.
file
, 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 without
19 matches
Mail list logo