Sorry - ignore my last post, it contained the wrong link. Try this instead. Go to point 8, second bullet: http://java.sun.com/j2se/1.4/compatibility.html#incompatibilities1.4
> -----Original Message----- > From: Steve Kirk [mailto:[EMAIL PROTECTED] > Sent: Friday 22 October 2004 12:55 > To: 'Tomcat Users List' > Subject: RE: jasper error compiling jsp > > > Scroll down to point 8 under "Incompatibilities Between Java > 2 Platform, > Standard Edition, v1.4.0 and v1.3", read the second bullet. > This confirms > Alan's comments. > http://forum.java.sun.com/thread.jsp?thread=466368 > <http://forum.java.sun.com/thread.jsp?thread=466368&forum=31&m > essage=2145193 > > &forum=31&message=2145193 > > -----Original Message----- > From: Flisch, Alan [mailto:[EMAIL PROTECTED] > Sent: Friday 22 October 2004 12:23 > To: Tomcat Users List > Subject: RE: jasper error compiling jsp > > > I wouldn't think so. The changes necessary to the app are > likely to be > pretty trivial, although you never know what else might be > lurking in there. > > -----Original Message----- > From: Sarath PS [mailto:[EMAIL PROTECTED] > Sent: 22 October 2004 11:06 > To: Tomcat Users List > Subject: Re: jasper error compiling jsp > > > Thanks alan, > > So you say it's not possible to run the app in my current > configuration > ? (tomcat 4, j2sdk1.4.2_03) > > regards, > Sarath > > Flisch, Alan wrote: > > It's not Tomcat that is objecting, its javac, the java > compiler. Perhaps > some other version of the compiler was more forgiving at some > point. I > think getting the application fixed somehow, is your best option. > > > > -----Original Message----- > > From: Sarath PS [mailto:[EMAIL PROTECTED] > > Sent: 22 October 2004 09:43 > > To: Tomcat Users List > > Subject: Re: jasper error compiling jsp > > > > > > hi, > > Thanks for the replay . But this not an application i develop. I > > just want to deploy it on my tomcat. It seems the app is > developed for > > some other container. > > Is there any work around to run it on tomcat ? > > > > regards, > > Sarath PS > > > > Roland Carlsson wrote: > > > > > > Hi! > > > > > > I'm not sure but I don't think you can import classes from > the root-level. > > > > Try to create a package and then > > import mypackage.Account; > > Or > > import mypackage.*; > > > > Regards > > Roland Carlsson > > > > > > > > Den 04-10-22 09.03, skrev "Sarath PS" <mailto:[EMAIL PROTECTED]> > <[EMAIL PROTECTED]>: > > > > > > > > > > hi all , > > I get an an error like this. > > > > > > org.apache.jasper.JasperException: Unable to compile class for JSP > > > > An error occurred at line: -1 in the jsp file: null > > > > Generated servlet error: > > [javac] Compiling 1 source file > > > > /usr/java/tomcat-5.0.25/work/Catalina/localhost/qwe/org/apache > /jsp/index_jsp > .j > > ava:6: '.' expected > > import Account; > > ^ > > 1 error > > > > > > org.apache.jasper.compiler.DefaultErrorHandler.javacError(Defa > ultErrorHandle > r. > > java:83) > > > > > > > > > > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDis > patcher.java:3 > 15> > > ) > > > > > > > > org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:406) > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:463) > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:442) > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:430) > > > > > > > > > > org.apache.jasper.JspCompilationContext.compile(JspCompilation > Context.java:5 > 11> > > ) > > > > > > org.apache.jasper.servlet.JspServletWrapper.service(JspServlet > Wrapper.java:2 > 74> > > ) > > > > > > > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet > .java:292) > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:810) > > > > > > at line 6 of index_jsp.java there is an import statement like this. > > > > import Account; > > > > The class Account is very much there. I tried to put it in > WEB-INF/classes, > > WEB-INF/lib (after making a jar) > > > > But nothing worked. What must be wrong ? > > > > > > > > thanks in advance, > > > > Sar > > > > > > > > > > * > > * > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > _____ > > > Any opinions expressed in this E-mail may be those of the > individual and not > necessarily the company. This E-mail and any files > transmitted with it are > confidential and solely for the use of the intended > recipient. If you are > not the intended recipient or the person responsible for > delivering to the > intended recipient, be advised that you have received this > E-mail in error > and that any use or copying is strictly prohibited. If you > have received > this E-mail in error please notify the beCogent postmaster at > [EMAIL PROTECTED] > > Unless expressly stated, opinions in this email are those of > the individual > sender and not beCogent Ltd. You must take full > responsibility for virus > checking this email and any attachments. > > Please note that the content of this email or any of its > attachments may > contain data that falls within the scope of the Data > Protection Acts and > that you must ensure that any handling or processing of such > data by you is > fully compliant with the terms and provisions of the Data > Protection Act > 1984 and 1998. > > > > > > > > > _____ > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
