日期:2014-05-20  浏览次数:20803 次

一个jsp问题

<%@   page   contentType= "text/html;   charset=UTF-8 "   language= "java "     errorPage= "/util/error.jsp "   %>
<%@   include   file= "/util/checkSession.jsp "   %>
<%@   taglib   uri= "/WEB-INF/struts-bean.tld "   prefix= "bean "   %>
<%@   taglib   uri= "/WEB-INF/struts-html.tld "   prefix= "html "   %>
<%@   taglib   uri= "/WEB-INF/struts-logic.tld "   prefix= "logic "   %>

<!DOCTYPE   HTML   PUBLIC   "-//W3C//DTD   HTML   4.01   Transitional//EN ">
<html:html   locale= "true ">
    <head>
        <html:base   />
       
        <title> LoginJsp.jsp </title>

<meta   http-equiv= "pragma "   content= "no-cache ">
<meta   http-equiv= "cache-control "   content= "no-cache ">
<meta   http-equiv= "expires "   content= "0 ">        
<meta   http-equiv= "keywords "   content= "keyword1,keyword2,keyword3 ">
<meta   http-equiv= "Content-Type "   content= "text/html;   charset=UTF-8 "   />
<!--
<link   rel= "stylesheet "   type= "text/css "   href= "styles.css ">
-->

    </head>
   
    <body> <br>
        <html:form   action= "/login "   >
            <table   border= "0 ">
                <tr>
                          <td> userName: </td> <td> <html:text   property= "userName "   /> </td>
                </tr>
                <tr>
                    <td> Password: <br> </td>
                    <td> <html:password   property= "password "   /> <br> </td>
                </tr>
                <tr>
                    <td   colspan= "2 "   align= "center ">


<html:submit   property   = "dddd "> </html:submit> </td>
                </tr>
            </table>
        </html:form>
    </body>
</html:html>


大家帮忙看下这个JSP有什么问题,是不是struts标签不对?还是struts包有问题.我运行的时候总是出现空白页.通过看myeclipse控制台的信息,感觉是struts包不对,但是我都是用的myeclipse自带的包,应该没问题才对,反正是郁闷很久~谢谢了.

------解决方案--------------------
看上去tomcat启动没问题

应该是你程序问题 可能缺少包 或者配置不对