Hi, Struts-layout menu tags only throw a ServletException when trying to access an uninitialized menu repository. However the code you sent does not use it.
First think, could you check that menu.jar from the struts-layout example is in your classpath. If yes, could you send the exception stack trace ? Regards, Jean-Noel Ribette -- --__/ \__------------------------------------------ improve Jean-No�l Ribette --/-----\------------------------------------------ Tel : 01 41 97 83 20 http://www.improve.fr http://www.application-servers.com At 10:42 AM 3/11/02 +0100, you wrote: >Hello, > >I encounter a problem with the implementation of the struts layout dynmenu >I tried with the example source from http://struts.application-servers.com/ >but it doesn't work. > ><layout:dynMenu config="org.apache.struts.webapp.example.Mainmenu" >left="100" top="150"> > <layout:menuItem key="menu.test.menu1" link="link1.html"/> > <layout:menuItem key="menu.test.menu2"> > <layout:menuItem key="menu.test.item1" link="link2.html"/> > <layout:menuItem key="menu.test.item2" link="link3.html"/> > </layout:menuItem> > <layout:menuItem key="menu.test.menu3"> > <layout:menuItem key="menu.test.menu4"> > <layout:menuItem key="menu.test.item3" >link="link4.html"/> > <layout:menuItem key="menu.test.item4" >link="link5.html"/> > </layout:menuItem> > <layout:menuItem key="menu.test.item5" link="link6.html"/> > </layout:menuItem> > <layout:menuItem key="menu.test.menu5" link="link7.html"/> ></layout:dynMenu> > >I tried to create a configuration file named Mainmenu but I still have the >following error : > >javax.servlet.ServletException: com/fgm/web/menu/MenuBase > >Thank for your help > >________________________________________ >Jean-R�my GALLAPONT >SchlumbergerSema >Ing�nieur charg� d'�tudes >Tel: 04.97.15.79.20 >[EMAIL PROTECTED] > >150, All�e Pierre Ziller - Les Bouillides >BP279 - 06905 Sophia-Antipolis Cedex >Fax: 04.94.15.89.01 >________________________________________ > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
