alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Struts example source code file (example3.jsp)

This example Struts source code file (example3.jsp) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Struts tags/keywords

as, as, example, example, examples, time, try, wait, wait, while, while

The Struts example3.jsp source code

<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
    <head>Execute and Wait Examples

<body>
    <h1>Execute and Wait Example 3

    <b>Example 3: As example 1 but uses a delay of 3000 millis before the wait page is shown.
    While waiting for the wait page it will check every 1000 millis if the background process is already
    done. Try simulating with a value of 700 millis to see that the wait page is shown soon thereafter.

    <s:form action="longProcess3">
        <s:textfield label="Time (millis)" name="time" required="true" value="9000"/>
        <s:submit value="submit"/>
    </s:form>

</body>
</html>

Other Struts examples (source code examples)

Here is a short list of links related to this Struts example3.jsp source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.