Matt,
Yes, you should be able to compile them too. That is what I do. Are you using
Ant to build stuff? Am attaching my build.xml and you should be able to see
what classpath stuff I use...targets jspc and compileJSPs. The graniteClient is
our own stuff - I think you should only need servlet.jar, jasper.jar, struts.jar
and any other dependancies.
Cheers,
Dave
PS Do you get any output from your jspc step? I had great trouble figuring out
what I needed as I couldn't get any output!
(See attached file: build.xml)
Matt Raible <[EMAIL PROTECTED]> on 09/04/2001 06:44:04
AM
Please respond to [EMAIL PROTECTED]; Please
respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc: (bcc: David Hay/Lex/Lexmark)
Subject: tomcat's jasper compiler and jspc
I am using jspc to pre-compile my struts-based jsps. I can pre-compile them
just fine and they get placed in the appropriate directories. What I'm
wondering is if I can "compile" them (convert them to *.class files) as well -
so my appserver doesn't have to do this at runtime?
I tried using javac with jasper.jar and tomcat_util.jar (from tc 3.3.1b1) in my
classpath, but all kinds of errors occur. I know my jsp's are fine because
they compile and run great when I run my app from the browser.
Thanks,
Matt
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com