If I add the location of web.xml or any other thing to here private static final String CONFIG_LOCATIONS = "file:src/struts.xml" ; I got a parsing error. I am not very experienced with tiles, I just test the code in a big project. The problem is , if I do not include tiles, my unit test works perfectly. If you did not look at the BaseStrutsTEstCase class, it is a helper class to create an artificial environment for requests and interceptors. May be my problem is related to the jUnit part, but why I can't test with tiles?
Antonio Petrelli-3 wrote: > > 2008/6/26 ezgi <[EMAIL PROTECTED]>: >> I have just replaced the code with the new one, isn't it the one you >> suggested? > > Yes, but you had to adapt it to your needs. > By the way, do you still receive a parsing error, at startup? > > Antonio > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/jUnit-Testing-Problem-with-Tiles-tp18131822p18133212.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]