Lengthy tasks taglib ver. 1.2

    Custom JSP taglib. Lets you provide an intermediate page (Wait please ...) for lengthy tasks. This taglib is similar to Wait taglib. For example:
 


<%@ taglib uri="taglib.tld" prefix="w" %>

<w:LengthyTask url="http://www.some_long_calculated_request"/>

This code outputs an intermediate page with default text Your request is being processed ... and redirects user to the provided URL as soon as request has been completed.

You can see how does it work here. This request loads a big PDF file. Page has been generated by the following code:
 


<%@ taglib uri="taglib.tld" prefix="w" %>

<w:LengthyTask url="http://www.abavanet.ru/download/1-4-3_schneps.pdf"/>

Tags are:

LengthyTask

tag provides an intermediate page for lengthy tasks (requests). Tag's body will be used as a default value. Parameters are:

1) url Describes your url for real request
2) text Optional parameter. Describes a text for your intermediate page. Default value is Your request is being processed ...
3) style Optional parameter. Describes a CSS style for text

for downloading:

Library: ltasktag.jar    Description: taglib.tld

 © Coldbeans      Comments, suggestions?

See also Coldtags suite - the largest collection of custom JSP tags.

Related links: