tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arvind Srinivasan <arvind.sriniva...@sun.com>
Subject Re: $ in JSP names
Date Mon, 15 Jul 2002 19:48:18 GMT


"Craig R. McClanahan" wrote:
> 
> On Mon, 15 Jul 2002, Kin-Man Chung wrote:
> 
> > Date: Mon, 15 Jul 2002 11:55:15 -0700 (PDT)
> > From: Kin-Man Chung <Kin-Man.Chung@Eng.Sun.COM>
> > Reply-To: Tomcat Developers List <tomcat-dev@jakarta.apache.org>,
> >      Kin-Man Chung <Kin-Man.Chung@Eng.Sun.COM>
> > To: tomcat-dev@jakarta.apache.org
> > Subject: Re: $ in JSP names
> >
> > I totally agree that the use of $ in a file name is a pain in the neck.
> > In fact, I don't see the need for appending a "$jsp" at all.  Currently
> > we have the following mapping:
> >
> >       jsp file name: foo.jsp
> >       class name: foo$jsp
> >       servelt file name: foo$jsp.java
> >       class file name: foo$jsp.class
> >
> > I think it'd be perfectly OK to use the following mapping:
> >
> >       jsp file name: foo.jsp
> >       class name: foo
> >       servelt file name: foo.java
> >       class file name: foo.class
> >
> 

I thought the reason for appending something ($jsp or _jsp) was to
prevent errors in the generated java files for jsp filenames that use
one of java's keywords - default.jsp or new.jsp.

-Arvind

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message