aspose file tools*
The moose likes Struts and the fly likes STRUTS 2 ERROR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "STRUTS 2 ERROR" Watch "STRUTS 2 ERROR" New topic


P Arunkumar
Ranch Hand

Joined: Jan 05, 2012
Posts: 118

I have developed simple calculation program in struts 2 iam faceing some problem please help me to solve my issue

My jsp page is :

My java code :

my web.xml

my struts.xml:

error : The server encountered an internal error () that prevented it from fulfilling this request.

Thanks in advance, please help me to solve my issue
Mohana Rao Sv
Ranch Hand

Joined: Aug 01, 2007
Posts: 485

Here, you are defining same actionName twice. Make it a habit of giving proper names to variables.

Another mistake you are passing same parameter for different variables. It should be.

ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
P Arunkumar
Ranch Hand

Joined: Jan 05, 2012
Posts: 118

Thank You so much. now i got answer.
I agree. Here's the link:
subject: STRUTS 2 ERROR
Similar Threads
struts Action mapped error
BinarySearch() Question
The Struts dispatcher cannot be found Error
Struts 2 problem-actions cant find the result. WARNING: Could not find action or result
Rounding a the nearest Integer, Tenths place, Hundredths place, etc..