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

Struts example source code file (index.jsp)

This example Struts source code file (index.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

a, a, div, div, div's, div's, js, js

The Struts index.jsp source code

<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>AJAX-based remote DIV tag
    <%@ include file="/ajax/commonInclude.jsp" %>
</head>

<body>

<h2>Examples

<p>
    <ol>
        <li>
            <a href="example1.jsp">A simple DIV that refreshes only once
        </li>

		<li>
            <a href="example10.jsp">A simple DIV that uses a custom handler
        </li>

        <li>
            <a href="example2.jsp?url=/AjaxTest.action">A simple DIV that updates every 2 seconds, with indicator
        </li>

        <li>
            <a href="example4.jsp">A simple DIV that updates every 5 seconds with loading text and reloading text and delay
        </li>

        <li>
            <a href="example5.jsp">A simple DIV's that cannot contact the server, with fixed error message
        </li>


        <li>
            <a href="example7.jsp">A div that calls the server, and JS in the resulting page is executed
        </li>

        <li>
            <a href="example8.jsp">A div that will listen to events to refresh and start/stop autoupdate, and gets highlighted in red (when it loads)
        </li>

		<li>
            <a href="example9.jsp">A div that will listen to events to refresh and start/stop autoupdate, publish notifyTopics
        </li>

    </ol>


</p>

<s:include value="../footer.jsp"/>

</body>
</html>

Other Struts examples (source code examples)

Here is a short list of links related to this Struts index.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.