Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Strange exception while using EL functions.

 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
TLD file:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>2.0</jsp-version>
<uri>myTags</uri>
<function>
<name>encodeParameters</name>
<function-class>com.example.html.core.MxHtmlUtil</function-class>
<function-signature>
java.lang.String encodeJScriptEntities(java.lang.String)
</function-signature>
</function>
</taglib>

Exception:



JSP:
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which version of JSP are you using ?
 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



Servlet Engine: 2.5
JSP Engine: 2.1
Application Server: JBossWeb/2.0.0.GA
 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Changed the TLD to have 2.1 for JSP Version


Still same exception.
[ December 01, 2008: Message edited by: Deepak Jain ]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Changed the TLD to have 2.1 for JSP Version

No. If you were using JSP 2.0 (why 2.1 ?), you'd see that there is no tag called "jsp-version".

 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Without jsp-version.

 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used the modified version by you still i get the same exception.


Why isn't this silly thing working
 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Worked silly editor bug.
Good to see things working.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic