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-27 Thread Qiao Jin
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; String text

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

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 bra...@gmail.com wrote: I am

RE: Inner class trouble in JSP

2009-01-24 Thread Qiao Jin
%a href=%= response.encodeURL(menu[i].pageURL) %%= menu[i].text %/a/td td class=menuSpacernbsp;/td % } % /tr -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

Re: Inner class trouble in JSP

2009-01-24 Thread Konstantin Kolinko
2009/1/24 Qiao Jin bra...@gmail.com: 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).

RE: Inner class trouble in JSP

2009-01-24 Thread Qiao Jin
: Inner class trouble in JSP 2009/1/24 Qiao Jin bra...@gmail.com: 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