Re: reusing jsp with different action

2006-11-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, > The only solution I can think of is some hack whereby I try to pass > the action to the JSP and in javascript do something like: > Form.action = 'some action.do' followed by Form.submit(); If you can pass the action into your JSP, why not do

reusing jsp with different action

2006-11-15 Thread Strachan, Paul
Hi, I have a JSP that submits to /actionA which forwards to tileA. I now want that JSP to alternatively submit to /actionB which forwards to tileB. Now both /actionA and /actionB execute the same action code, and return the same forward name. So in my struts-config its really easy to simply p