RE: deleting JSP Files?

2003-07-01 Thread Edward See \(magicaLogic\)

the way I do it, i place as much java codes as possible (scriplets in jsp)
inside javabeans.

javabeans are distributed as .class files no need for .java files.

in jsp files, minimal scriptlets that are unavoidable.
jsp session variables need java processing too, so those variables are
inside javabeans too.

hope this helps.

best regards,
Edward See , [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
magicaLogic
Software Engineering
Direct line.: (632) 938-0402

Love people, not things. Use things, not people.



-Original Message-
From: Thomas Weller [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 5:25 PM
To: [EMAIL PROTECTED]
Subject: deleting JSP Files?


Hello,

I have a JSP Project I want to deliver on CD. Of course I don't want to
provide all sources, so I decided only to include class-files.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deleting JSP Files?

2003-07-01 Thread Tim Funk
Have have put the mappings of the class files to your jsp's in your web.xml? 
JSPC should provide a mechanism to give you a snippet of XML to place in 
web.xml. That needs to be there for precompiling to work.

-Tim

Thomas Weller wrote:
Hello,

I have a JSP Project I want to deliver on CD. Of course I don't want to
provide all sources, so I decided only to include class-files.
I precompiled all JSP files to class files and then deleted the JSP
files. Unfortunately, this does not seem to work. Tomcat generates a
file not found error. Second, I compiled the JSPs and then overwrite
each of them with a single whitespace character. Even if Tomcat runs on
a write protected medium (with just access to the TEMP directory), it
displays a blank page then. How can that be? I thought that Tomcat would
use the class-files, if they exist.
Any suggestions?
My setting is autoDeploy=false.

Thanks,

Thomas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]