Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Exception

 
Krish Khan
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

I have upgraded my Tomcat server from 6 to 7 right from then i am getting below mentioned error can any one help me out.

 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The exception description states: "/OperatorAction.jsp(226,78) The JSP specification requires that an attribute name is preceded by whitespace " So might be you need to check the OperationAction.jsp to see if the attributes are named correctly.
 
Krish Khan
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for you reply but the same code is running successfully on TOMCAT 6.0 where as error in TOMCAT 7.

I have also check the attribute name there is no whitespace.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65118
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Keeping the code in question a secret isn't going to help anyone help you.
 
Lutando Tumana
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please add the following line to <TOMCAT>/conf/catalina.properties and restart Tomcat:

org.apache.jasper.compiler.Parser.STRICT_WHITESPACE=false
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic