Struts 2 dynamic menu issue
Jayaram Gokulan <karamvan-/[email protected]> Wed, 1 Apr 2009 21:39:06 -0700 (PDT)
| Newsgroups | gmane.comp.java.struts-menu.user |
|---|---|
| Message-ID | <[email protected]> |
--===============4346369497879776733==
Content-Type: multipart/alternative; boundary="0-1922373546-1238647146=:81954"
--0-1922373546-1238647146=:81954
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,
I use Struts2, Spring and hibernate in my project wanted to integrate Strut=
s menu, the dynamic roles from oracle db. I followed the link
=A0
http://demo.raibledesigns.com/struts-menu/dynamicMenu.jsp
=A0I copy pasted the code snippet into an action
=A0
import java.util.Map;
import javax.servlet.jsp.jstl.sql.Result;
import net.sf.navigator.menu.MenuComponent;
import net.sf.navigator.menu.MenuRepository;
public class MenuBuilderAction extends BaseAction {
/**
*=20
*/
private static final long serialVersionUID =3D 1L;
MenuRepository repository =3D new MenuRepository();
// Get the repository from the application scope - and copy the
// DisplayerMappings from it.
MenuRepository defaultRepository =3D (MenuRepository) getSession()
.getAttribute(MenuRepository.MENU_REPOSITORY_KEY);
//repository.setDisplayers(defaultRepository.getDisplayers());
Result result =3D (Result) getSession().getAttribute("menus");
Map[] rows =3D result.getRows();{
for (int i =3D 0; i < rows.length; i++) {
MenuComponent mc =3D new MenuComponent();
Map row =3D rows[i];
String name =3D (String) row.get("name");
mc.setName(name);
String parent =3D (String) row.get("parent_name");
System.out.println(name + ", parent is: " + parent);
if (parent !=3D null) {
MenuComponent parentMenu =3D repository.getMenu(parent);
if (parentMenu =3D=3D null) {
System.out.println("parentMenu '" + parent
+ "' doesn't exist!");
// create a temporary parentMenu
parentMenu =3D new MenuComponent();
parentMenu.setName(parent);
repository.addMenu(parentMenu);
}
mc.setParent(parentMenu);
}
String title =3D (String) row.get("title");
mc.setTitle(title);
String location =3D (String) row.get("location");
mc.setLocation(location);
repository.addMenu(mc);
}
getSession().setAttribute("repository", repository);
}
}
=A0
My menu-config.xml
=A0
<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<MenuConfig>
<Displayers>
<Displayer name=3D"Velocity" type=3D"net.sf.navigator.displayer.VelocityMen=
uDisplayer"/>
</Displayers>
<Menus>
<Menu name=3D"MainMenu" title=3D"mainMenu.title" page=3D"/mainMenu.html" ro=
les=3D"ROLE_ADMIN,ROLE_USER"/>
</Menu>
</Menus>
</MenuConfig>
=A0
ApplicationConfig.xml
<bean id=3D"menu" class=3D"net.sf.navigator.menu.MenuLoader">
<property name=3D"menuConfig">
<value>/WEB-INF/menu-config.xml</value>
</property>
</bean>
=A0
When i run my jsp i get
=A0
javax.servlet.jsp.JspException: The menu repository could not be found.=20
=A0
Kindly help
thanks,
Gokul
=A0=0A=0A=0A
--0-1922373546-1238647146=:81954
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
<table cellspacing=3D"0" cellpadding=3D"0" border=3D"0" ><tr><td valign=3D"=
top" style=3D"font: inherit;"><DIV>Hi,</DIV>
<DIV>I use Struts2, Spring and hibernate in my project wanted to integrate =
Struts menu, the dynamic roles from oracle db. I followed the link</DIV>
<DIV> </DIV>
<DIV><A href=3D"http://demo.raibledesigns.com/struts-menu/dynamicMenu.jsp">=
http://demo.raibledesigns.com/struts-menu/dynamicMenu.jsp</A></DIV>
<DIV> I copy pasted the code snippet into an action</DIV>
<DIV> </DIV><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0055 si=
ze=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> java.util.Map;</DIV=
>
<P align=3Dleft></DIV></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=
=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> javax.servlet.jsp.j=
stl.sql.Result;</DIV>
<P align=3Dleft></DIV></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=
=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> net.sf.navigator.me=
nu.MenuComponent;</DIV></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=
=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> net.sf.navigator.me=
nu.MenuRepository;</DIV>
<P align=3Dleft></DIV></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=
=3D#7f0055 size=3D2>
<P align=3Dleft>public</B></FONT></FONT><FONT size=3D2> </FONT><B><FONT col=
or=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>class</B></FONT></FONT=
><FONT size=3D2> MenuBuilderAction </FONT><B><FONT color=3D#7f0055 size=3D2=
><FONT color=3D#7f0055 size=3D2>extends</B></FONT></FONT><FONT size=3D2> Ba=
seAction {</DIV>
<P align=3Dleft></DIV>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf=
size=3D2>/**</DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf=
size=3D2>*</FONT></FONT><FONT size=3D2> </DIV>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf=
size=3D2>*/</DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>private</B></FONT></FONT><FONT size=3D2> </FONT><B><FONT color=
=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>static</B></FONT></FONT>=
<FONT size=3D2> </FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>final</B></FONT></FONT><FONT size=3D2> </FONT><B><FONT color=
=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>long</B></FONT></FONT><F=
ONT size=3D2> </FONT><I><FONT color=3D#0000c0 size=3D2><FONT color=3D#0000c=
0 size=3D2>serialVersionUID</I></FONT></FONT><FONT size=3D2> =3D 1L;</DIV>
<P align=3Dleft></DIV>
<P align=3Dleft>MenuRepository </FONT><FONT color=3D#0000c0 size=3D2><FONT =
color=3D#0000c0 size=3D2>repository</FONT></FONT><FONT size=3D2> =3D </FONT=
><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>new</B></=
FONT></FONT><FONT size=3D2> MenuRepository();</DIV>
<P align=3Dleft></DIV>
<P align=3Dleft></FONT><FONT color=3D#3f7f5f size=3D2><FONT color=3D#3f7f5f=
size=3D2>// Get the repository from the application scope - and copy the</=
DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#3f7f5f size=3D2><FONT color=3D#3f7f5f=
size=3D2>// DisplayerMappings from it.</DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft>MenuRepository </FONT><FONT color=3D#0000c0 size=3D2><FONT =
color=3D#0000c0 size=3D2>defaultRepository</FONT></FONT><FONT size=3D2> =3D=
(MenuRepository) getSession()</DIV>
<P align=3Dleft>.getAttribute(MenuRepository.</FONT><I><FONT color=3D#0000c=
0 size=3D2><FONT color=3D#0000c0 size=3D2>MENU_REPOSITORY_KEY</I></FONT></F=
ONT><FONT size=3D2>);</DIV>
<P align=3Dleft></DIV>
<P align=3Dleft></FONT><FONT color=3D#3f7f5f size=3D2><FONT color=3D#3f7f5f=
size=3D2>//repository.setDisplayers(defaultRepository.getDisplayers());</D=
IV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></DIV>
<P align=3Dleft>Result </FONT><FONT color=3D#0000c0 size=3D2><FONT color=3D=
#0000c0 size=3D2>result</FONT></FONT><FONT size=3D2> =3D (Result) getSessio=
n().getAttribute(</FONT><FONT color=3D#2a00ff size=3D2><FONT color=3D#2a00f=
f size=3D2>"menus"</FONT></FONT><FONT size=3D2>);</DIV>
<P align=3Dleft></DIV>
<P align=3Dleft>Map[] </FONT><FONT color=3D#0000c0 size=3D2><FONT color=3D#=
0000c0 size=3D2>rows</FONT></FONT><FONT size=3D2> =3D </FONT><FONT color=3D=
#0000c0 size=3D2><FONT color=3D#0000c0 size=3D2>result</FONT></FONT><FONT s=
ize=3D2>.getRows();{</DIV>
<P align=3Dleft></DIV>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>for</B></FONT></FONT><FONT size=3D2> (</FONT><B><FONT color=3D=
#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>int</B></FONT></FONT><FONT =
size=3D2> i =3D 0; i < </FONT><FONT color=3D#0000c0 size=3D2><FONT color=
=3D#0000c0 size=3D2>rows</FONT></FONT><FONT size=3D2>.</FONT><FONT color=3D=
#0000c0 size=3D2><FONT color=3D#0000c0 size=3D2>length</FONT></FONT><FONT s=
ize=3D2>; i++) {</DIV>
<P align=3Dleft>MenuComponent mc =3D </FONT><B><FONT color=3D#7f0055 size=
=3D2><FONT color=3D#7f0055 size=3D2>new</B></FONT></FONT><FONT size=3D2> Me=
nuComponent();</DIV>
<P align=3Dleft>Map row =3D </FONT><FONT color=3D#0000c0 size=3D2><FONT col=
or=3D#0000c0 size=3D2>rows</FONT></FONT><FONT size=3D2>[i];</DIV>
<P align=3Dleft>String name =3D (String) row.get(</FONT><FONT color=3D#2a00=
ff size=3D2><FONT color=3D#2a00ff size=3D2>"name"</FONT></FONT><FONT size=
=3D2>);</DIV>
<P align=3Dleft>mc.setName(name);</DIV>
<P align=3Dleft>String parent =3D (String) row.get(</FONT><FONT color=3D#2a=
00ff size=3D2><FONT color=3D#2a00ff size=3D2>"parent_name"</FONT></FONT><FO=
NT size=3D2>);</DIV>
<P align=3Dleft>System.</FONT><I><FONT color=3D#0000c0 size=3D2><FONT color=
=3D#0000c0 size=3D2>out</I></FONT></FONT><FONT size=3D2>.println(name + </F=
ONT><FONT color=3D#2a00ff size=3D2><FONT color=3D#2a00ff size=3D2>", parent=
is: "</FONT></FONT><FONT size=3D2> + parent);</DIV>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>if</B></FONT></FONT><FONT size=3D2> (parent !=3D </FONT><B><FO=
NT color=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>null</B></FONT><=
/FONT><FONT size=3D2>) {</DIV>
<P align=3Dleft>MenuComponent parentMenu =3D </FONT><FONT color=3D#0000c0 s=
ize=3D2><FONT color=3D#0000c0 size=3D2>repository</FONT></FONT><FONT size=
=3D2>.getMenu(parent);</DIV>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>if</B></FONT></FONT><FONT size=3D2> (parentMenu =3D=3D </FONT>=
<B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>null</B></=
FONT></FONT><FONT size=3D2>) {</DIV>
<P align=3Dleft>System.</FONT><I><FONT color=3D#0000c0 size=3D2><FONT color=
=3D#0000c0 size=3D2>out</I></FONT></FONT><FONT size=3D2>.println(</FONT><FO=
NT color=3D#2a00ff size=3D2><FONT color=3D#2a00ff size=3D2>"parentMenu '"</=
FONT></FONT><FONT size=3D2> + parent</DIV>
<P align=3Dleft>+ </FONT><FONT color=3D#2a00ff size=3D2><FONT color=3D#2a00=
ff size=3D2>"' doesn't exist!"</FONT></FONT><FONT size=3D2>);</DIV>
<P align=3Dleft></FONT><FONT color=3D#3f7f5f size=3D2><FONT color=3D#3f7f5f=
size=3D2>// create a temporary parentMenu</DIV></FONT></FONT><FONT size=3D=
2>
<P align=3Dleft>parentMenu =3D </FONT><B><FONT color=3D#7f0055 size=3D2><FO=
NT color=3D#7f0055 size=3D2>new</B></FONT></FONT><FONT size=3D2> MenuCompon=
ent();</DIV>
<P align=3Dleft>parentMenu.setName(parent);</DIV>
<P align=3Dleft></FONT><FONT color=3D#0000c0 size=3D2><FONT color=3D#0000c0=
size=3D2>repository</FONT></FONT><FONT size=3D2>.addMenu(parentMenu);</DIV=
>
<P align=3Dleft>}</DIV>
<P align=3Dleft></DIV>
<P align=3Dleft>mc.setParent(parentMenu);</DIV>
<P align=3Dleft>}</DIV>
<P align=3Dleft>String title =3D (String) row.get(</FONT><FONT color=3D#2a0=
0ff size=3D2><FONT color=3D#2a00ff size=3D2>"title"</FONT></FONT><FONT size=
=3D2>);</DIV>
<P align=3Dleft>mc.setTitle(title);</DIV>
<P align=3Dleft>String location =3D (String) row.get(</FONT><FONT color=3D#=
2a00ff size=3D2><FONT color=3D#2a00ff size=3D2>"location"</FONT></FONT><FON=
T size=3D2>);</DIV>
<P align=3Dleft>mc.setLocation(location);</DIV>
<P align=3Dleft></FONT><FONT color=3D#0000c0 size=3D2><FONT color=3D#0000c0=
size=3D2>repository</FONT></FONT><FONT size=3D2>.addMenu(mc);</DIV>
<P align=3Dleft>}</DIV>
<P align=3Dleft>getSession().setAttribute(</FONT><FONT color=3D#2a00ff size=
=3D2><FONT color=3D#2a00ff size=3D2>"repository"</FONT></FONT><FONT size=3D=
2>, </FONT><FONT color=3D#0000c0 size=3D2><FONT color=3D#0000c0 size=3D2>re=
pository</FONT></FONT><FONT size=3D2>);</DIV>
<P align=3Dleft>}</DIV>
<P align=3Dleft>}</DIV></FONT>
<DIV> </DIV>
<DIV><STRONG>My menu-config.xml</STRONG></DIV>
<DIV> </DIV><FONT color=3D#008080 size=3D2><FONT color=3D#008080 size=
=3D2>
<P align=3Dleft><?</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT col=
or=3D#3f7f7f size=3D2>xml </FONT></FONT><FONT color=3D#7f007f size=3D2><FON=
T color=3D#7f007f size=3D2>version</FONT></FONT><FONT size=3D2>=3D</FONT><F=
ONT color=3D#2a00ff size=3D2><FONT color=3D#2a00ff size=3D2>"1.0" </FONT></=
FONT><FONT color=3D#7f007f size=3D2><FONT color=3D#7f007f size=3D2>encoding=
</FONT></FONT><FONT size=3D2>=3D</FONT><FONT color=3D#2a00ff size=3D2><FONT=
color=3D#2a00ff size=3D2>"UTF-8"</FONT></FONT><FONT color=3D#008080 size=
=3D2><FONT color=3D#008080 size=3D2>?></DIV>
<P align=3Dleft><</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT colo=
r=3D#3f7f7f size=3D2>MenuConfig</FONT></FONT><FONT color=3D#008080 size=3D2=
><FONT color=3D#008080 size=3D2>></DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#008080 size=3D2><FONT color=3D#008080=
size=3D2><</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT color=3D#3=
f7f7f size=3D2>Displayers</FONT></FONT><FONT color=3D#008080 size=3D2><FONT=
color=3D#008080 size=3D2>></DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#008080 size=3D2><FONT color=3D#008080=
size=3D2><</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT color=3D#3=
f7f7f size=3D2>Displayer </FONT></FONT><FONT color=3D#7f007f size=3D2><FONT=
color=3D#7f007f size=3D2>name</FONT></FONT><FONT size=3D2>=3D</FONT><FONT =
color=3D#2a00ff size=3D2><FONT color=3D#2a00ff size=3D2>"Velocity" </FONT><=
/FONT><FONT color=3D#7f007f size=3D2><FONT color=3D#7f007f size=3D2>type</F=
ONT></FONT><FONT size=3D2>=3D</FONT><FONT color=3D#2a00ff size=3D2><FONT co=
lor=3D#2a00ff size=3D2>"net.sf.navigator.displayer.VelocityMenuDisplayer"</=
FONT></FONT><FONT color=3D#008080 size=3D2><FONT color=3D#008080 size=3D2>/=
></DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#008080 size=3D2><FONT color=3D#008080=
size=3D2></</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT color=3D#=
3f7f7f size=3D2>Displayers</FONT></FONT><FONT color=3D#008080 size=3D2><FON=
T color=3D#008080 size=3D2>></DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#008080 size=3D2><FONT color=3D#008080=
size=3D2><</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT color=3D#3=
f7f7f size=3D2>Menus</FONT></FONT><FONT color=3D#008080 size=3D2><FONT colo=
r=3D#008080 size=3D2>></DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#008080 size=3D2><FONT color=3D#008080=
size=3D2><</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT color=3D#3=
f7f7f size=3D2>Menu </FONT></FONT><FONT color=3D#7f007f size=3D2><FONT colo=
r=3D#7f007f size=3D2>name</FONT></FONT><FONT size=3D2>=3D</FONT><FONT color=
=3D#2a00ff size=3D2><FONT color=3D#2a00ff size=3D2>"MainMenu" </FONT></FONT=
><FONT color=3D#7f007f size=3D2><FONT color=3D#7f007f size=3D2>title</FONT>=
</FONT><FONT size=3D2>=3D</FONT><FONT color=3D#2a00ff size=3D2><FONT color=
=3D#2a00ff size=3D2>"mainMenu.title" </FONT></FONT><FONT color=3D#7f007f si=
ze=3D2><FONT color=3D#7f007f size=3D2>page</FONT></FONT><FONT size=3D2>=3D<=
/FONT><FONT color=3D#2a00ff size=3D2><FONT color=3D#2a00ff size=3D2>"/mainM=
enu.html" </FONT></FONT><FONT color=3D#7f007f size=3D2><FONT color=3D#7f007=
f size=3D2>roles</FONT></FONT><FONT size=3D2>=3D</FONT><FONT color=3D#2a00f=
f size=3D2><FONT color=3D#2a00ff size=3D2>"ROLE_ADMIN,ROLE_USER"</FONT></FO=
NT><FONT color=3D#008080 size=3D2><FONT color=3D#008080 size=3D2>/></DIV=
></FONT></FONT><FONT
size=3D2>
<P align=3Dleft></DIV>
<P align=3Dleft></FONT><FONT color=3D#008080 size=3D2><FONT color=3D#008080=
size=3D2></</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT color=3D#=
3f7f7f size=3D2>Menu</FONT></FONT><FONT color=3D#008080 size=3D2><FONT colo=
r=3D#008080 size=3D2>></DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#008080 size=3D2><FONT color=3D#008080=
size=3D2></</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT color=3D#=
3f7f7f size=3D2>Menus</FONT></FONT><FONT color=3D#008080 size=3D2><FONT col=
or=3D#008080 size=3D2>></DIV>
<P align=3Dleft></</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT col=
or=3D#3f7f7f size=3D2>MenuConfig</FONT></FONT><FONT color=3D#008080 size=3D=
2><FONT color=3D#008080 size=3D2>></FONT></FONT></DIV>
<P align=3Dleft><FONT color=3D#008080 size=3D2><FONT color=3D#008080 size=
=3D2></FONT></FONT> </DIV>
<P align=3Dleft><FONT color=3D#008080 size=3D2><FONT color=3D#008080 size=
=3D2><STRONG>ApplicationConfig.xml</STRONG></FONT></FONT></DIV><FONT color=
=3D#008080 size=3D2><FONT color=3D#008080 size=3D2><FONT color=3D#008080 si=
ze=3D2><FONT color=3D#008080 size=3D2>
<P align=3Dleft><</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT colo=
r=3D#3f7f7f size=3D2>bean </FONT></FONT><FONT color=3D#7f007f size=3D2><FON=
T color=3D#7f007f size=3D2>id</FONT></FONT><FONT color=3D#000000 size=3D2>=
=3D</FONT><FONT color=3D#2a00ff size=3D2><FONT color=3D#2a00ff size=3D2>"me=
nu" </FONT></FONT><FONT color=3D#7f007f size=3D2><FONT color=3D#7f007f size=
=3D2>class</FONT></FONT><FONT color=3D#000000 size=3D2>=3D</FONT><FONT colo=
r=3D#2a00ff size=3D2><FONT color=3D#2a00ff size=3D2>"net.sf.navigator.menu.=
MenuLoader"</FONT></FONT><FONT color=3D#008080 size=3D2><FONT color=3D#0080=
80 size=3D2>></DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#008080 size=3D2><FONT color=3D#008080=
size=3D2><</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT color=3D#3=
f7f7f size=3D2>property </FONT></FONT><FONT color=3D#7f007f size=3D2><FONT =
color=3D#7f007f size=3D2>name</FONT></FONT><FONT size=3D2>=3D</FONT><FONT c=
olor=3D#2a00ff size=3D2><FONT color=3D#2a00ff size=3D2>"menuConfig"</FONT><=
/FONT><FONT color=3D#008080 size=3D2><FONT color=3D#008080 size=3D2>></D=
IV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#008080 size=3D2><FONT color=3D#008080=
size=3D2><</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT color=3D#3=
f7f7f size=3D2>value</FONT></FONT><FONT color=3D#008080 size=3D2><FONT colo=
r=3D#008080 size=3D2>></FONT></FONT><FONT size=3D2>/WEB-INF/menu-config.=
xml</FONT><FONT color=3D#008080 size=3D2><FONT color=3D#008080 size=3D2><=
;/</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT color=3D#3f7f7f size=
=3D2>value</FONT></FONT><FONT color=3D#008080 size=3D2><FONT color=3D#00808=
0 size=3D2>></DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#008080 size=3D2><FONT color=3D#008080=
size=3D2></</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT color=3D#=
3f7f7f size=3D2>property</FONT></FONT><FONT color=3D#008080 size=3D2><FONT =
color=3D#008080 size=3D2>></DIV>
<DIV></</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT color=3D#3f7f7=
f size=3D2>bean</FONT></FONT><FONT color=3D#008080 size=3D2><FONT color=3D#=
008080 size=3D2>></FONT></FONT></DIV>
<DIV><FONT color=3D#008080 size=3D2><FONT color=3D#008080 size=3D2></FONT><=
/FONT> </DIV>
<DIV><FONT color=3D#008080 size=3D2><FONT color=3D#008080 size=3D2>When i r=
un my jsp i get</FONT></FONT></DIV>
<DIV><FONT color=3D#008080 size=3D2><FONT color=3D#008080 size=3D2></FONT><=
/FONT> </DIV>
<DIV><FONT color=3D#008080 size=3D2><FONT color=3D#008080 size=3D2>javax.se=
rvlet.jsp.JspException: The menu repository could not be found. </FONT></FO=
NT></DIV>
<DIV><FONT color=3D#008080 size=3D2><FONT color=3D#008080 size=3D2></FONT><=
/FONT> </DIV>
<DIV><FONT color=3D#008080 size=3D2><FONT color=3D#008080 size=3D2>Kindly h=
elp</FONT></FONT></DIV>
<DIV><FONT color=3D#008080 size=3D2><FONT color=3D#008080 size=3D2>thanks,<=
/FONT></FONT></DIV>
<DIV><FONT color=3D#008080 size=3D2><FONT color=3D#008080 size=3D2>Gokul</D=
IV></FONT></FONT></FONT></FONT>
<P align=3Dleft><FONT color=3D#008080 size=3D2><FONT color=3D#008080 size=
=3D2> </DIV></FONT></FONT></td></tr></table><br>=0A=0A
--0-1922373546-1238647146=:81954--
--===============4346369497879776733==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
--===============4346369497879776733==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
struts-menu-user mailing list
struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/struts-menu-user
--===============4346369497879776733==--