Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Manager is supposed to return plain text

Tim Downey

2004-01-14


The docs must be out of date.
It is not essential that I get text back, it just seems easier.
I can search the output for the response string that I need.

I am writing a servlet that uses an ant script. Users can use it to
stop/start their own web app, but no one else's.
I want to report the success/failure of the actions. A text response
of OK or FAILURE is all I am looking for.


***************************************************
Howdy,
You can't change the response type from HTML to plain text, it's coded
into the manager webapp. I wonder if the docs are out of date. For
tomcat 5, a number of features were added to the manager webapp, and it
could be that accidentally these responses were made into HTML rather
than plain text. Or it could have been on purpose. Which tasks are you
using, and is it essential to you that the response be in plain text?

Yoav Shapira
Millennium ChemInformatics



>-----Original Message-----
>From: Tim Downey [mailto:downeyt@(protected)]
>Sent: Tuesday, January 13, 2004 9:30 AM
>To: tomcat-user@(protected)
>Subject: Manager is supposed to return plain text
>
>I am using Tomcat 4.1.18.
>I am using an ant script to access the manager.
>The Tomcat documentation indicates that the manager app should return
>plain text with no HTML markup.
>I am receiving HTML markup.
>How do I make the manager return plain text?
>
>--
>Tim Downey
>http://www.cs.fiu.edu/~downeyt

--
Tim Downey
http://www.cs.fiu.edu/~downeyt



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.