Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML
 
 
Hot Web Programming Job

 

Tutorial Categories: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML


 

Java Tutorials

Core Java
JSP
Servlet
JDBC
Hibernate
Struts 1
Struts 2
JSF
Spring
J2EE
J2ME
Web Services
Ajax
Dojo
MySQL
Latest Comments
Good one ...But Mi
ATA-S2 Ip configur
Nice article
Create Exe File
i want struts2 IDE
  All Comments...
 

 

 
Struts Tutorials
*Stuts TOC
*Apache Struts Introduction
* Struts Controller
* Struts Action Class
* Struts ActionFrom Class
* Using Struts HTML Tags
*Struts Validator Framework    
*Client Side Address Validation    
*Struts Tiles
*tiles-defs.xml
*Struts DynaActionForm
*Struts File Upload
*Struts DataSource
*AGGREGATING ACTIONS
*Internationalization
Struts Resources
*Struts Books
*Struts Articles
*Struts Frameworks
*Struts IDE
*Struts Alternative
*Struts Links
*Struts Presentations
*Struts Projects
*Struts Software
*Struts Reference
*Struts Resources
*Other Struts Tutorial
Visit Forum! Post Questions!
Jobs At RoseIndia.net!

Have tutorials?
Add your tutorial to our Java Resource and get tons of hits.

We offer free hosting for your tutorials. and exposure for thousands of readers. drop a mail
roseindia_net@yahoo.com
 
   

 
Join For Newsletter

Powered by groups.yahoo.com
Visit Group! Post Questions!

Struts Struts2 Struts 2 Hello World

User Comments
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl
  Blink   Furl   Simpy   Y! MyWeb 

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

21 comments so far (post your own) View All Comments Latest 10 Comments:

I had the same error which said There is no Action mapped for action name HelloWorld. I dont really know how to get rid of it. Can someone help in this regard?

Posted by Salman on Monday, 09.29.08 @ 18:30pm | #80780

hi
in struts2.0 there is no thread safety.how we are maintainng it in struts2.0
please clarify

Posted by Satya on Friday, 05.23.08 @ 09:17am | #60724

Hi,
when i first tried to run the application i had the following problem.

Struts Problem Report
Struts has detected an unhandled exception:

Messages: There is no Action mapped for action name HelloWorld.

I tried many time and failed. Can somebosy help me resolve this issue.

the problem is with the namespace.

here the namespace defined is 'roseindia' in (struts.xml)

but index.html contains example/HelloWorld.action

changing it to roseindia/HelloWorld.action solved the problem

Regards,
Laxmi narayana

Posted by Laxmi Narayana on Thursday, 04.17.08 @ 22:11pm | #56974

does localization in struts done in entire specification or does it create specific resources for each request?

Posted by jenifer on Wednesday, 03.19.08 @ 12:47pm | #53295

Ashish,

I don't see where this has anything to do the the topic "Ant Build, Struts2 Hello World".

Additionally, why would you want an application written in both jsp and asp. They are not meant to be used together. What are you trying to accomplish.

Posted by Eric Tice on Wednesday, 03.12.08 @ 19:21pm | #52485

I want to down load the all ".jar" files that is needed to run my struts application.From where can i download all the ".jar" files.Give the instructions to me to download the jar files and .tld files

Posted by kranthi on Wednesday, 03.12.08 @ 17:32pm | #52473

please send the usasge code of tiles in struts 2.x

Posted by harinivesh on Thursday, 02.14.08 @ 15:02pm | #48252

Its a good tutorial for the beginners in Struts 2.0

Posted by Vajahat Ali on Monday, 01.28.08 @ 15:22pm | #46396

Hi.
After my tried, I found that it is necessary to copy struts2-core-2.0.XX.jar to lib.
Also need to download the source code and replace the original index.html.

Hope this is useful for the others.

Posted by Kevin on Friday, 01.25.08 @ 15:33pm | #46126

Hi.
After my tried, I found that it is necessary to copy struts2-core-2.0.XX.jar to lib.
Also need to download the source code and replace the original index.html.

Hope this is useful for the others.

Posted by Kevin on Friday, 01.25.08 @ 15:31pm | #46124

Looks like there is something missing in the instructions for installing Struts on Tomact. Apparently from the previous comment, it looks like. Can somebosy point me to the right direction.

Posted by Lakshmi on Sunday, 01.13.08 @ 05:57am | #45086

I am new to struta. I already have Tomcat6 and ant installed on my machine. I dowloaded struts2.0.6. I followed the steps exactly from your website http://www.roseindia.net/struts/struts2/struts-2-hello-world.shtml. I am getting the following message:

Struts Problem Report
Struts has detected an unhandled exception:

Messages: There is no Action mapped for action name HelloWorld.

I tried many time and failed. Can somebosy help me resolve this issue.

Thank You


Posted by Lakshmi on Sunday, 01.13.08 @ 05:20am | #45083

How Structs Can be more simple..

Posted by Amit on Monday, 01.7.08 @ 14:26pm | #44702


Hi Johannes,
What you mean by title.html? Hope that is index.html.
You'd better download the complete source code of the tutorial and see how index.html updated.

Harshi

Posted by Harshi on Monday, 11.19.07 @ 17:38pm | #37828

How should I change the title.html to make this work?
What else do I have to change?
Has anyone managed to make this work or does anyne know a good tutorial plz respond.

Thanks Johannes.

Posted by Johannes on Monday, 11.5.07 @ 18:40pm | #35623

Hi Chandrasheker!
We got your request to know the difference between Struts 1.x and Struts 2.x.

Please visit:
Struts 1.x Vs Struts 2.x

Thanks for visiting our site.
Vinod Kumar

Posted by Vinod Kumar on Wednesday, 10.24.07 @ 15:57pm | #34677

plz send newly introduce the jar file.


Regards
Chandrasheker

Posted by chandrasheker on Tuesday, 10.9.07 @ 18:10pm | #32954

what is main difference between struts1.x and struts 2.x. plz send what is the future of the sturts2.

Posted by chandrasheker on Tuesday, 10.9.07 @ 18:07pm | #32953

example applicatin tree folder
structure for struts2

Posted by rizwan on Saturday, 10.6.07 @ 17:09pm | #31976

hi to all
i think this tutorial have some problem.when i down load estruts2 tutorial zip and extract it.after i use ant to rebuilt it.but after that it does not work..


also pls

in build.xml

<pathelement path ="lib/commons-beanutils.jar"/>
<pathelement path ="lib/commons-digester.jar"/>
<pathelement path ="lib/struts.jar"/>
<pathelement path ="libext/servlet-api.jar"/>
<pathelement path ="libext/catalina-ant.jar"/>


this jar file is used but in the lib folder

the following file present

commons-logging-1.1.jar
freemarker-2.3.8.jar
ognl-2.6.11.jar
struts2-core-2.0.6.jar
xwork-2.0.1.jar


i use struts 2.0.9 and tomcat 6.0.14

so can any one help me

i think my complied struts2tutorial.jar file is wrong

Posted by yogesh on Monday, 09.10.07 @ 15:25pm | #26580

You should have a note to get the beanutils and digester jars from the struts distribution as they are not in the struts2-blank.war ( at least for 2.0.8 ). Also, there should be a note that the user must edit the build.xml file to match the names of the beanutils, digester and struts2 jars to those that came with their distribution.

Posted by John on Sunday, 07.1.07 @ 07:11am | #20489

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Back to Tutorial

 

  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2007. All rights reserved.