Re: Mapping JSP's to outside of the war or expanded folder

2008-02-26 Thread emerson cargnin
r. > Making the Java dream come true. > --- > - Original Message - > From: "Johnny Kewl" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Tuesday, February 26, 20

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-26 Thread Johnny Kewl
. --- - Original Message - From: "Johnny Kewl" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, February 26, 2008 2:19 PM Subject: Re: Mapping JSP's to outsid

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-26 Thread Johnny Kewl
. --- - Original Message - From: "emerson cargnin" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, February 18, 2008 1:26 PM Subject: Re: Mapping JSP's to outside of the war or expanded folder == I dont know if this will he

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-26 Thread emerson cargnin
Still, the main issue that remains is the jsp's. We have three options here: - Creating symlinks: this solves the problem in linux. In windows we would have to copy manually or through a build script/maven extension the content from outside the project to inside the war. Always a risk to have dif

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-21 Thread Ralph Goers
We put a proxy in front of Tomcat. It serves all the static content. emerson cargnin wrote: Well, I said at the beginning that I'm not a big fan of this approach, but I understand the reasons behind it and the difficulties it would have to change it. Other reason for using this approach is when

RE: Mapping JSP's to outside of the war or expanded folder

2008-02-21 Thread Caldarale, Charles R
> From: emerson cargnin [mailto:[EMAIL PROTECTED] > Subject: Re: Mapping JSP's to outside of the war or expanded folder > > Other reason for using this approach is when you have a great amount > of static content, like images. One would normally package a large amount of sta

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-21 Thread Tim Funk
It got rolled back due to some vetos. (Hence the if your brave comment). See the dev list for details. The patch itself works fine. -Tim emerson cargnin wrote: Thanks Tim. Do you know if this will be included on next release of tomcat6? regards emerson On 19/02/2008, Tim Funk <[EMAIL PROTEC

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-21 Thread emerson cargnin
t;[EMAIL PROTECTED]> wrote: > > From: emerson cargnin [mailto:[EMAIL PROTECTED] > > Subject: Re: Mapping JSP's to outside of the war or expanded folder > > > > and... any idea on how to map to the jsp's outside? > > Nobody ever need it? how do people migrat

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-21 Thread emerson cargnin
Thanks Tim. Do you know if this will be included on next release of tomcat6? regards emerson On 19/02/2008, Tim Funk <[EMAIL PROTECTED]> wrote: > If you are brave ... you can apply this patch: > > http://svn.apache.org/viewvc?view=rev&revision=575332 > > -Tim > > > emerson cargnin wrote: > > This

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-21 Thread emerson cargnin
Well, i don't really see the difference regarding security of having the jsp's separated or not. Even with the JSP's inside the war, once expanded you could change a JSP without that been detected anyway. On 20/02/2008, Ralph Goers <[EMAIL PROTECTED]> wrote: > Right. > > The only way access to

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-19 Thread Ralph Goers
Right. The only way access to your servers is "totally strict" is if they have no network connection and no human input devices connected. However, in the "spirit" in which you probably meant this, I will have to point out that if your web apps are running on the internet then what you are re

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-19 Thread Tim Funk
If you are brave ... you can apply this patch: http://svn.apache.org/viewvc?view=rev&revision=575332 -Tim emerson cargnin wrote: This is not really an issue for me, as the access to the servers are totally strict and... any idea on how to map to the jsp's outside? Nobody ever need it? how do

RE: Mapping JSP's to outside of the war or expanded folder

2008-02-19 Thread Caldarale, Charles R
> From: emerson cargnin [mailto:[EMAIL PROTECTED] > Subject: Re: Mapping JSP's to outside of the war or expanded folder > > and... any idea on how to map to the jsp's outside? > Nobody ever need it? how do people migrate from resin then? Nobody needs it because it&#

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-19 Thread emerson cargnin
This is not really an issue for me, as the access to the servers are totally strict and... any idea on how to map to the jsp's outside? Nobody ever need it? how do people migrate from resin then? On 19/02/2008, Ralph Goers <[EMAIL PROTECTED]> wrote: > emerson cargnin wrote: > > We use windows on

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-19 Thread Ralph Goers
emerson cargnin wrote: We use windows on the dev workstatios and unix (SunOS 5.10 Generic_120011-14 sun4v sparc SUNW,Sun-Fire-T200) on dev/qa/production servers. We use Java 5 and we are migrating to tomcat 5.5 or 6. Ralph, why do you say it's dangerous? Even if it doesn't have java code, it wou

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-19 Thread emerson cargnin
to work with things like AlFresco, and not having > any logic other than minimal presentational logic in the view layer. > > -Original Message- > From: Ralph Goers [mailto:[EMAIL PROTECTED] > Sent: 18 February 2008 17:37 > To: Tomcat Users List > Subject: Re: Mapping JSP

RE: Mapping JSP's to outside of the war or expanded folder

2008-02-18 Thread philip.coates
pping JSP's to outside of the war or expanded folder We have a similar need. But doing this with JSPs is very dangerous since they can have java code within them. Instead, using a templating language like Velocity would seem to be a mucn better approach. emerson cargnin wrote: > The

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-18 Thread Ralph Goers
We have a similar need. But doing this with JSPs is very dangerous since they can have java code within them. Instead, using a templating language like Velocity would seem to be a mucn better approach. emerson cargnin wrote: The policy of our company is to deploy the jsp's separated from the

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-18 Thread David Brown
In the future to get the gurus to reply supply more info about your systems overall (OS, JDK, TC version, hardware, network topology, etc.). If you are running a NIX box you could possibly create some soft links in the directories you have named below. I have not tried something like that nor ha

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-18 Thread emerson cargnin
The policy of our company is to deploy the jsp's separated from the war file, to allow a finer grained control over deployment. I'm not very fan of it, but it's something I won't be able to change. So I need a way to point the following URL's to another place in the file system. http://server/[cont

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-18 Thread David Brown
Once the .war is expanded why would you want to map to JSPs outside of the file system package? emerson cargnin wrote .. > Hi there > > We use resin here in my work. Resin allows in its web.xml an element like: > > > /jsp/* > c:/resin/resin-2.1.4/apps/ucs/ > > > > > > Thi

Mapping JSP's to outside of the war or expanded folder

2008-02-18 Thread emerson cargnin
Hi there We use resin here in my work. Resin allows in its web.xml an element like: /jsp/* c:/resin/resin-2.1.4/apps/ucs/ This can also be used in resin.conf, amking the war more portable. Now we are starting a migration to tomcat. But as far as I know TC doesnt not allow