请教关于jsp:forward 实现的问题
我写了两个jsp文件如下
forword.jsp
<html>
<head>
<title>forword example </title>
<head>
<body bgcolor=red>
<center>
Welcome to here!
<jsp:forward page="forforward.jsp">
<center>
</body>
</html>
forforward.jsp
<html>
<head>
<title>forforward.jsp </title>
<head>
<body bgcolor=blue>
<center>
Here is the forforward page
<center>
</body>
</html>
在浏览其中输入地址http://localhost:8080/myapp/05/forword.jsp
但是报错
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /05/forword.jsp(10,14) Invalid standard action
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:83)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:402)
org.apache.jasper.compiler.ErrorDispatcher.jspError(
相关问答:
我的开发的平台是Myeclipes6.0 + tomcat5.x + mysql
我所有的编码方式都是用的UTF-8
我只用了Strtus框架
在一个form中如下用的是post的提交方式:
<form class="form" action=&quo ......
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jas ......
问题描述:
例如我要显示的内容如下所示
一级目录1
一级目录1子类1
子类1
一级目录1子类2
......