I am getting the following error using the JSP Tag Library working with FDS
2.0.1.
17:22:06,821 INFO [STDOUT] [2007-04-13 17:22:06,821] ERROR org.apache.catalina.
core.ContainerBase.[jboss.web].[localhost].[/].[jsp] - Servlet.service() for ser
vlet jsp threw exception
java.lang.StackOverflowError
at java.lang.Object.getClass(Native Method)
at flex.bootstrap.BootstrapTag.<init>(BootstrapTag.java:39)
at flex.bootstrap.BootstrapBodyTag.<init>(BootstrapBodyTag.java:28)
at flex2.server.j2ee.jsp.MxmlTagImpl.<init>(MxmlTagImpl.java:2)
at sun.reflect.GeneratedConstructorAccessor42.newInstance(Unknown Source
)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at flex.bootstrap.BootstrapTag.<init>(BootstrapTag.java:39)
at flex.bootstrap.BootstrapBodyTag.<init>(BootstrapBodyTag.java:28)
at flex2.server.j2ee.jsp.MxmlTagImpl.<init>(MxmlTagImpl.java:2)
at sun.reflect.GeneratedConstructorAccessor42.newInstance(Unknown Source
)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
I am trying the simple example below...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="FlexTagLib" prefix="mm" %>
<html>
<head>
<title>Some Title</title>
</head>
<body>
<mm:mxml>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
height="170" width="488" verticalGap="2">
<mx:Text text="Hello World!!!!"/>
</mx:Application>
</mm:mxml>
</body>
</html>
I am running on JBoss 4.0.4.
I added the necessary jar files to my web application and added an entry in the
web.xml file for the tag library...
<!-- Custom TagLibs (start) -->
<jsp-config>
<taglib>
<taglib-uri>FlexTagLib</taglib-uri>
<taglib-location>/WEB-INF/lib/flex-bootstrap-jsp.jar</taglib-location>
</taglib>
</jsp-config>
<!-- Custom TagLibs (end) -->
Has anyone got this working?
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.