I guys. I'm having a weird problem.
Here's my XML file:
<?xml version="1.0"?>
<SIGNON>
<APPLICATION name="reporter" url="managment/managment.jsp">
<MENU name="m1">
<OBJECT name="o1"/>
</MENU>
<MENU name="m2">
<OBJECT name="o2"/>
</MENU>
<MENU name="m3">
<OBJECT name="o3"/>
</MENU>
</APPLICATION>
</SIGNON>
And here's my JSP file:
<%@ page language="java" session="true"%>
<%@ taglib uri="http://jakarta.apache.org/taglibs/xtags-1.0" prefix="xtags"
%>
<html>
<head>
</head>
<script language="JavaScript" src="managment.js"></script>
<body bgcolor="#FFFFFF">
<%
String menu = null;
//the permissions string will have the xml above.
String permissions = (String)session.getAttribute("permissions");
if(request.getParameter("menu") != null) {
session.putValue("menu", request.getParameter("menu"));
menu = (String)session.getAttribute("menu");
} else {
menu = "_null_";
}
%>
<xtags:style xsl="/WEB-INF/classes/accesscontrol/myclasses/managment.xsl">
<%= permissions %>
<xtags:param name="application" value="managment"/>
<xtags:param name="menu" value="<%= menu %>"/>
</xtags:style>
</body>
</html>
NOTE: the "request.getParameter("menu")" is always instanciated internally
in the
XSL file "managment.xsl".
The error that appears in my browser is:
org.apache.jasper.compiler.CompileException:
/home/miguel/presentation/managment/managment.jsp(23,2) Unable to convert a
String to java.lang.Object for attribute value
I don�t understand were the problem is coming from.
Can someone help me?
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>