Struts 2 jQuery Plugin

Parent project for Struts2 jQuery integration.

License

License

GroupId

GroupId

com.jgeppert.struts2.jquery
ArtifactId

ArtifactId

struts2-jquery-plugin
Last Version

Last Version

4.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

Struts 2 jQuery Plugin
Parent project for Struts2 jQuery integration.

Download struts2-jquery-plugin

How to add to project

<!-- https://jarcasting.com/artifacts/com.jgeppert.struts2.jquery/struts2-jquery-plugin/ -->
<dependency>
    <groupId>com.jgeppert.struts2.jquery</groupId>
    <artifactId>struts2-jquery-plugin</artifactId>
    <version>4.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.jgeppert.struts2.jquery/struts2-jquery-plugin/
implementation 'com.jgeppert.struts2.jquery:struts2-jquery-plugin:4.0.3'
// https://jarcasting.com/artifacts/com.jgeppert.struts2.jquery/struts2-jquery-plugin/
implementation ("com.jgeppert.struts2.jquery:struts2-jquery-plugin:4.0.3")
'com.jgeppert.struts2.jquery:struts2-jquery-plugin:jar:4.0.3'
<dependency org="com.jgeppert.struts2.jquery" name="struts2-jquery-plugin" rev="4.0.3">
  <artifact name="struts2-jquery-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.jgeppert.struts2.jquery', module='struts2-jquery-plugin', version='4.0.3')
)
libraryDependencies += "com.jgeppert.struts2.jquery" % "struts2-jquery-plugin" % "4.0.3"
[com.jgeppert.struts2.jquery/struts2-jquery-plugin "4.0.3"]

Dependencies

compile (3)

Group / Artifact Type Version
org.apache.struts : struts-annotations Optional jar 1.0.6
org.apache.struts : struts2-core jar 2.5.14.1
org.apache.velocity : velocity Optional jar 1.5

provided (1)

Group / Artifact Type Version
javax.servlet : jsp-api jar 2.0

test (3)

Group / Artifact Type Version
taglibs : standard jar 1.1.2
javax.servlet : jstl jar 1.1.2
javax.servlet.jsp : jsp-api jar 2.1

Project Modules

There are no modules declared in this project.

Struts2 jQuery Plugin

Maven Central Build release/4.1.0

A Plugin for the popular java web framework struts2 to provide ajax functionality and UI Widgets based on the jQuery javascript framework.

[Download] (https://oss.sonatype.org/content/groups/staging/com/jgeppert/struts2/jquery/)

[News and Developer Blog] (https://www.jgeppert.com)

[Showcase] (https://struts.jgeppert.com/struts2-jquery-showcase/)

[Showcase Grid Plugin] (https://struts.jgeppert.com/struts2-jquery-grid-showcase/)

[Showcase Mobile Plugin] (https://struts.jgeppert.com/struts2-jquery-mobile-showcase/)

[Sample TODO app based on Bootstrap, jQuery and jQuery Mobile] (https://github.com/jogep/struts2-todo-examples/)

[Wiki - Documentation] (https://github.com/struts-community-plugins/struts2-jquery/wiki)

Installation

How can I use the Plugin?

  • Download the struts2-jquery-plugin-x.x.x.jar
  • Put it into your Classpath (WEB-INF/lib)
  • Add the Tag-Lib to your JSP <%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
  • Place the [HeadTag Head Tag] inside your html head tags

versions and compatibility

struts2-jquery version struts2 version
4.0.3 version >= 2.5
3.7.1 2.3.16 <= version <= 2.3.31

As a general rule of thumb, it's advised to upgrade to the latest version within the same major version range. This should avoid bugs and vulnerabilities that already got fixed in more recent versions.

See Changelog for more information

How can I use the Plugin from Maven?

Since version 1.8.3 the plugin is found in the central Maven repository. Just add to your dependencies section:

<dependencies>
    ...
    <dependency>
        <groupId>com.jgeppert.struts2.jquery</groupId>
        <artifactId>struts2-jquery-plugin</artifactId>
        <version>4.0.3</version>
    </dependency>
    <dependency>
        <groupId>com.jgeppert.struts2.jquery</groupId>
        <artifactId>struts2-jquery-grid-plugin</artifactId>
        <version>4.0.3</version>
    </dependency>
    <dependency>
        <groupId>com.jgeppert.struts2.jquery</groupId>
        <artifactId>struts2-jquery-datatables-plugin</artifactId>
        <version>4.0.3</version>
    </dependency>
    <dependency>
        <groupId>com.jgeppert.struts2.jquery</groupId>
        <artifactId>struts2-jquery-richtext-plugin</artifactId>
        <version>4.0.3</version>
    </dependency>
    <dependency>
        <groupId>com.jgeppert.struts2.jquery</groupId>
        <artifactId>struts2-jquery-tree-plugin</artifactId>
        <version>4.0.3</version>
    </dependency>
    <dependency>
        <groupId>com.jgeppert.struts2.jquery</groupId>
        <artifactId>struts2-jquery-mobile-plugin</artifactId>
        <version>4.0.3</version>
    </dependency>
    ...
</dependencies>

To access SNAPSHOT builds, you need to declare the snapshot repository lookup in your pom.xml:

...
<repositories>
    ...
    <repository>
        <id>sonatype.oss.snapshots</id>
        <name>Sonatype OSS Snapshot Repository</name>
        <url>http://oss.sonatype.org/content/repositories/snapshots</url>
        <releases>false</releases>
        <snapshots>true</snapshots>
    </repository>
</repositories>
...
com.jgeppert.struts2.jquery

Versions

Version
4.0.3
4.0.2
4.0.1
3.7.1
3.7.0
3.6.1
3.6.0
3.5.1
3.5.0
3.4.0
3.3.3
3.3.1
3.3.0
3.2.1
3.2.0
3.1.1
3.1.0
3.0.2
3.0.1
3.0.0
2.5.3
2.5.2
2.5.1
2.5.0
2.4.1
2.4.0
2.3.1
2.3.0
2.2.2
2.2.1
2.2.0
2.1.1
2.1.0
2.0.0
1.8.3