Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-19 Thread Markus Stauffer
ok thanks :) On Mon, Oct 19, 2009 at 5:05 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Markus, > > On 10/19/2009 10:59 AM, Markus Stauffer wrote: >> with trimWhiteSpaces set to true: >> ${firstName} ${name} produces firstNamename without spaces in the html

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Markus, On 10/19/2009 10:59 AM, Markus Stauffer wrote: > with trimWhiteSpaces set to true: > ${firstName} ${name} produces firstNamename without spaces in the html > ${firstName}${' '}${name} produces firstName name with spaces in the html > > If the

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-19 Thread Markus Stauffer
with trimWhiteSpaces set to true: ${firstName} ${name} produces firstNamename without spaces in the html ${firstName}${' '}${name} produces firstName name with spaces in the html If the second behaviour changes I have to reedit all my jsp files. On Mon, Oct 19, 2009 at 4:49 PM, Christopher Schul

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Markus, On 10/17/2009 2:52 AM, Markus Stauffer wrote: >> >>private final String emptyText = new String(""); >> >> Anyhow, it probably makes sense to change the "emptyText" string from "" >> to " " (that is, use a space instead of nothing). >>

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-19 Thread Curtis Garman
what about doing would this retain the spaces or would it be identical to ${firstName} ${lastName} On Fri, Oct 16, 2009 at 11:01 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Curtis, > > On 10/16/2009 11:50 AM, Curtis Garman wrote: >> Hmm...Christopher,

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-19 Thread Curtis Garman
Markus, why would it produce two spaces? On Sat, Oct 17, 2009 at 1:52 AM, Markus Stauffer wrote: >> >>       private final String emptyText = new String(""); >> >> Anyhow, it probably makes sense to change the "emptyText" string from "" >> to " " (that is, use a space instead of nothing). >> >>

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-16 Thread Markus Stauffer
private final String emptyText = new String(""); Anyhow, it probably makes sense to change the "emptyText" string from "" to " " (that is, use a space instead of nothing). This bugzilla entry might be interesting to you: https://issues.apache.org/bugzilla/show_bug.cgi?id=45931 Chan

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Curtis, On 10/16/2009 11:50 AM, Curtis Garman wrote: > Hmm...Christopher, thanks for the post...that's good info...as long as > I know a little more about it, I'm ok with turning it off...my > understanding was that it's purpose was to just remove emp

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-16 Thread Curtis Garman
Hmm...Christopher, thanks for the post...that's good info...as long as I know a little more about it, I'm ok with turning it off...my understanding was that it's purpose was to just remove empty lines (that result from include directives and such) from the response...which is my main reason for wan

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Curtis, On 10/16/2009 9:49 AM, Curtis Garman wrote: > That's what I ended up doing and I believe that took care of it...but > I figured if it is an apache recommended setting that it should also > work :) Well, it does work... just not the way you ex

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-16 Thread Curtis Garman
That's what I ended up doing and I believe that took care of it...but I figured if it is an apache recommended setting that it should also work :) Curtis On Thu, Oct 15, 2009 at 3:54 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Curtis, > > On 10/13/2009 5:

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Curtis, On 10/13/2009 5:08 PM, Curtis Garman wrote: > Has anyone else experienced loosing spaces between printing jstl > variables. I've got something that is printing > > ${firstName} ${lastName} --> Curtis Garman > > but instead the space in betw

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-15 Thread Curtis Garman
Hmm...yeah or I could do ${firstName} ${lastName} or something but the problem is the solution is only treating the symptom and not the cause...and therefore I don't know how to determine when and where it might happen in the future...I just happened to spot it this time and would be able to hack i

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-15 Thread Markus Stauffer
My suggestion: set trimSpace to true on both servers. Then use ${firstName}{' '}${lastName} regards Am 13.10.2009 um 23:08 schrieb Curtis Garman: Has anyone else experienced loosing spaces between printing jstl variables. I've got something that is printing ${firstName} ${lastName} --> Cur

tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-13 Thread Curtis Garman
Has anyone else experienced loosing spaces between printing jstl variables. I've got something that is printing ${firstName} ${lastName} --> Curtis Garman but instead the space in between the two names is getting lost so it prints as CurtisGarman The wierd thing is that it displays just fine o