You need to code them yourself in your servlet/jsp.

response.setStatus(HttpServletResponse.SC_MOVED_PERMANENTLY);
response.addHeader("Location", "/more/cowbell.jsp");

-Tim


Lyndon Smith wrote:

Hi Allistair

I have a question for the Tomcat User Group.

I hope you don't mind me asking you because the answer should be a simple
yes or no but I can't get an answer anywhere.

I am new to the mailing list and I don't know how to submit a question to
it.

The Question:

Is it possible with Tomcat 4.1.30 running within Apache Web Server to use
301 redirects?

(If so how?)

Regards

Lyndon


----- Original Message ----- From: "Allistair Crossley" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 17, 2004 11:08 AM
Subject: [OFF TOPIC] RE: enormous loggin when starting tomcat




Your root logger might be set at debug level, or you have set debug

logging on struts. Have you got a log4j config going?

-----Original Message-----
From: koen boutsen [mailto:[EMAIL PROTECTED]
Sent: 17 November 2004 11:03
To: [EMAIL PROTECTED]
Subject: enormous loggin when starting tomcat


Hello

I'm using Tomcat 5.0.28 and I'm trying to deploy a struts application.
This application is rather large and so is my struts-config.xml file.
When tomcat starts or I restart the application, I have to
wait more than a minute (sometimes 4') before all the log
messages are done.

Does anyone have an idea what's the cause of this and how I
can resolve it ?

Thanks in advance

Koen
--
_______________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.c
om/default.asp?SRC=lycos10


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




<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE>
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com";>www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


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




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



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



Reply via email to