| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1709 人关注过本帖
标题:request传值问题
只看楼主 加入收藏
lukehekang
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2008-5-26
收藏
 问题点数:0 回复次数:9 
request传值问题
<p>
<b> The fields values is : </b>
<p>
<%d1 = Request("Name")%> <%=d1%>
<%d2 = Request("Sex" )%> <%=d2%>
<%d3 = Request("Birthday")%><%=d3%>
<%d4 = Request("Nationality")%><%=d4%>
<%d5 = Request("Marry" )%><%=d5%>
<%d6 = Request("Salary") %><%=d6%>
<p>
为什么用adobe建立得一个对应得表单无法获取其中得值
搜索更多相关主题的帖子: request 传值 
2008-05-26 13:29
SkyGull
Rank: 5Rank: 5
来 自:浙江杭州
等 级:贵宾
威 望:13
帖 子:839
专家分:324
注 册:2007-6-7
收藏
得分:0 
获取表单赋值和adobe有什么关系?
2008-05-26 13:48
lukehekang
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2008-5-26
收藏
得分:0 
回复 2# SkyGull 的帖子
表单是用adobe desinger建立得。。
2008-05-26 13:59
yms123
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:209
帖 子:12488
专家分:19042
注 册:2004-7-17
收藏
得分:0 
检查表单的method属性是什么method=post还是method=get
2008-05-26 15:49
SkyGull
Rank: 5Rank: 5
来 自:浙江杭州
等 级:贵宾
威 望:13
帖 子:839
专家分:324
注 册:2007-6-7
收藏
得分:0 
request就可以包含post或get了
2008-05-26 17:07
multiple1902
Rank: 8Rank: 8
等 级:贵宾
威 望:42
帖 子:4881
专家分:671
注 册:2007-2-9
收藏
得分:0 
[bo][un]lukehekang[/un] 在 2008-5-26 13:29 的发言:[/bo]
为什么用adobe建立得一个对应得表单无法获取其中得值


检查表单。
2008-05-26 20:58
hmhz
Rank: 7Rank: 7Rank: 7
等 级:贵宾
威 望:30
帖 子:1890
专家分:503
注 册:2006-12-17
收藏
得分:0 
把表单代码发出来看看
2008-05-27 08:11
lukehekang
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2008-5-26
收藏
得分:0 
<?xml version="1.0" encoding="UTF-8"?>
<?xfa generator="AdobeDesigner_V7.0" APIVersion="2.2.4330.0"?>
<xdp:xdp xmlns:xdp="http://ns.
<template xmlns="http://www.
   <subform layout="tb" locale="zh_CN" name="表单1">
      <pageSet>
         <pageArea id="Page1" name="页面1">
            <contentArea h="756pt" w="576pt" x="0.25in" y="0.25in"/>
            <medium long="792pt" short="612pt" stock="default"/>
         </pageArea>
      </pageSet>
      <subform h="756pt" w="576pt">
         <field h="6mm" name="HTTP提交按钮1" w="28.575mm" x="98.6499mm" y="48.6501mm">
            <?templateDesigner isHttpSubmitObject true?>
            <ui>
               <button/>
            </ui>
            <font typeface="Adobe Song Std L"/>
            <caption>
               <value>
                  <text>提交</text>
               </value>
               <para hAlign="center" vAlign="middle"/>
               <font typeface="Adobe Song Std L"/>
            </caption>
            <border hand="right">
               <?templateDesigner StyleID apbx2?>
               <edge stroke="raised"/>
               <fill>
                  <color value="212,208,200"/>
               </fill>
            </border>
            <bind match="none"/>
            <event activity="click">
               <submit format="formdata" target="http://222.26.216.39/Submit.asp?" textEncoding="UTF-8"/>
            </event>
         </field>
         <field h="9.9999mm" name="Name" w="65mm" x="13.65mm" y="8.6499mm">
            <ui>
               <textEdit>
                  <border>
                     <?templateDesigner StyleID aped3?>
                     <edge stroke="lowered"/>
                  </border>
                  <margin/>
               </textEdit>
            </ui>
            <font typeface="Adobe Song Std L"/>
            <margin bottomInset="1mm" leftInset="1mm" rightInset="1mm" topInset="1mm"/>
            <para vAlign="middle"/>
            <caption reserve="25mm">
               <font typeface="Adobe Song Std L"/>
               <para vAlign="middle"/>
               <value>
                  <text xmlns="http://www.
               </value>
            </caption>
         </field>
         <exclGroup name="单选钮组" x="103.6501mm" y="8.6502mm">
            <field h="9.9998mm" w="28mm">
               <ui>
                  <checkButton shape="round">
                     <border>
                        <?templateDesigner StyleID apcb4?>
                        <edge stroke="lowered"/>
                        <fill/>
                     </border>
                  </checkButton>
               </ui>
               <font typeface="Adobe Song Std L"/>
               <margin leftInset="1mm" rightInset="1mm"/>
               <para vAlign="middle"/>
               <caption placement="right" reserve="22mm">
                  <para vAlign="middle"/>
                  <font typeface="Adobe Song Std L"/>
                  <value>
                     <text xmlns="http://www.
                  </value>
               </caption>
               <items>
                  <integer>1</integer>
               </items>
            </field>
            <field h="10mm" w="30mm" x="14.9999mm">
               <ui>
                  <checkButton shape="round">
                     <border>
                        <?templateDesigner StyleID apcb4?>
                        <edge stroke="lowered"/>
                        <fill/>
                     </border>
                  </checkButton>
               </ui>
               <font typeface="Adobe Song Std L"/>
               <margin leftInset="1mm" rightInset="1mm"/>
               <para vAlign="middle"/>
               <caption placement="right" reserve="22mm">
                  <para vAlign="middle"/>
                  <font typeface="Adobe Song Std L"/>
                  <value>
                     <text xmlns="http://www.
                  </value>
               </caption>
               <items>
                  <integer>2</integer>
               </items>
            </field>
         </exclGroup>
         <draw h="9.9998mm" name="Sex" w="25mm" x="78.65mm" y="8.65mm">
            <ui>
               <textEdit>
               </textEdit>
            </ui>
            <value>
               <exData xmlns="http://www. contentType="text/html" maxLength="0">
                  <body xmlns="http://www. xmlns:xfa="http://www. xfa:APIVersion="2.2.4330.0"><p style="text-align:justify;text-decoration:none"><span style="xfa-spacerun:yes">&nbsp;&nbsp;&nbsp; </span>Sex</p></body>
               </exData>
            </value>
            <font typeface="Adobe Song Std L"/>
            <margin bottomInset="0.5mm" leftInset="0.5mm" rightInset="0.5mm" topInset="0.5mm"/>
            <para xmlns="http://www. hAlign="justify"/>
         </draw>
         <field h="9mm" name="Nationality" w="70mm" x="78.6502mm" y="18.65mm">
            <ui>
               <choiceList>
                  <border>
                     <?templateDesigner StyleID aped3?>
                     <edge stroke="lowered"/>
                  </border>
                  <margin/>
               </choiceList>
            </ui>
            <font typeface="Adobe Song Std L"/>
            <margin bottomInset="1mm" leftInset="1mm" rightInset="1mm" topInset="1mm"/>
            <para vAlign="middle"/>
            <caption reserve="25mm">
               <font typeface="Adobe Song Std L"/>
               <para vAlign="middle"/>
               <value>
                  <text xmlns="http://www.
               </value>
            </caption>
            <items xmlns="http://www. save="1">
               <text>China</text>
               <text>USA</text>
               <text>English</text>
            </items>
         </field>
         <field h="9mm" name="Birthday" w="65mm" x="13.65mm" y="18.65mm">
            <ui>
               <dateTimeEdit>
                  <border>
                     <?templateDesigner StyleID aped3?>
                     <edge stroke="lowered"/>
                  </border>
                  <margin/>
               </dateTimeEdit>
            </ui>
            <font typeface="Adobe Song Std L"/>
            <margin bottomInset="1mm" leftInset="1mm" rightInset="1mm" topInset="1mm"/>
            <para vAlign="middle"/>
            <value>
               <date/>
            </value>
            <caption reserve="25mm">
               <font typeface="Adobe Song Std L"/>
               <para vAlign="middle"/>
               <value>
                  <text xmlns="http://www.
               </value>
            </caption>
         </field>
         <draw h="9.9998mm" name="Mary" w="25mm" x="13.65mm" y="28.6499mm">
            <ui>
               <textEdit>
               </textEdit>
            </ui>
            <value>
               <text xmlns="http://www.
            </value>
            <font baselineShift="0pt" typeface="Adobe Song Std L"/>
            <margin bottomInset="0.5mm" leftInset="0.5mm" rightInset="0.5mm" topInset="0.5mm"/>
            <para xmlns="http://www. hAlign="justify" marginLeft="0pt" marginRight="0pt" spaceAbove="0pt" spaceBelow="0pt" textIndent="0pt"/>
         </draw>
         <exclGroup name="单选钮组" x="38.65mm" y="28.6499mm">
            <field h="9.9998mm" w="30mm">
               <ui>
                  <checkButton shape="round">
                     <border>
                        <?templateDesigner StyleID apcb4?>
                        <edge stroke="lowered"/>
                        <fill/>
                     </border>
                  </checkButton>
               </ui>
               <font typeface="Adobe Song Std L"/>
               <margin leftInset="1mm" rightInset="1mm"/>
               <para vAlign="middle"/>
               <caption placement="right" reserve="22mm">
                  <para vAlign="middle"/>
                  <font typeface="Adobe Song Std L"/>
                  <value>
                     <text xmlns="http://www.
                  </value>
               </caption>
               <items>
                  <integer>1</integer>
               </items>
            </field>
            <field h="10.0002mm" w="24.9999mm" x="15.0001mm" y="0.0001mm">
               <ui>
                  <checkButton shape="round">
                     <border>
                        <?templateDesigner StyleID apcb4?>
                        <edge stroke="lowered"/>
                        <fill/>
                     </border>
                  </checkButton>
               </ui>
               <font typeface="Adobe Song Std L"/>
               <margin leftInset="1mm" rightInset="1mm"/>
               <para vAlign="middle"/>
               <caption placement="right" reserve="22mm">
                  <para vAlign="middle"/>
                  <font typeface="Adobe Song Std L"/>
                  <value>
                     <text xmlns="http://www.    NO</text>
                  </value>
               </caption>
               <items>
                  <integer>2</integer>
               </items>
            </field>
         </exclGroup>
         <field h="9.9999mm" name="Salary" w="70mm" x="78.65mm" y="28.65mm">
            <ui>
               <numericEdit>
                  <border>
                     <?templateDesigner StyleID aped3?>
                     <edge stroke="lowered"/>
                  </border>
                  <margin/>
               </numericEdit>
            </ui>
            <font typeface="Adobe Song Std L"/>
            <margin bottomInset="1mm" leftInset="1mm" rightInset="1mm" topInset="1mm"/>
            <para vAlign="middle"/>
            <caption reserve="25mm">
               <font baselineShift="0pt" typeface="Adobe Song Std L"/>
               <para marginLeft="0pt" marginRight="0pt" spaceAbove="0pt" spaceBelow="0pt" textIndent="0pt"/>
               <value>
                  <exData xmlns="http://www. contentType="text/html" maxLength="0">
                     <body xmlns="http://www. xmlns:xfa="http://www. xfa:APIVersion="2.2.4330.0"><p style="font-family:'Times New Roman'">Salary</p><p><span style="xfa-spacerun:yes">&nbsp;</span></p></body>
                  </exData>
               </value>
            </caption>
         </field>
         <draw xmlns="http://www. h="10mm" name="矩形1" w="65mm" x="13.65mm" y="8.6501mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www. h="10mm" name="矩形2" w="65mm" x="13.65mm" y="18.65mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www. h="10mm" name="矩形3" w="65mm" x="13.65mm" y="28.6502mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www. h="10mm" name="矩形4" w="70mm" x="78.65mm" y="8.6501mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www. h="10mm" name="矩形5" w="70mm" x="78.65mm" y="18.65mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www. h="10mm" name="矩形6" w="70mm" x="78.65mm" y="28.6502mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www. h="10mm" name="矩形7" w="25mm" x="13.65mm" y="8.6501mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www. h="10mm" name="矩形8" w="25mm" x="13.65mm" y="18.65mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www. h="10mm" name="矩形9" w="25mm" x="13.65mm" y="28.6502mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www. h="10mm" name="矩形10" w="25mm" x="78.65mm" y="8.6501mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www. h="10mm" name="矩形11" w="25mm" x="78.65mm" y="18.65mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www. h="10mm" name="矩形12" w="25mm" x="78.65mm" y="28.6502mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
      </subform>
      <proto/>
   </subform>
这是表单代码
2008-05-27 08:39
ilovey4
Rank: 1
等 级:新手上路
帖 子:65
专家分:0
注 册:2007-6-21
收藏
得分:0 
xml啊

新手!
2008-05-27 08:59
lukehekang
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2008-5-26
收藏
得分:0 
表单是XML生成的
2008-05-27 09:12
快速回复:request传值问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.020706 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved