帮小妹看看ajax提交到action的问题
我在webRoot->idc->report->report_add.jsp页面中用ajax提交到action总是报这错
140 ERROR RequestProcessor:664 - Invalid path /idc/report/report/report_distb was requested
找不出原因,我又在新建一个页面在webRoot->idc->res->MyJsp.jsp页面把report_add.jsp里面ajax部份拷贝到MyJsp.jsp页面下,再来提交就能提交到action.然后我把MyJsp.jsp放到webRoot->idc->report下还是不能提交.请高手们帮我看看是怎么回事.
这是要提交到的action在Struts-config.xml里面的配置
<action
path="/report_distb" scope="request"
type="EasyBSC.controller.action.res.report.ReportDisplayTbAction">
</action>
这是我新建的MyJsp.jsp
<%@ page import="java.util.*" contentType="text/html; charset=GBK" %>
<%
String head=request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>myjsp </title>
<link href=" <%=head %>/common/css/style.css" type="text/css" rel="stylesheet"/>
<script language="javascript" type="text/javascript" src=" <%=head %>/My97DatePicker/WdatePicker.js">
</script>
&l
相关问答:
第14章 的树型菜单的例子不能在IE中正常显示(树的结构可以展开,但展开后再点击就不能收缩了),但能在谷歌浏览器中使用,有看此书的朋友能指点下吗?
好贴 呵
dfgfgfgffffff
谢谢。
......
想知道怎么在DW中运行Ajax
我运行的文件报这个错..
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Unknown: Failed opening requir ......
查看源文件时出来的
<script type="text/javascript">
// <![CDATA[
Sys.Application.initialize();
Sys.Application.add_init(function() {
$create(Sys.UI._Upd ......
主页面Default设计代码如下:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Regis ......
请哥哥姐姐弟弟妹妹叔叔阿姨们帮帮忙
我遇见了一个跟您一样的问题,就是我的 Visual Web Developer 2008 简体版 安装AJAX的时候也出现问题,我下载AjaxControlToolkit
了也解压了,但是没有安装AspAjaxExtSetu ......