我正在使用dwr发送和获取一些信息,但我收到了以下错误。
service(DwrSampleTest) is not defined
当我尝试使用下面这行代码查看该文件时:
http://localhost:8080/Servlets-DWR/dwr/index.html
我得到了以下异常:Access to debug pages is denied.
这是我的dwr.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dwr PUBLIC
"-//GetAhead Limite
下面是一个shell脚本:
echo Starting Jarvis Program D.
ALICE_HOME=.
SERVLET_LIB=lib/servlet.jar
ALICE_LIB=lib/aliceserver.jar
JS_LIB=lib/js.jar
# Set SQL_LIB to the location of your database driver.
SQL_LIB=lib/mysql_comp.jar
# These are for Jetty; you will want to change these if you are using a different
我创建了一个名为roleManagement.jsp的jsp文件:
<%@page import="com.sun.org.apache.xalan.internal.xsltc.compiler.sym"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.
我正在处理一个具有spring和maven的项目,当我使用eclipse run on server运行它时,一切都很好。但是当我做maven install和deploy时,应用程序就在tomcat上了。它显示了我正确的登录页面,但当我提交登录表单时。我得到了404和url myWebApp/j_spring_security_check。
我已经试过了我在这个话题上能找到的每一件事,这都是没有帮助的。
我要把我的web.xml,applicationContext.xml,spring-security.xml,login-page.jsp和pom.xml添加到这个问题中
web.xml