Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

STRUTS 2 ERROR

 
P Arunkumar
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.



 
P Arunkumar
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi


Thank You so much. now i got answer.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic