Jerry Web

Common Servlet/JSP Functionality

License

License

GroupId

GroupId

com.sangupta
ArtifactId

ArtifactId

jerry-web
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Jerry Web
Common Servlet/JSP Functionality
Project URL

Project URL

https://sangupta.com/projects/jerry-web
Source Code Management

Source Code Management

https://github.com/sangupta/jerry-web

Download jerry-web

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
com.sangupta : jerry-core jar 3.0.0

provided (4)

Group / Artifact Type Version
javax.servlet : servlet-api jar 2.5
javax.servlet.jsp : jsp-api jar 2.2
org.jsoup : jsoup Optional jar 1.11.2
com.google.javascript : closure-compiler Optional jar v20161201

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
com.sangupta : am jar 1.0.0

Project Modules

There are no modules declared in this project.

jerry-web

Travis Coveralls license

Common Java functionality for building web applications particularly working with Servlets and JSPs.

jerry-web is a module library for the uber jerry library project. This module provides helper functionality when writing Java web applications - such as common filters, request wrappers, and custom JSP tags. The utility classes are now a part of the jerry-core project.

Release Notes

Release 1.1.0 (20 Dec 2017)

  • Added a GsonTag for converting object to JSON inside a JSP
  • Fixed bug in ExceptionCatchingFilter to log actual UUID of error object
  • Upgraded JSoup version to latest

Release 1.0.0 (23 Dec 2016)

  • Removed all utility code that is now a part of the jerry-core project
  • Added unit testing of all JSP custom tags using the am project
  • Preparing for OSS release as 1.0.0

Release 0.6.1 (09 Nov 2014)

  • Fixed date/time to output as long value in GsonJsonProvider
  • Added method to extract URI from ServletRequest to RequestUtils
  • Added method to send byte[] downstream in ResponseUtils
  • Added servlet filters
  • JavascriptMinificationFilter - uses Google closure compiler to minify JS
  • JavascriptReorderingFilter - reorder javascript tags inside HTML stream to push them to end of HTML file for faster loading of HTML page
  • ExceptionCatchingFilter - catch all uncaught exceptions and log them
  • Added log guards and javadocs
  • Added missing copyright headers

Release 0.5.0 (07 Feb 2014)

  • Added GSON based jersey JSON provider
  • Added XStream based jersey XML provider
  • Added servlet filters
  • LeverageBrowserCacheFilter
  • RequestCapturingFilter
  • Added JSP custom tags
  • UserName
  • TimeAgo
  • SignedIn
  • RadioButton
  • JavascriptInclude
  • HexFormat
  • EncodeUriComponent
  • DateFormat
  • CheckBox
  • Base64
  • Base62
  • Anonymous
  • AllJavascript
  • Added utility classes
  • RequestUtils
  • ResponseUtils
  • LogUtils
  • CookieUtils
  • Added convenience classes
  • UserAwareHttpServletRequestWrapper
  • ByteArrayServletOutputStream
  • HttpServletResponseWrapper
  • ModifiedServletResponse

Downloads

The library can be downloaded from Maven Central using:

<dependency>
    <groupId>com.sangupta</groupId>
    <artifactId>jerry-web</artifactId>
    <version>1.1.0</version>
</dependency>

Versioning

For transparency and insight into our release cycle, and for striving to maintain backward compatibility, jerry-web will be maintained under the Semantic Versioning guidelines as much as possible.

Releases will be numbered with the follow format:

<major>.<minor>.<patch>

And constructed with the following guidelines:

  • Breaking backward compatibility bumps the major
  • New additions without breaking backward compatibility bumps the minor
  • Bug fixes and misc changes bump the patch

For more information on SemVer, please visit http://semver.org/.

License

jerry-web: Common Servlet/JSP Functionality
Copyright (c) 2012-2016, Sandeep Gupta

https://sangupta.com/projects/jerry-web

The project uses various other libraries that are subject to their
own license terms. See the distribution libraries or the project
documentation for more details.

The entire source is licensed under the Apache License, Version 2.0 
(the "License"); you may not use this work except in compliance with
the LICENSE. You may obtain a copy of the License at

	http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Versions

Version
1.1.0
1.0.0
0.6.1
0.5.0