File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2 Jquery integration

 
Luis Parente
Ranch Hand
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a problem with Jquery integration.

I have the version 2.1.8 of struts and 3.3.0 of struts2-jquery-plugin. I don't know if the problem is of tiles but....

Well this is my jsp file



When I put this line I have the following error :





But in my Jsp I can see by double click that my it accessible.


I appreciate your Help.


Thanks in advance.




 
David Val
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Luis,

I think I may have a very similar problem to yours. Have you found a way to solve it?

I use Netbeans IDE v7.1 + Struts 2/XWork plugin with Struts 2.2.3 Libraries
Netbeans Plugin page

I have also tried to integrate Struts2-Jquery plugin from here:
http://code.google.com/p/struts2-jquery/wiki/DatePickerTag

The file I downloaded was named: struts2-jquery-plugin-3.3.0.jar

First of all, I added it to the project as JAR/Folder Library.

Next, I copied the example code in a JSP page, with the following structure:



The start page as configured in web.xml is of course calendars/calendarDemo.jsp

Netbeans doesn't detect any errors, as the Datepicker tag is correctly detected and checked.
On the other hand, after getting deployed it gives only an Error 500 Page with the following notice:



Is there anything I am missing to configure this plugin? ANY HELP WILL BE MUCH APPRECIATED !

I paste here the complete error log:

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic