0 Replies Latest reply on Sep 20, 2009 12:56 PM by he yingshi

    Pls help , In Jboss5.1 As , The jsp was rendered twice .

    he yingshi Newbie

      Hello ,

      In Jboss5.1 As , I wrote a jsp file . following :

      <%@ page contentType="text/html; charset=utf-8" language="java" %>
      <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
      <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      ExtTop - Desktop Sample App11111111
      <script language="JavaScript" src="<c:url value='/common/scripts/plug-in/jquery/jquery-1.3.js'/>">



      nnnnnnnnnnnnnn



      Then , When I view the file in the browser , I get that as following:



      <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
      ExtTop - Desktop Sample App11111111


      <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
      ExtTop - Desktop Sample App11111111


      nnnnnnnnnnnnnn


      nnnnnnnnnnnnnn

      ,

      "nnnnnnnnnnnnnn" have been created repeat .

      Adding that , In 'WEB-INF/web.xml ' , I config sevlet as 2.4