tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: 301 Redirect Question
Date Wed, 17 Nov 2004 11:37:41 GMT
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" <Allistair.Crossley@QAS.com>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> 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:koenboutsen@lycos.com]
>>>Sent: 17 November 2004 11:03
>>>To: tomcat-user@jakarta.apache.org
>>>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: tomcat-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>
>>
>><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: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message