> Hi, > > We have a form in JSP rendered by Struts1 action class. > > But the form is submitted to the Struts2 action class which is > configured with Struts2 Token Interceptor. > > Is there any way to generate a struts2 token inside struts1 JSP file? > > Thanks & Regards, > Rajeswaran D >
Hi, you can invoke TokenHelper.setToken() from your struts1 code to generate it. In our apps that migrate from s1 to s2 we usually don't do things like that. We let one form be handled by one action. And migrate the wohle form/action to s2. Regards, Christoph This Email was scanned by Sophos Anti Virus