top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Struts2 Plugin: Jquery vs Dojo

+1 vote
457 views

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--0.0.0.0-8443-5) 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:

${file}

I appreciate any suggestions or direction from here.

...