top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

Struts2 Plugin: Jquery vs Dojo

+1 vote

Could you please help me to choose the right plugin between Jquery and Dojo?

We need mainly need this for date picker fields. I like the Jquery date picker but it is not bundled with Struts 2 pack, is that a concern?

posted Feb 25, 2015 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

0 votes

Less a concern than the Dojo tags being deprecated for years and using an incredibly out-of-date Dojo.

You can always use plain JS, too.

answer Feb 25, 2015 by Meenal Mishra
0 votes

The jquery plugin is not bundled with struts2 to be able to release a new plugin-version when jquery is released. So it is independent of struts2 release cycle.

answer Feb 25, 2015 by Salil Agrawal
Similar Questions
0 votes

I've recently installed the struts2-spring plugin and everything seems to be working as expected from the Spring perspective; however, Struts actions now require an "input" result to be defined when there was not one before.

I have no idea why this is the case, but I would rather not go through my many actions defining dummy input results when they're not being used.

What I've verified:

  • Spring context is being started up
  • If there is an "input" result to the action, @Autowire is correctly autowiring the Spring beans into non-spring Actions.
    What I think is the next clue, but I'm not sure why or where to go from here:

03:34:37,651 DEBUG
[org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor] (http-- Validating //ftli with method execute.

^^ Is this line saying that the Action is being validated and then it's forwarding to "input" afterward?

Example Action where this fails:


I appreciate any suggestions or direction from here.

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.