Print This Post

Aug
23

Simple Struts Example Zip File

Click hereto download the complete application without Jar Dependency (few KBs) This file does not contain the jars. If you would like to download the application with the jars , Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this post… Continue reading »

Print This Post

Aug
23

Struts Tutorial – Eclipse Workspace Setup Video

After your workspace is ready, Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this post Print for later Bookmark in Browser Tell a friend

Print This Post

Aug
23

Struts Tutorial – Eclipse Server Setup Video

This video helps you configure your server Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this post Print for later Bookmark in Browser Tell a friend

Print This Post

Aug
23

Struts Tutorial – How to setup a workspace For Struts

Create a workspace with the following folder structure . (Click on the image to see enlarged image. The image also lists the Jars needed to run struts) Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this post Print for later… Continue reading »

Print This Post

Aug
23

Struts Tutorial – Sample Action Class

package com; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this post Print for later Bookmark in Browser Tell a friend

Print This Post

Aug
23

Struts Tutorial – Sample JSP

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”> <html> <head> </head> <body> <p>This is my first struts example </p> </body> </html> Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this post Print for later Bookmark in Browser Tell a friend

Print This Post

Aug
23

Struts Tutorial – Sample struts-config.xml

<?xml version=”1.0″ encoding=”ISO-8859-1″ ?> <!DOCTYPE struts-config PUBLIC “-//Apache Software Foundation//DTD Struts Configuration 1.2//EN” “http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd”> <struts-config> Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this post Print for later Bookmark in Browser Tell a friend

Print This Post

Aug
23

Struts Tutorial – Sample Web.xml

Copy the contents below and save it in web.xml <?xml version=”1.0″ encoding=”UTF-8″?> <web-app id=”WebApp_ID” version=”2.4″ xmlns=”http://java.sun.com/xml/ns/j2ee” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd”> Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this post Print for later Bookmark in Browser Tell a friend

Print This Post

Aug
23

Struts Tutorial

What this tutorial will do is help you get started with a simple example of forwarding a request to a jsp.This is a practical tutorial so lets gets started . 1. Make sure you have an Application Server Installed on your system . For this demo I am using Tomcat 5.5. 2. Download Eclipse or… Continue reading »