----- Original Message ----- From: "Mark Thomas" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Sunday, May 18, 2008 7:11 PM
Subject: Re: Deploying Servlets in users directory


Johnny Kewl wrote:

----- Original Message ----- From: "Cristian Bullokles" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Saturday, May 17, 2008 10:09 PM
Subject: Deploying Servlets in users directory


Hello all,

I'm using tomcat 6.016 and have configured userconfig in server.xml to
look in user's public_html subdir for jsps etc.
Jsp files works fine in user directories but servlets do not.

Cristian I actual dont understand what it is exactly that you did configure?
"userconfig in server.xml" not sure what that is?

It is in the docs but you do need to know where to look.
http://tomcat.apache.org/tomcat-6.0-doc/config/host.html
Search for "User Web Applications"

Christian - where did you put the servlet classes, what did you put in web.xml and how did you try accessing them?

Ah thanks Mark... if he had said ~User I would have clicked....
Tried it a eons ago and I didnt like it... I think it's really only good for JSP and HTML pages. And... someone should check this... if I remember right... servlets will only work if called from a JSP page.
but not if called directly...
I think its meant for very simple user sites... maybe others can comment.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to