#2
梧桐2007-05-11 19:17
|
在JBuilder调试jsp的时候会自动生成一个Servlet
<servlet>
<description>Added by JBuilder to compile JSPs with debug info</description>
<servlet-name>debugjsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>classdebuginfo</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>3</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>debugjsp</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
而在JBuilder中又找不到org.apache.jasper.servlet.JspServlet这个类,就是在web.xml中红色字体的语句有错!!!
从而导致接下来的调试出现 XML validation disabled 错误~~
请教有经验的朋友帮帮忙,谢谢了~~不胜感激!!!