can any one faced the below problem..
i am new to struts 2 .
i am writting a sample ,in that user enter name , i am showing some custom message.
ex : if he enter name from UI jsp via <s:textfiled> something like james, I am showing as Hello James.
my jsp is working fine but i am unable reach my action class.
It is reaching but ".action" not appending in browser that why i cant reach action class..
i am using default package in struts.xml file..
Well, I'm saying that JSP pages should rarely, if ever, be accessed directly. That doesn't necessarily mean that *you* have to write the action class; if you create an action config with no "class" attribute then S2 will use a default action:The Convention plugin also creates actions for us if we don't create our own.
JSP pages should generally be under /WEB-INF anyway, to avoid direct access, as directly accessing JSPs can often times mess up application flow.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com