jsp 中嵌入flex 报异常
我按照网上的方法,在jsp中嵌入flex(我创建的是flexproject),老是报HTTPStatus500-异常org.apache.jasper.JasperExc...
我按照网上的方法,在jsp中嵌入flex(我创建的是flex project),老是报HTTP Status 500 -异常
org.apache.jasper.JasperException: An exception occurred processing JSP page /Flex/test.jsp at line 12
9: <title>Insert title here</title>
10: </head>
11: <body>
12: <mm:mxml>
13: <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*">
14: <mx:Text text="Hello World" />
15: </mx:Application>
请问我要怎么解决这个异常,还有jsp中嵌入flex是创建一个flex工程,还是创建一个普通的web工程?
我的代码为:
<%@ taglib uri="FlexTagLib" prefix="mm"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<mm:mxml source="JspDemo.swf" width="100%" height="100%">
</mm:mxml>
</body>
</html>
可是他还是报错:
org.apache.jasper.JasperException: An exception occurred processing JSP page /Flex/test.jsp at line 12
9: <title>Insert title here</title>
10: </head>
11: <body>
12: <mm:mxml source="JspDemo.swf" width="100%" height="100%">
13:
14: </mm:mxml>
15: 展开
org.apache.jasper.JasperException: An exception occurred processing JSP page /Flex/test.jsp at line 12
9: <title>Insert title here</title>
10: </head>
11: <body>
12: <mm:mxml>
13: <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*">
14: <mx:Text text="Hello World" />
15: </mx:Application>
请问我要怎么解决这个异常,还有jsp中嵌入flex是创建一个flex工程,还是创建一个普通的web工程?
我的代码为:
<%@ taglib uri="FlexTagLib" prefix="mm"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<mm:mxml source="JspDemo.swf" width="100%" height="100%">
</mm:mxml>
</body>
</html>
可是他还是报错:
org.apache.jasper.JasperException: An exception occurred processing JSP page /Flex/test.jsp at line 12
9: <title>Insert title here</title>
10: </head>
11: <body>
12: <mm:mxml source="JspDemo.swf" width="100%" height="100%">
13:
14: </mm:mxml>
15: 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询