![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java Web
段刘昌
这个作者很懒,什么都没留下…
展开
-
JavaWeb:报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
JavaWeb: 报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 1、右击web工程-》属性或Build Path-》Java Build Path->Libraries-> Add Libray...->Server Runtime -》Tomca转载 2017-07-24 21:08:16 · 571 阅读 · 0 评论 -
Servlet+Ajax实现简易的仿百度搜索框智能提示
search.jsp<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> #mydiv { position:absolute; left:50%; top:50%; margin-left:-200px; margin-top:-50px; } .mouseO原创 2017-07-26 20:58:12 · 1600 阅读 · 0 评论 -
初识Struts2
web.xml HelloWorld struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter struts2 /* index.jsp struts.xml<!DOCTYPE struts P原创 2017-07-27 21:20:53 · 521 阅读 · 0 评论 -
<%=request.getContextPath()%>的作用
<a href="<%=request.getContextPath()%>/XXXX.jsp">指的是根目录下的xxxx.jsp假设你的要目录http://localhost:8080,你现在访问的页面为http://localhost:8080/admin/manage.jsp则<a href="<%=request.getContextPath()%>/XXXX.jsp">指向的链接转载 2017-12-16 11:18:07 · 2361 阅读 · 0 评论