It all looks fine but still i would request you to post action class and struts.xml using code tag. If you are running from IDE make sure after changing struts.xml you restart the server because it's supposed to be redeployed.check once whether there is any spelling mistake or not in method name.
Joined: Nov 17, 2012
Are you implementing Action interface from struts jar.It's required because your class must have one execute method with that signature.
if don't want execute method to execute then just provide a default implementation of it. or else extend ActionSupport class from struts jar because it has default implementation of execute method.
Joined: May 05, 2013
Hey Ayan..I tried again with default execute() method but it didn't work. Have posted the codes. Can you suggest..