struts在jsp页面时  用<html:就能点出后面的那些的
可是我的点不出来  为什么啊
是struts1.3的  
============================jsp
<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%><%@ tagib uri="http://struts.apache.org/tags-html"  prefix="struts-html" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</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="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
  </head>
  
  <body> 
   <html:form action="/Login">
   user<html:text property="username" /> <br>
   pass<html:password property="userpass"/><br>
   <html:sumbit></html:sumbit>
   </html:form>
  </body> 
</html>

解决方案 »

  1.   

    <%@ tagib uri="http://struts.apache.org/tags-html"  prefix="struts-html" %>
    改为
    <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
      

  2.   

    就是<html:就能自动出现一系列封装的那些 text,password,这些啊
    就是不出现这个 
      

  3.   

    如果是 myeclipse ,用快捷键试试
    先打 <html:  然后 按下 “alt + /”