Menu

Example 1

Mattiuzzi Gianluca
Attachments
edit_jre.png (88219 bytes)
example1.png (41819 bytes)
import_gs_gswa.png (50011 bytes)
java_build_path.png (73962 bytes)

In questohttps://sourceforge.net/p/genericstruts/wiki/Example%201/edit# esempio si suppone che abbiate Eclipse e che nel vostro Workspace abbiate già creato un Tomcat Server 7 o superiore.

Scaricate * GenericStruts.zip * GenericStrutsWebApp.zip

Importare i progetti GenericStruts e GenericStrutsWebApp
Usare la funzione File -> Import -> General -> Existing Project into Workspace

import_gs_gswa.png

Risolvete eventuali problemi relativi alla “Java Build Path” nelle proprietà del progetto sostituendo la JRE corretta nella scheda “Libraries”. Usare una JRE 7 o superiore.

edit_jre.png

Una volta scaricato ed importato example1.war in Eclipse aggiungere nella Java Build Path del progetto i riferimenti a GenericStruts e GenericStrutsWebApp

java_build_path.png

Nella scheda Server aggiungere il progetto example1 a Tomcat e avviare il server.

Aprite un browser e testate il progetto

http://localhost:8080/example1

example1.png


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.