Never put any class in the .切勿將任何 class 放入默認的 中。 The is not to in a , and since the JSP is in a class by , and this class is in a , it can't your Model class. The is not to in a , and since the JSP is in a class by , and this class is in a , it can't your Model class.
Once it's in a well- , you'll have to it, as shows in his :一旦它位于定義明確的 中http500內部服務器錯誤什么意思,您就必須導入它http500內部服務器錯誤什么意思,正如 在他的回答中顯示的那樣:
<%@page import="somepackage.Model"%>
