|
From: JP P. <jp....@ti...> - 2003-07-08 22:16:53
|
Hi Alef, There is a good reason for this as the dot is interpreted as a property declaration. Think at .class or .url, you will see that your definitions are inconsistent as you expect the first dots to be normal characters and the last one defining a property. Why too stupid, I fall naturally also. But finally it's better so. Regards, Jean-Pierre =20 -----Message d'origine----- De=A0: spr...@li... [mailto:spr...@li...] De la part de Alef Arendsen Envoy=E9=A0: mercredi 9 juillet 2003 00:01 =C0=A0: spr...@li... Objet=A0: [Springframework-developer] Dots in views not possible? Hi all, Is there any reason why it's not possible to have .'s (dots) in your view-names (or am I stupid ;-). I keep getting the error message: <error>Invalid bean definition. Classname or parent must be supplied for bean with name 'jteam'</error> when I'm having the following view definitions in my view file: jteam.site.data.Employee.class=3Dcom.interface21.web.servlet.view.JstlVie= w jteam.site.data.Employee.url=3D/WEB-INF/jsp/employeelist.jsp I'm building myself datamanager and based on a request parameter (which in this case is a classname) I return the appropriate view. It would not be such a big problem to only append the classname (Employee) in there or replace the dots with anything else, but maybe there's another solution? Cheers Alef P.s. just shout if I'm asking questions that just are tooo stupid... ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |