Hi Matt,
The contents of the jsp file are:-
It is the permissionsForn.jsp
<%@ include file="/common/header.jsp"%>
Select menus to <b>disable</b>.
<br />
<html:form action="/setPermissions">
<table border="1">
<tr>
<td>
<table cellpadding=0 cellspacing=0>
<tr valign=top>
<td>
<menu:useMenuDisplayer name="ListMenu"
bundle="org.apache.struts.action.MESSAGE">
<table cellpadding=0 cellspacing=0>
<tr>
<td>
<menu:displayMenu name="ToDoListMenuFile"/>
</td>
</tr>
<tr>
<td>
<menu:displayMenu name="ToDoListMenuEdit"/>
</td>
</tr>
</table>
</menu:useMenuDisplayer>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<input type="radio" name="displayer" id="displayer"
value="CoolMenu" checked="checked"/> Use CoolMenu3<br />
<input type="radio" name="displayer" id="displayer"
value="CoolMenu4" /> Use CoolMenu4<br />
<input type="radio" name="displayer" id="displayer"
value="ListMenu" /> Use ListMenu <br />
<!-- this line is inserted by me -->
<input type="radio" name="displayer" id="displayer"
value="Velocity" /> Use Velocity
</td>
</tr>
<tr>
<td>
<html:submit value="Set Permissions"/>
</td>
</tr>
</table>
</html:form>
<%@ include file="/common/footer.jsp"%>
This is the error I get
Error 500--Internal Server Error
javax.servlet.jsp.JspException: Error initializing Velocity:
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'net.sf.navigator.displayer.DisplayerStrings'
at
net.sf.navigator.taglib.DisplayMenuTag.doStartTag(DisplayMenuTag.java:13
5)
at
jsp_servlet.__permissionsmenu._jspService(__permissionsmenu.java:198)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:1053)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:387)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:431)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:305)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContext.java:6310)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118
)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3622)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
HMB
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt
Raible
Sent: Friday, January 28, 2005 4:20 AM
To: [email protected]
Subject: Re: [struts-menu] Help!!!!!
What resource was not found? Can you post the contents of the JSP?
Have you looked at the velocity examples that ship in the WAR?
Matt
Hemlata Babaria wrote:
> Hi,
>
> Can anyone tell me how to configure menus using database. Also
> how about using permissions. I want to use velocity as my displayer. I
> used the example in the struts-menu.war. In the permissionsMenu.jsp
> only 3 displayers are used i.e. CoolMenu, CoolMenu4 & ListMenu. I
> modified this jsp to use Velocity as my displayer but was not
> successful. I got an error * javax.servlet.jsp.JspException: Error
> initializing Velocity:
> org.apache.velocity.exception.ResourceNotFoundException *
>
>
>
> HMB
>
>
>
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
struts-menu-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/struts-menu-user
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
struts-menu-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/struts-menu-user