Thanks. it works fine now. From now on i will be reading the trouble-shooting first before migrating anything.
Regards, Shoaib ----- Original Message ---- From: Jeromy Evans <[EMAIL PROTECTED]> To: Struts Users Mailing List <user@struts.apache.org> Sent: Wednesday, November 28, 2007 12:12:04 PM Subject: Re: Upgradation from 2.0.8 to 2.0.11 All interceptor names have been converted to camelcase. eg. token-session to tokenSession Take a look at the migration trouble-shooting guide: http://cwiki.apache.org/confluence/display/S2WIKI/Troubleshooting+guide+migrating+from+Struts+2.0.x+to+2.1.x and contribute to the notes if you've solved some other issues :-) regards, Jeromy Evans Shoaib Gauhar 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] ____________________________________________________________________________________ Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]