RE: Inner class trouble in JSP

2009-01-27 Thread Qiao Jin
6:17 PM To: Tomcat Users List Subject: Re: Inner class trouble in JSP -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jin, Qiao Jin wrote: > Here is an example, a menu header JSP included in various pages: > > <%! > class MenuItem { > String pageURL;

Re: Inner class trouble in JSP

2009-01-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jin, Qiao Jin wrote: > Here is an example, a menu header JSP included in various pages: > > <%! > class MenuItem { > String pageURL; > String text; > > MenuItem(String url, String t) { >

RE: Inner class trouble in JSP

2009-01-24 Thread Qiao Jin
: Inner class trouble in JSP 2009/1/24 Qiao Jin : > I am using Tomcat 6.0.18 with JDK 1.5.0_17 on CentOS 5. I am getting a > compiling error on the following code in a jsp page that uses an inner > class. I remember I used to be able to do this with a different container > (implemen

Re: Inner class trouble in JSP

2009-01-24 Thread Konstantin Kolinko
2009/1/24 Qiao Jin : > I am using Tomcat 6.0.18 with JDK 1.5.0_17 on CentOS 5. I am getting a > compiling error on the following code in a jsp page that uses an inner > class. I remember I used to be able to do this with a different container > (implementing JSP 1.2 and JDK 1.4). > It has not

RE: Inner class trouble in JSP

2009-01-24 Thread Qiao Jin
className = "menuItemCurrent"; } %> <%= menu[i].text %>   <% } %> -Original Message- From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] Sent: Saturday, January 24, 2009 11:00 AM To: Tomcat Users List Subject: Re: Inner class trouble

Re: Inner class trouble in JSP

2009-01-24 Thread Jonathan Mast
I can't help with the inner class issue other than to say that perhaps you should move away from using inner classes in JSP totally. I don't understand how you are using these inner classes, could you please explain? On Sat, Jan 24, 2009 at 1:32 PM, Qiao Jin wrote: > I am using Tomcat 6.0

Inner class trouble in JSP

2009-01-24 Thread Qiao Jin
I am using Tomcat 6.0.18 with JDK 1.5.0_17 on CentOS 5. I am getting a compiling error on the following code in a jsp page that uses an inner class. I remember I used to be able to do this with a different container (implementing JSP 1.2 and JDK 1.4). <%! private class Test { String