You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Meir Yanovich <me...@gmail.com> on 2009/03/17 09:36:40 UTC
can i define jsp directory order from witch tomcat will look first ?
Hello all
i have web project in war file with directory structure in witch i have the
jspMain directory where all my jsps are
and the links all pointing to it , but now i have customized pages that i
like to put in new directory called jspXXX
and i like tomcat to look in this directory first and if it finds the jps
there it will always call it from there .
can it be done in tomcat ?
Re: can i define jsp directory order from witch tomcat will look
first ?
Posted by Pid <p...@pidster.com>.
Meir Yanovich wrote:
> Hello all
> i have web project in war file with directory structure in witch i have the
> jspMain directory where all my jsps are
> and the links all pointing to it , but now i have customized pages that i
> like to put in new directory called jspXXX
> and i like tomcat to look in this directory first and if it finds the jps
> there it will always call it from there .
> can it be done in tomcat ?
If you are directly accessing the JSP, then no.
The directory it's in is part of the path it is accessed by, so if you
put it in a different directory then it would not be available under the
original path.
If access to the JSPs is managed by a controller, (in your own
application), of some sort, then you need to modify the controller to
look in the new location - this is expressly not something that Tomcat
would do.
p
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Rotating catalina.out in tomcat 6.x
Posted by Jim Goodspeed <go...@gmail.com>.
Since I can't get my development team to NOT log to catalina.out I just
script it:
cp -a $logdir/catalina.out $logdir/catalina.out-`date +%Y-%m-%d`
> $logdir/catalina.out
On Tue, Mar 17, 2009 at 9:16 AM, Mark Thomas <ma...@apache.org> wrote:
> André Warnier wrote:
> > Ghufran wrote:
> >> I am using tomcat 6.0.18 on RHEL 5. Please tell me how to rotate the
> >> catalina.out log file.
> >>
> > Some simple nice polite innocent question like that, yet so perfect for
> > triggering a huge ranting thread..;-)
>
> Or just ignoring it since the OP hijacked the thread.
>
> Mark
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Rotating catalina.out in tomcat 6.x
Posted by Mark Thomas <ma...@apache.org>.
André Warnier wrote:
> Ghufran wrote:
>> I am using tomcat 6.0.18 on RHEL 5. Please tell me how to rotate the
>> catalina.out log file.
>>
> Some simple nice polite innocent question like that, yet so perfect for
> triggering a huge ranting thread..;-)
Or just ignoring it since the OP hijacked the thread.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Rotating catalina.out in tomcat 6.x
Posted by André Warnier <aw...@ice-sa.com>.
Ghufran wrote:
> I am using tomcat 6.0.18 on RHEL 5.
> Please tell me how to rotate the catalina.out log file.
>
Some simple nice polite innocent question like that, yet so perfect for
triggering a huge ranting thread..;-)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Rotating catalina.out in tomcat 6.x
Posted by Ghufran <gh...@vopium.com>.
Hi
I am using tomcat 6.0.18 on RHEL 5.
Please tell me how to rotate the catalina.out log file.
Regards
Ghufran