Dave, I don't - but I found the JSP in an opensource XP project (cruisecontrol - for continuous building ) and editing it in IDEA showed the problem.
Edo > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of David Smiley > Sent: 30 January 2002 18:59 > To: [EMAIL PROTECTED] > Subject: Re: [Eap-list] hoghlight errors in JSP with classes > > > You should avoid defining inner classes from within a JSP. I > don't believe any spec disallows it, but it can be a problem > when you modify the JSP and your servlet engine attempts to > reload the JSP but can't because an instance of your inner > class is hanging out somewhere --which might refer back to > the old JSP if your inner class is non-static as is the one > in your example. > > ~ Dave Smiley > > > From: "Edoardo Comar" <[EMAIL PROTECTED]> > > Date: Wed, 30 Jan 2002 14:23:20 -0000 > > > > A JSP like : > > > > <%@page contentType="text/html" > > > import="javax.servlet.jsp.*,java.io.*,java.util.*,java.text.DateFormat > > ,j > > avax.xml.transform.*,javax.xml.transform.stream.*,org.xml.sax.*" %> > > <html> > > <% > > InitData _initData = new InitData(request); > > %> > > <head><title><%=_initData.title%></title></head> > > <body> > > [***SNIP***] > > </body> > > </html> > > > > <%! > > public class InitData { > > [***SNIP***] > > %> > > > > Is highlighted with many errors because IDEA doesn't know where to > > find the InitData class > > > > Edo > > > > > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-> list > _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
