aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Strange exception while using EL functions. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Strange exception while using EL functions." Watch "Strange exception while using EL functions." New topic
Author

Strange exception while using EL functions.

Deepak Jain
Ranch Hand

Joined: Aug 05, 2006
Posts: 637
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:


SCJP, SCWCD, SCBCD
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Which version of JSP are you using ?


[My Blog]
All roads lead to JavaRanch
Deepak Jain
Ranch Hand

Joined: Aug 05, 2006
Posts: 637



Servlet Engine: 2.5
JSP Engine: 2.1
Application Server: JBossWeb/2.0.0.GA
Deepak Jain
Ranch Hand

Joined: Aug 05, 2006
Posts: 637
Changed the TLD to have 2.1 for JSP Version


Still same exception.
[ December 01, 2008: Message edited by: Deepak Jain ]
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

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

Joined: Aug 05, 2006
Posts: 637
Without jsp-version.

Deepak Jain
Ranch Hand

Joined: Aug 05, 2006
Posts: 637
I used the modified version by you still i get the same exception.


Why isn't this silly thing working
Deepak Jain
Ranch Hand

Joined: Aug 05, 2006
Posts: 637
Worked silly editor bug.
Good to see things working.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Strange exception while using EL functions.