HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 20 in the jsp file: /houtai/add1.jsp
Control cannot be resolved to a type
17: <%=two %>
18: <%=name %>
19: <%=newcontrol%>
20: <%Control cons=new Control(one,two,name,newcontrol); %>
21: </body>
22: </html>
An error occurred at line: 20 in the jsp file: /houtai/add1.jsp
Control cannot be resolved to a type
17: <%=two %>
18: <%=name %>
19: <%=newcontrol%>
20: <%Control cons=new Control(one,two,name,newcontrol); %>
21: </body>
22: </html>原因在时 什么??
Control cannot be resolved to a type
17: <%=two %>
18: <%=name %>
19: <%=newcontrol%>
20: <%Control cons=new Control(one,two,name,newcontrol); %>
21: </body>
22: </html>
An error occurred at line: 20 in the jsp file: /houtai/add1.jsp
Control cannot be resolved to a type
17: <%=two %>
18: <%=name %>
19: <%=newcontrol%>
20: <%Control cons=new Control(one,two,name,newcontrol); %>
21: </body>
22: </html>原因在时 什么??
Control cannot be resolved to a type
Control类import进来就行了
<%@ page import="包.Control "%>