on 4/5/01 5:35 AM, "Matthew Dornquast" <[EMAIL PROTECTED]> wrote: > I could be wrong given I don't know the full context, but the code from the > article on this page: > http://jakarta.apache.org/velocity/ymtd/ymtd-generation.html isn't thead > safe, multiple requests coming in on different threads at the same time > would cause init() to be called multiple times. > > -Matthew Yup. I think it has already been fixed in Tomcat (along with some other problems...ie: the double locked checking as well), but that is the example that is published in Jason's Servlet book that is coming out soon so I wanted to use that because his book will be going out to hundreds of thousands of people... I'm more concerned with illustrating my point in the essay than pointing out bad generation of code because that is something that can be fairly easily fixed. -jon
- Re: 'Just say no to JSP' Earl . Stutes
- Re: 'Just say no to JSP' Jon Stevens
- Re: 'Just say no to JSP' Craig R. McClanahan
- RE: 'Just say no to JSP' Paulo Gaspar
- Re: 'Just say no to JSP' Paul Speed
- Re: 'Just say no to JSP' R... Jon Stevens
- Re: 'Just say no to JSP' R... Mel Martinez
- RE: 'Just say no to JSP' R... Carlos Gaston Alvarez
- Re: 'Just say no to JSP' R... Mel Martinez
- Re: 'Just say no to JSP' R... Matthew Dornquast
- Re: "Just say no to J... Jon Stevens
- Re: "Just say no to J... Mark T. Harris
- Re: "Just say no to J... Jon Stevens
- RE: "Just say no to J... Paulo Gaspar
- Re: "Just say no to JSP&q... Alex Fernández
- RE: "Just say no to J... Paulo Gaspar
- Re: "Just say no to JSP&q... Jon Stevens
- RE: [Fwd: Tomcat may reveal script source c... Paulo Gaspar
- Re: [Fwd: Tomcat may reveal script sour... Jon Stevens
- RE: [Fwd: Tomcat may reveal script ... Paulo Gaspar
- RE: [Fwd: Tomcat may reveal script source code by UR... Marc Saegesser