top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

Access result name from JSP

0 votes

I have an action where all the possible results show the initial screen. I do that by using a "*" result


But I would like to do some distinction in the underlying JSP between the diferent results, and for that I need to get the action result from the JSP. Is there an easy way to get it?

posted Jun 10, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

0 votes

I think there isn't a simple way. You must write an interceptor which
will set action name on the action, ie.

public String intercept(ActionInvocation ai) {
 Object action = ai.getAction();
 if (action instanceof ActionNameAware){
answer Jun 11, 2013 by anonymous
Similar Questions
+3 votes

I am trying to debug a javascript file, which is used in a .jsp file. When I debug the using F12 in IE10 I did not find that particular file in the debugger tool.

Can anybody please tell, why that particular file is not showing even it is present in project folder location?

+2 votes

I have some work to deal with directory upload..We can do individual file upload, but I want to know entire directory upload which will contain multiple files...

Useful Links with Similar Problem
Contact Us
+91 9880187415
#470/147, 3rd Floor, 5th Main,
HSR Layout Sector 7,
Bangalore - 560102,
Karnataka INDIA.