This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts2-jquery-plugin 2.1  jsp err:Cannot find the tag library descriptor for Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2-jquery-plugin 2.1  jsp err:Cannot find the tag library descriptor for "/struts2-jquery-tags"" Watch "Struts2-jquery-plugin 2.1  jsp err:Cannot find the tag library descriptor for "/struts2-jquery-tags"" New topic
Author

Struts2-jquery-plugin 2.1 jsp err:Cannot find the tag library descriptor for "/struts2-jquery-tags"

David Brave
Greenhorn

Joined: May 20, 2010
Posts: 24
Hi, Im having a problem with the new struts2-jquery-plugin-2.1

I follow the website http://code.google.com/p/struts2-jquery/ to figure out how to run the new version of the plugin.
They say to just add the struts2-jquery-plugin-2.1 to your lib folder then make sure to reference tag in your jsp page as such:

<%@ taglib prefix="sj" uri="/struts2-jquery-tags" %>

But I get an error with this tag that says Cannot find the tag library descriptor for "/struts2-jquery-tags".

The old struts2-jquery-1.2 plugin worked with my struts2 projects, but now i get this funny error.

I have my functional struts2 project. If im using the old struts2-jquery-plugin1.2 then the
<%@ taglib prefix="sj" uri="/struts2-jquery-tags" %> tag doesnt have any errors associated with it, but
If i add the struts2-jquery-plugin2.1 instead then I get the error associated with the "/struts2-jquery-tags"

Does anyone have any idea on what might be wrong here? Other people are using this, so I want to know
why they didnt run into this problem.

Please help.

dave
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

It'd be best to ask the creator of that project, really.

That said, all the example JSPs use a different URI than you're using--you might want to try the one its examples use (and as shown on the project's home page).
Glen Divers
Ranch Hand

Joined: Jan 21, 2010
Posts: 61
David Pew wrote:Hi, Im having a problem with the new struts2-jquery-plugin-2.1

I have my functional struts2 project. If im using the old struts2-jquery-plugin1.2 then the
<%@ taglib prefix="sj" uri="/struts2-jquery-tags" %> tag doesnt have any errors associated with it, but
If i add the struts2-jquery-plugin2.1 instead then I get the error associated with the "/struts2-jquery-tags"


I'm using the 2.1 plugin and I think you'll find the relevant incantation is <%@ taglib prefix="sj" uri="/struts-jquery-tags"%>

Regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts2-jquery-plugin 2.1 jsp err:Cannot find the tag library descriptor for "/struts2-jquery-tags"
 
Similar Threads
[Jqueryplugin] [struts2] rendering grid
Struts2-json plugin not serializing action class to json
Struts2-jQuery Plugin
accordion in struts2-jquery-plugin-2.1.0 not working
Struts + Jquery (struts2-jquery-plugin-2.4.0.jar) and sj:head tag