Interceptor names are camel-cased in S2.1.mumble. Try "tokenSession".
--- Shoaib Gauhar <[EMAIL PROTECTED]> wrote: > Regarding my previous mail, i have some how narrowed > down the problem. Below is my action as described in > my struts.xml. > > <action > name="LibraryItemFormInsertAction" > class="com.netsol.action.LibraryItemFormAction"> > <result > name="input">/WEB-INF/jsp/netsol/LibraryItemForm.jsp</result> > <result > name="error">/WEB-INF/jsp/netsol/LibraryItemForm.jsp</result> > <result > name="success" > type="redirect">/WEB-INF/jsp/netsol/LibraryItemForm.jsp</result> > > <interceptor-ref name="defaultStack"/> > <interceptor-ref name="token-session"/> > <result > name="invalid.token">/WEB-INF/jsp/netsol/LibraryItemForm.jsp</result> > > <result>/WEB-INF/jsp/netsol/LibraryItemForm.jsp</result> > </action> > > When i remove the statement "<interceptor-ref > name="token-session"/>" from the above actions it > works but token implementation doesnt work. But, > when i add it, it doesnt. > > Hello, > I have been using version 2.0.8 for the last couple > of months. It was running quite fine. But, now, i > need to upgrade it to 2.1.0. I have downloaded the > struts-2.1 ZIP file from > http://people.apache.org/builds/struts/2.1.0/ > I only replaced freemarker,xwork and struts-2-core > jar from the downloaded zip file. But it didnt work. > So, i copied all of the jar files and then checked > but it failed again and gave the same error. > "SEVERE: Error filterStart > SEVERE: Context [/library] startup failed due to > previous errors" > (/library is my projects path.) > The surprising thing is that the blank application > which i downloaded from the same URL is working fine > so it must be something wrong with my settings but > somehow i have been unable to track it down. That is > why i need your help. My application also runs with > struts 2.0.11 version perfectly. > Regards, > Shoaib Ahmad > > > > ____________________________________________________________________________________ > Be a better sports nut! Let your teams follow you > with Yahoo Mobile. Try it now. > http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]