Hi, I had some web-apps with servlets and JSPs perfectly working on JBoss 3.2.6 and 3.2.7. I decided to update to the last JBoss version (I needed better support for webservices) and I've found some strange problems.
Most web-apps deployed without problems, but some JSPs (not all of them) in some web-apps don't work any more. The problem is that the server is not able to compile the generated java servlet (but it GENERATES the .jara!) and returns an exception like this: --- org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 43 in the jsp file: /CalculationOptions.jsp Generated servlet error: Syntax error on token ";", = expected org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397) org.apache.jasper.compiler.Compiler.compile(Compiler.java:288) --- and the part of the code of the JSP is this: <%! String ODAPerformAnalysis; %> <%! String ODAPerformAnalysisChecked; %> <%! String ODACorrectPDB; %> <%! String ODACorrectPDBChecked; %> <%! String ODACorrectPDBDisabled; %> <% ODAPerformAnalysis = (String)session.getAttribute("ODAPerformAnalysis"); if(ODAPerformAnalysis==null) ODAPerformAnalysis="false"; if(ODAPerformAnalysis.equalsIgnoreCase("false")) { ODAPerformAnalysisChecked = ""; ODACorrectPDBDisabled = "true"; } ../.. %> Any idea? Iván View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914559#3914559 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914559 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user