RE: JSP and standard Java Beans

2001-02-15 Thread Morahg, Yoav

I'm not a Tomcat guru -- so someone please correct me if I'm wrong, but you
should be able to put your beans in the WEB-INF/classes directory. JSPs can
go under your webapp, but not in the WEB-INF directory as this directory is
forbidden for client access.

Hope this helps.

-Yoav

-Original Message-
From: Paul Hunnisett [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 9:23 AM
To: [EMAIL PROTECTED]
Subject: FW: JSP and standard Java Beans



Does anyone have any ideas?  Is this possible?
-Original Message-
From: Paul Hunnisett [mailto:[EMAIL PROTECTED]]
Sent: 15 February 2001 12:37
To: [EMAIL PROTECTED]
Subject: JSP and standard Java Beans


IS there anyway to run just JSP/Servlets and standard Java Beans without
having to jar/war the files?  It seems like such a hassle to do that just to
run a few servlets with a couple of basic beans.  Where would the beans be
installed?  Where would I put my JSPS?

Paul Hunnisett


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

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




RE: JSP and standard Java Beans

2001-02-15 Thread Michael Wentzel

 Do I not still need to put all this in a .war file?  Is there 
 no way of just
 putting my JSPs in one directory and my beans in another and 
 just set them
 running?

Nope!  A perfect is example is the examples
webapp(TOMCAT_HOME/webapps/examples/).
Classes are expanded out into their packages in WEB-INF/classes and JSPs
are in the /jsp/ tree.  No need to package up anything.  WARs are simply for
easily distributing an entire app in one swoop.

---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
mailto:[EMAIL PROTECTED]

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