*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "STRUTS 2 ERROR" Watch "STRUTS 2 ERROR" New topic
Author

STRUTS 2 ERROR

P Arunkumar
Ranch Hand

Joined: Jan 05, 2012
Posts: 119
Hi

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: 119
Hi


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