24
First steps tutorial using struts and eclipse This tutorial will explain first steps using the web framework Apache Struts and the developme nt environme nt eclipse. We will create a simple example library applicati on. Allgemeines Autor : Sebastian Hennebrüder Sascha Wolski http://www.laliluna.de/tutorial.html – Tutorials für Struts, EJB, xdoclet und eclipse. Datum: January, 20 th 2005 Development Tools Eclipse 3.x Struts Console JBOSS IDE (when using JBOSS) Sysdeo Plugin (when using Tomcat) Source code: http://www.laliluna.de/tutorial/first-struts/first_steps_with_struts.zip Using the source code. The source code does not include any libraries but the sources. Create a web project, add the libraries manuall y as explained in the tutorial. Then extract the sources, we provided, to your project. The PDF Version of the tutorial. http://www.laliluna.de/assets/tutorials/first-steps-with-struts-free-tools-en.pdf Inhaltsverzeichnis First steps tutori al using struts a nd eclip se........................................................................................ 1 Allgemeine s........................................................................................................................................ 1 Requirements...................................................................................................... ............................... 1 Installation of the Struts C onsole................................................................................................. ...... 2 Create a Web Project.........................................................................................................................2 Adding Struts Support............................................................................................. ........................... 2 Create a d efault w elcome page......................................................................................................... 4 Global Acti on Forward s and Actio n Mappi ngs.............................................................. ..................... 5 Usecase Book List..............................................................................................................................6 Usecase Add , edit and remove the data......................................................................................... . 15 Changes t o the b ook list JSP........................................................................ ................................... 21 Testen der Anwendu ng................................................................... ................................................. 22 Requirements We require the installation of the JBOSS IDE, when you are using JBOSS as applica tion server. A Tutorial how to create and deploy web projects with the JBOSS IDE can you find here. http://www.lali luna.de/web projects-eclipse-jbo sside-tutorial-en.html When you are using Tomcat, you can use the Eclipse Plugin http://www.sysdeo.com/eclipse/tomcatPlugin.html as an alternative.

First Steps With Struts Free Tools En

Embed Size (px)

Citation preview

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 1/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 2/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 3/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 4/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 5/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 6/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 7/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 8/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 9/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 10/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 11/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 12/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 13/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 14/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 15/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 16/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 17/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 18/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 19/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 20/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 21/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 22/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 23/24

8/8/2019 First Steps With Struts Free Tools En

http://slidepdf.com/reader/full/first-steps-with-struts-free-tools-en 24/24