Re: '_' - 0x5f and Jasper
On Sat, 7 Jul 2001, Keith Wannamaker wrote: Is there a known problem with jsp filenames containing '_'? The Jasper in jakarta-tomcat head compiles 'foo_bar.jsp' to 'foo_0005fbar.jsp' for me. Clearly there is some escaping gone awry, but surely I'm not the first to encounter this? I'm digging into it now... Keith What problem does it cause you that the escaping is done? The application should not care what the generated Java source code filenames are. Craig
RE: '_' - 0x5f and Jasper
Our build process precompiles jsps using jasper then javac from make. make expects foo_bar.jsp to be compiled to foo_bar.java in order to invoke javac on the correct file. When jasper cooks up foo_0005fbar.java, make is confused. I built a hacked jasper after I changed the mangler to not mangle '_'. Keith | -Original Message- | From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] | Sent: Tuesday, July 10, 2001 10:19 PM | To: [EMAIL PROTECTED] | Subject: Re: '_' - 0x5f and Jasper | | | On Sat, 7 Jul 2001, Keith Wannamaker wrote: | | Is there a known problem with jsp filenames containing '_'? | The Jasper in jakarta-tomcat head compiles 'foo_bar.jsp' to | 'foo_0005fbar.jsp' for me. Clearly there is some escaping | gone awry, but surely I'm not the first to encounter this? | I'm digging into it now... | Keith | | | What problem does it cause you that the escaping is done? The application | should not care what the generated Java source code filenames are. | | Craig | |
RE: '_' - 0x5f and Jasper
Hi, I'm not sure everything is ok on my systems with names containing _, but at least it looks so. I use _ at the begining of a filename to mark it as hidden, and use it only in templates / includes / etc, and they work perfectly ok. Greetings, deacon Marcus -Original Message- From: Keith Wannamaker [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 4:07 AM To: [EMAIL PROTECTED] Subject: '_' - 0x5f and Jasper Is there a known problem with jsp filenames containing '_'? The Jasper in jakarta-tomcat head compiles 'foo_bar.jsp' to 'foo_0005fbar.jsp' for me. Clearly there is some escaping gone awry, but surely I'm not the first to encounter this? I'm digging into it now... Keith