[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] JSP problem
- Subject: Re: [cobalt-users] JSP problem
- From: "Jean-Baptiste Bugeaud" <bjb3@xxxxxxxxxx>
- Date: Sun May 27 06:55:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi,
the WAR structure is the key for everything ;-)
Place any WAR compliant application (zipped or not) into the webapps folder
of Tomcat, run it and voila !
The WAR structure define a easy and secured way to deploy the JSP + servlet,
the root of the structure contain the documents files
a special forlder : WEB-INF contain web informations :
- servlets : WEB-IN/classes
- classes : WEB-INF/classes
- librairies requested : WEB-INF/lib
- parameters : WEB-INF/web.xml
You may use RADAR (see sourceforge) to customize (for instance JDBC or JNDI
urls ) the webapp once deployed !
If you got trouble to allow a user to store files in the webapp, why not
simply make a symlin for a special webapp to the home dir of that user :
./tomcat/webapps/foo-app
to
~/webapps/foo-app
Once done, ask the user to give access to the tomcat process (look at the
owner) to his folder !
Have a look at javaworld and javasoft on the WAR topic for details ...
Regards,
--
Jean-Baptiste Bugeaud
http://www.up2go.net - Ease your click !
----- Original Message -----
From: "ls Multani " <lsmultani@xxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Saturday, May 26, 2001 8:38 PM
Subject: [cobalt-users] JSP problem
>
>
> Dear Friends,
>
> I have installed Tomcat sucessfully on my system which is already running
Apache on Linux.
>
> I have a site "site1" which needs JSP execution. I am not able to
understand where should I put JSP files. I can't allow that user to put
files in examples directory.
>
> where should I allow this site user to put JSP and servlets.
>
> Can u help me where should I put my Jsp files.
>
> thanks and regards
>
> Lucky
>
>
>
>
>
> _____________________________________________________
> Chat with your friends as soon as they come online. Get Rediff Bol at
> http://bol.rediff.com
>
>
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users