aspose file tools*
The moose likes JSP and the fly likes Dynamic attribute in Tag File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Dynamic attribute in Tag File" Watch "Dynamic attribute in Tag File" New topic
Author

Dynamic attribute in Tag File

Thennam Pandian
Ranch Hand

Joined: Oct 11, 2005
Posts: 163
Trying to invoke the tag using Tag file with dynamic attribute.Have followed the syntax given in the "HeadFirst Servlet and JSP".

While running the jsp file am getting the below exception :


dynamicAttribute1.tag(9,3) According to TLD or attribute directive in tag file, attribute items does not accept any expressions

Please help me to resolve the issue.
JSTL is working fine in other JSP files.

FYI: Have attached the dynamicAttribute1.tag.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Can you post the code ? Both the tag and the JSP where you are using it.


[My Blog]
All roads lead to JavaRanch
Thennam Pandian
Ranch Hand

Joined: Oct 11, 2005
Posts: 163

Tag File




/**************/

JSP file


Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61606
    
  67

The following URI is for a very old version of the JSTL:


I suspect you have a misconfiguration of your web app.

See the JSP FAQ for how to properly set up the JSTL and EL.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Thennam Pandian
Ranch Hand

Joined: Oct 11, 2005
Posts: 163


The above URI is working fine in other JSPS.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Thennam Pandian wrote:

The above URI is working fine in other JSPS.

Bear is telling you that it's not working. He's telling you that this is the URI used for an old JSTL version. This might indicate that you are also using some old settings elsewhere, like in web.xml. Check this FAQ.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61606
    
  67

Thennam Pandian wrote:The above URI is working fine in other JSPS.

You can take action to fix it, or you can continue to have problems. The choice is yours.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Bear Bibeault wrote:
Thennam Pandian wrote:The above URI is working fine in other JSPS.

You can take action to fix it, or you can continue to have problems. The choice is yours.

Sounds like Harry Callahan
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I now what you're thinking: is he using JSP 1.0, or 2.0? Well, to tell you the truth, in all this excitement I kind of lost track myself. But being as this is 2010, and we have the most powerful JSP in the world, and it blows JSP 1.0 away, you've got to ask yourself one question: Do I feel lucky? Well, do ya, punk?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic attribute in Tag File