Re: Re[2]: AW: AW: set content type to text/pdf

2002-06-21 Thread Constantin Wolber

Freitag, 21. Juni 2002 11:10 schrieb Alex:
   Tiparire.class is not part of any package.
   Tomcat starts ok, but, when i'm trying to access the location
   servlet/Tiparire.pdf, it says:

Hi,

cause your using a servlet Mapping and your servlet is in the ROOT 
Context you have to leave the servlet in servlet/Tiparire.pdf away

You should reach your servlet by connecting to this URL

http://yourserver:8080/Tiparire.pdf

Cu

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




Ideas for a wrapper for ManagerServlet

2002-05-31 Thread Constantin Wolber

Hi,

ok my tomcat is working fine. Now I want to code a Servlet for the Manager 
APP. The problem is that I can href to the manager app but then everybody 
would be able to use the complete manager app, since either the username and 
password would be hardcoded into the href attribute or I would have to add 
every user to the tomcat manager role.
My question is, is there a possibility to programm a forward into a servlet 
which doesn't use an relative url but an absolute?
As far as i know the RequestDispatcher works only for relative URLs. But I 
need this for absolute URLs.

Cu

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




Re: Create the webapp DSO

2002-05-31 Thread Constantin Wolber

Freitag, 31. Mai 2002 23:19 schrieb [EMAIL PROTECTED]:
 Hi -

 I am trying to get Apache 2x working with Tomcat 4x on HP-UNIX.  I
 downloaded jakara-tomcat-connectors-4.0.2-01-src.tar and am trying to
 create the webapp DSO.
 I am getting the following error.  What are APR sources?  Where can I find
 them?

the apr sources are the apache runtime sources.

How to get those is described in the README.txt in the jakarta-tomcat...
directory

Cu

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




Re: Create the webapp DSO

2002-05-31 Thread Constantin Wolber

Samstag, 1. Juni 2002 00:09 schrieb [EMAIL PROTECTED]:
 I downloaded the apache 2x and tomcat 4.0.3 binaries. I got both running
 fine in stand alone mode (ie..pulling sample pages).  I downloaded the
 tomcat connectors tar.

 I ran the following script:

cd ${TOMCAT_CONNECTORS_SRC_HOME}/webapp
  chmod +x support/*.sh
  ./support/buildconf.sh
  ./configure --with-apxs=${APACHE_HOME}/bin/apxs
  make

Hi Paula,

I understood your question the {TOMCAT_CONNECTORS_SRC_HOM}/webapp/README.txt 
states:

we need to download the
APR (Apache Portable Runtime) sources. To do this simply:

cd ./jakarta-tomcat-connectors/webapp
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic \
checkout apr

When the APR sources are in place, we need to create the configure
script, configure both APR and the WebApp module and compile:

./support/buildconf.sh


This is what I had to do before I could compile the connectors.

Hope that helps

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




mod_userdir for Tomcat

2002-05-30 Thread Constantin Wolber

Hi,

this is probably a newbie question, but anyway is there a possiblity to have 
tomcat do the same thing as apache does with mod userdir?

I want to give every user on my server the chance of creating a directory 
like public_tomcat and place their webapps in there. And tomcat should 
automatically detect those directories and deploy these webapps.

Probably gets a little complicated because of the deploxment

Any ideas?

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