Skip to content
This repository has been archived by the owner on Jul 4, 2020. It is now read-only.

一些小问题 #10

Open
zzzzyc opened this issue Dec 24, 2018 · 1 comment
Open

一些小问题 #10

zzzzyc opened this issue Dec 24, 2018 · 1 comment

Comments

@zzzzyc
Copy link

zzzzyc commented Dec 24, 2018

刚学完jsp,看到这个想研究一下,默认打开的是index.jsp但是报错http:500
提示<jsp:forward page="/LoginServlet"/>这行有错,能否教我一下原因和怎么处理
message:An exception occurred processing [/index.jsp] at line [10]
Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

org.apache.jasper.JasperException: An exception occurred processing [/index.jsp] at line [10]

7: <title>MyBlog</title>
8:
9:
10: <jsp:forward page="/LoginServlet"/>
11:
12:

Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:607)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:496)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
blog.filter.CodeFilter.doFilter(CodeFilter.java:41)
blog.filter.VisitFilter.doFilter(VisitFilter.java:68)

@Eurus-Holmes
Copy link

默认打开的不是login.html吗。。。
不过然后点击访客登录是跳转到index.jsp,我也报错500了,求解决。。。
2018-12-25 2 46 25

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants