由买买提看人间百态

topics

全部话题 - 话题: xmlns
1 2 下页 末页 (共2页)
G***G
发帖数: 16778
1
来自主题: Programming版 - wpf 的xmlns
请问xmlns如果改变,程序就编译不过。
这个xmlns后面的网址是什么意思?
这个网址难道必须永远存在吗?
="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="DispatcherTimerSample" Height="150" Width="250">
v******n
发帖数: 421
2
来自主题: Programming版 - wpf 的xmlns
不是真正的网址,其实是微软定义的两个 namespace,第一个包含所有的 wpf class,
像 Window, Button 之类的,没有这个 namespace 就找不到。
第二个定义了些 Xaml 相关的功能,x:Name, x:Class 之类的

xmlns
M7
发帖数: 219
3
来自主题: Programming版 - Please help: sort XML with Linq
有三个ListItem, 每个ListItem都有一个Property bag (dictionary of key-value
pair)。Property bag里面基本都是无关的key-value pair。有一个key是"SortByKey",
我希望根据SortByKey的value来sort这三个ListItem. 请问用Linq怎么做?
谢谢。

283650e7728e47d1b003b78dc85e8105


iHoVHJ

http://www.w3.org/2001/XMLSchema" i:type="d9p1:strin... 阅读全帖
d********y
发帖数: 2114
4
正在学习richfaces写网页。
eclipse给我的jsf文件报error。
一个文件的开头这样的。
http://www.w3.org/TR/html4/loose.dtd">
http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:sf="http://www.springframework.org/tags/fac... 阅读全帖
t*********e
发帖数: 630
5
来自主题: Java版 - JSF is actually fucking cool
package org.converter;
import java.net.URI;
import java.net.URISyntaxException;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
import javax.faces.convert.ConverterException;
import javax.faces.convert.FacesConverter;
@FacesConverter("org.converter.UrlConverter")
public class UrlConverter implements Converter {
@Override
public Object getAsObject(FacesContext facesContext,
... 阅读全帖
c**t
发帖数: 2744
6
来自主题: DotNet版 - 看看这个
it asks to execute:

http://www.w3.org/2000/09/xmldsig#" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
C********r
发帖数: 145
7
Sorry, I have no Chinese software on this machine...
I am new to WPF and Infragistics Controls. I am trying to accomplish a
seemly simple task. use Xamdatagrid to display a collection of data records
retrieved from database.Besides the columns from the data records, I want an
additional unbounded column to contain a checkbox. I am having a really
hard time to get the databinding to work. I have spend 2 days to look up
examples and tutorials but none are complete or easy to understand(for me at
l... 阅读全帖
l*****7
发帖数: 1125
8
打出没问题,打进不振铃
asterisk -rvvv后的信息:
JABBER: phone INCOMING: "SIP357561136@10.
... 阅读全帖
h******n
发帖数: 2795
9
来自主题: PhotoGear版 - “shutter count”是啥?
用photoshop可以直接看到 shutter count:4576
而且,可以也能看到相机主人的注册名字(为了保护作者隐私,我将相机主人名字用XX
XXXX XXX 替代了)


http://www.w3.org/1999/02/22-rdf-syntax-ns#">
xmlns:aux="http://ns.adobe.com/exif/1.0/aux/">
-2147483648
4576... 阅读全帖
c******n
发帖数: 4965
10
I don't think so
if you check the following simple code
///////////////////////
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class TTT {
private String p ;
public String getP() { return p;}
public void setP(String p) { this.p = p;}

public void fun() {
System.out.println("value" + p);
}

public static void main(String args[]) {

ApplicationContext ctx ... 阅读全帖
z*********e
发帖数: 10149
11

这个是什么意思?不明白
我在tomcat manager里面看到的running app显示这个springapp的running 状态是
false,我在tomcat manager尝试start这个app的时候message: FAIL - Application
at context path /springapp could not be started
尝试访问localhost:8080/springapp/的时候,浏览器里显示
HTTP Status 404 - /springapp/
type Status report
message /springapp/
description The requested resource is not available.
Apache Tomcat/6.0.41
我的./springapp/war/WEB-INF/web.xml文件是

xmlns="http://java.sun.com... 阅读全帖
w**7
发帖数: 5258
12
来自主题: Programming版 - 有用 Python Suds 的大拿吗
Service ( AdminApiVersion1Service ) tns="http://admin.api.platform.com/"
Prefixes (2)
ns0 = "http://api.platform.com/"
ns1 = "http://admin.api.platformcom/"
But the soap message created like http://admin.api.platform.com/"
xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP- ENV="http://schemas.xmlsoap.org/soap/envelope/">
Noticed the namesapce all messed up.
There is extra "http://schema... 阅读全帖
q*********u
发帖数: 280
e****c
发帖数: 183
14
来自主题: BuildingWeb版 - 网页上的文字一直往右拖
http://www.w3.org/TR/REC-html40">





XYZ University &<br /> nbsp;  <br /> ; &<br /> nbsp;  <br /> ; &<br /> nbsp; </span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">L*******r<br />发帖数: 1011</td><td width=80% class="zt-bg2"><div id="post15" style="position:relative"><div class="zt-counter">15</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">DotNet版</span> - <a href="/zhuti/DotNet/3396583/#post1" style="font-size:1.1em">using weather XML feed in C# - 1</a></div><span>很多站点提供了XML feed,这样你就不需要通过分析他们的网页来得到你自己要的信息了<br /> 。<br /> 你可以直接得到XML格式的信息。<br /> 比如你想得到天气信息:<br /> 假设你的zipcode是97401,用这个试试:<br /> <a href="http://www.weatherroom.com/xml/ext/97401" rel="nofollow">http://www.weatherroom.com/xml/ext/97401</a><br /> 所以,给定zipcode xxxxx,你总可以通过<br /> <a href="http://www.weatherroom.com/xml/ext/xxxxx" rel="nofollow">http://www.weatherroom.com/xml/ext/xxxxx</a>得到你要的信息<br /> 以下是97401的天气预报<br /> <?xml version="1.0" encoding="utf-8" ?><br /> - <WeatherFeed xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema" rel="nofollow">http://www.w3.org/2001/XMLSchema</a>"<br /> xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance</a>"<br /> xmlns="<a href="http://www.weatherroom.com" rel="nofollow">http://www.weatherroom.com</a>"><br /> - <Current><br /> <internal /><br /> <Location>Eugene, OR, United States</Location><br /> <Re</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">a*********8<br />发帖数: 5368</td><td width=80% class="zt-bg"><div id="post16" style="position:relative"><div class="zt-counter">16</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">DotNet版</span> - <a href="/zhuti/DotNet/31101897/#post1" style="font-size:1.1em">CarlosAg.ExcelXmlWriter 的问题</a></div><span>我在使用CarlosAg.ExcelXmlWriter的时候遇到了一个问题.在服务器上已经装好的web<br /> application,在我的电脑和电脑A上面使用都可以完美生成excel文件,但是在电脑B上面<br /> 不会生成excel文件,只会生成一个xml文件.如下:<br /> <?xml version="1.0" ?><br /> <?mso-application progid='Excel.Sheet'?><br /> - <s:Workbook xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:o="urn:<br /> schemas-microsoft-com:office:office" xmlns:s="urn:schemas-microsoft-com:<br /> office:spreadsheet"><br /> - <o:DocumentProperties><br /> 不知道应该如何解决这个问题.</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">A*******n<br />发帖数: 625</td><td width=80% class="zt-bg2"><div id="post17" style="position:relative"><div class="zt-counter">17</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">DotNet版</span> - <a href="/zhuti/DotNet/31109031/#post4" style="font-size:1.1em">add web service</a></div><span>加了也没用。<br /> 他们的做法是去他们的网站下载需要的wsdl和xsd files。 用svcutil 建一个cs和一个<br /> config 文件, 然后在写function。<br /> 他们说function最后送出去的format like below:<br /> ?xml version="1.0" encoding="UTF-8"?><br /> <soapenv:Envelope<br /> xmlns:soapenv="<a href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow">http://schemas.xmlsoap.org/soap/envelope/</a>"<br /> xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema" rel="nofollow">http://www.w3.org/2001/XMLSchema</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance</a>"><br /> <soapenv:Header><br /> <wsse:Security soapenv:mustUnderstand="1".....><br /> <wsse:BinarySecurityToken EncodingType="<a href="http://docs.oasis-open.org/wss/2004/" rel="nofollow">http://docs.oasis-open.org/wss/2004/</a>... <a href="/zhuti/DotNet/31109031/#post4">阅读全帖</a></span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">q*********u<br />发帖数: 280</td><td width=80% class="zt-bg"><div id="post18" style="position:relative"><div class="zt-counter">18</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Java版</span> - <a href="/zhuti/Java/31116127/#post2" style="font-size:1.1em">让大家了解工业界Java/J2EE面试题的难度</a></div><span>在jb版看到的,结果居然没有人回应,转到这里,估计会热闹。<br /> 有段时间没有用spring了,都生疏了,自己google了一下,<br /> 2。OpenSessionInViewFilter OpenSessionInViewInterceptor:<br /> <a href="http://www.jroller.com/kbaum/entry/orm_lazy_initialization_with_dao" rel="nofollow">http://www.jroller.com/kbaum/entry/orm_lazy_initialization_with_dao</a><br /> 3。 <aop:scoped-proxy>这个是关键, 没有不行<br /> <?xml version="1.0" encoding="UTF-8"?><br /> <beans xmlns="<a href="http://www.springframework.org/schema/beans" rel="nofollow">http://www.springframework.org/schema/beans</a>"<br /> xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance</a>"<br /> xmlns:aop="<a href="http://www.springframework.org/schema/aop" rel="nofollow">http://www.springframework.org/schema/aop</a>"<br /> xsi:schemaLocation="<br /> <a href="http://www.springframework.org/" rel="nofollow">http://www.springframework.org/</a></span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">t*********e<br />发帖数: 630</td><td width=80% class="zt-bg2"><div id="post19" style="position:relative"><div class="zt-counter">19</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Java版</span> - <a href="/zhuti/Java/31149077/#post1" style="font-size:1.1em">JSF is actually fucking cool</a></div><span>package org.converter;<br /> import java.net.URI;<br /> import java.net.URISyntaxException;<br /> import javax.faces.application.FacesMessage;<br /> import javax.faces.component.UIComponent;<br /> import javax.faces.context.FacesContext;<br /> import javax.faces.convert.Converter;<br /> import javax.faces.convert.ConverterException;<br /> import javax.faces.convert.FacesConverter;<br /> @FacesConverter("org.converter.UrlConverter")<br /> public class UrlConverter implements Converter {<br /> @Override<br /> public Object getAsObject(FacesContext facesContext,<br /> ... <a href="/zhuti/Java/31149077/#post1">阅读全帖</a></span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">l*l<br />发帖数: 68</td><td width=80% class="zt-bg"><div id="post20" style="position:relative"><div class="zt-counter">20</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Programming版</span> - <a href="/zhuti/Programming/31216849/#post1" style="font-size:1.1em">非常困扰!这里有没有classic asp的高人指点一下我的web service的问题</a></div><span>这是我用ASP写的一段TEST CODE. 对方是一个提供酒店预订系统web service的服务器<br /> ,我的任务是把下面一段xml数据POST过去。但对方返回总是说"Empty String<br /> Received".<br /> 各位大拿能不能帮看看有什么不对的地方,这个XMLHTTP用得对不对,或者可以用别的<br /> 什么方法?谢了!<br /> <%<br /> DIM PostData, strStatus, strRetVal, postUrl<br /> <br /> PostData = _<br /> "<?xml version=""1.0"" encoding=""utf-8""?>" &_<br /> "<soap:Envelope xmlns:soap=""<a href="http://www.w3.org/2003/05/soap-envelope" rel="nofollow">http://www.w3.org/2003/05/soap-envelope</a>"" xmlns:ava=""<a href="http://AvailReceive/AvailRq" rel="nofollow">http://AvailReceive/AvailRq</a>"">" &_<br /> "<soap:Header />" &_<br /> "<soap:Body>" &_<br /> "<ava:AvailRq xmlns=""<a href="http://A" rel="nofollow">http://A</a>... <a href="/zhuti/Programming/31216849/#post1">阅读全帖</a></span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">c***c<br />发帖数: 6234</td><td width=80% class="zt-bg2"><div id="post21" style="position:relative"><div class="zt-counter">21</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Java版</span> - <a href="/zhuti/Java/574997/#post1" style="font-size:1.1em">Question: EJB Web Services Integration</a></div><span>I am using<br /> 1. JBoss 4.0 for EJB<br /> 2. Axis For Web Services<br /> 3. Eclipse as IDE<br /> I generated a EJB called TestBean.java in package test/ejb.<br /> The Xdoclet generated ejb-jar.xml, Test.java and TestHome.java for me in<br /> package test/interfaces<br /> compile passed<br /> The deploy.wsdd is<br /> <deployment xmlns="<a href="http://xml.apache.org/axis/wsdd/" rel="nofollow">http://xml.apache.org/axis/wsdd/</a>" <br /> xmlns:java="<a href="http://xml.apache.org/axis/wsdd/providers/java" rel="nofollow">http://xml.apache.org/axis/wsdd/providers/java</a>"><br /> <service name="TestService" provider="java:EJB"><br /> <parameter name="beanJndiName" value="TesttBean"/><br /> <parameter name</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">j*******y<br />发帖数: 965</td><td width=80% class="zt-bg"><div id="post22" style="position:relative"><div class="zt-counter">22</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Java版</span> - <a href="/zhuti/Java/31116555/#post14" style="font-size:1.1em">Anyone know SAML 2.0 and OpenSAML ?</a></div><span>Now we meet a new problem. Our system is very old, still use Java 1.4. The<br /> SAML I just create is using opensaml-2.3.3.jar which support by Java 1.5. I<br /> have to go back opensaml-1.1.jar which support by Java 1.4.<br /> Using org.opensaml.SAMLResponse in opensaml-1.1b.jar to create assertion<br /> responses. The assertion response looks like:<br /> <Response xmlns="urn:oasis:names:tc:SAML:1.0:protocol" xmlns:saml ....><br /> <ds:SignedInfo>......<ds:SignedInfo><br /> <Status><StatusCode Value="samlp:Success"...</S</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">c*********t<br />发帖数: 9</td><td width=80% class="zt-bg2"><div id="post23" style="position:relative"><div class="zt-counter">23</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Java版</span> - <a href="/zhuti/Java/31120069/#post1" style="font-size:1.1em">spring web service issue</a></div><span>Any one here doing spring ws?<br /> The incoming SOAP request looks like:<br /> <soapenv:Body><br /> <TransactionRequest xmlns="<a href="http://aa.com/aa/service" rel="nofollow">http://aa.com/aa/service</a>"><br /> <TradingPartnerID>abcabc</TradingPartnerID><br /> <EDI278>centOS</EDI278><br /> </TransactionRequest><br /> </soapenv:Body><br /> The Endpoint mapping is defined as:<br /> @PayloadRoot(localPart= "TransactionRequest", namespace="<a href="http://aa.com/aa/service)" rel="nofollow">http://aa.com/aa/service)</a><br /> However, get following error:<br /> 2011-05-12 17:45:05,795 [DEBUG] (WebServiceMessageReceiverObjectSupport.java<br /> HttpServletC onnect... <a href="/zhuti/Java/31120069/#post1">阅读全帖</a></span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">q***s<br />发帖数: 2243</td><td width=80% class="zt-bg"><div id="post24" style="position:relative"><div class="zt-counter">24</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Java版</span> - <a href="/zhuti/Java/31121581/#post1" style="font-size:1.1em">两种方式有什么不同</a></div><span>最近在学习web应用程序开发,看到对web.xml的定义,有两种不同的方式:<br /> 方式一:<br /> <!DOCTYPE web-app PUBLIC<br /> "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"<br /> "<a href="http://java.sun.com/dtd/web-app_2_3.dtd" rel="nofollow">http://java.sun.com/dtd/web-app_2_3.dtd</a>" ><br /> <web-app><br /> <display-name>Application Name</display-name><br /> </web-app><br /> 方式二:<br /> <web-app version="2.5"<br /> xmlns="<a href="http://java.sun.com/xml/ns/javaee" rel="nofollow">http://java.sun.com/xml/ns/javaee</a>"<br /> xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance</a>"<br /> xsi:schemaLocation="<a href="http://java.sun.com/xml/ns/javaee" rel="nofollow">http://java.sun.com/xml/ns/javaee</a><br /> <a href="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" rel="nofollow">http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd</a>"><br /> <display... <a href="/zhuti/Java/31121581/#post1">阅读全帖</a></span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">a*****p<br />发帖数: 1285</td><td width=80% class="zt-bg2"><div id="post25" style="position:relative"><div class="zt-counter">25</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Java版</span> - <a href="/zhuti/Java/31121607/#post1" style="font-size:1.1em">maven,struts求助</a></div><span>我在maven下面加了struts得dependency,很简单得一个struts hello world程序,没<br /> 有报错,但是project得folder上一直有个小叉,不知道什么原因。<br /> pom内容如下<br /> <project xmlns="<a href="http://maven.apache.org/POM/4.0.0" rel="nofollow">http://maven.apache.org/POM/4.0.0</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance</a>"<br /> xsi:schemaLocation="<a href="http://maven.apache.org/POM/4.0.0" rel="nofollow">http://maven.apache.org/POM/4.0.0</a> <a href="http://maven.apache.org/maven-v4_0_0.xsd" rel="nofollow">http://maven.apache.org/maven-v4_0_0.xsd</a>"><br /> <modelVersion>4.0.0</modelVersion><br /> <groupId></groupId><br /> <artifactId>basics</artifactId><br /> <packaging>war</packaging><br /> <version>1.0-SNAPSHOT</version><br /> <name>Maven Webapp Archetype</name>... <a href="/zhuti/Java/31121607/#post1">阅读全帖</a></span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">r*****s<br />发帖数: 985</td><td width=80% class="zt-bg"><div id="post26" style="position:relative"><div class="zt-counter">26</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Java版</span> - <a href="/zhuti/Java/31124891/#post24" style="font-size:1.1em">帮忙看看maven 的问题</a></div><span>maven一开始上手确实痛苦,<br /> Stabilized就好了。<br /> 有一点about windows Xp env,<br /> if you are using it.<br /> by default maven saves all jars under your home dir .m2<br /> but on xp it could be a long dir name with space in it,<br /> e.g.C:\Documents and Settings\youruname\.m2<br /> some compiler/maven plugin may fail because of that.<br /> the solution is to put a settings.xml under the dir to re-direct<br /> it somewhere else:<br /> <settings xmlns="<a href="http://maven.apache.org/SETTINGS/1.0.0" rel="nofollow">http://maven.apache.org/SETTINGS/1.0.0</a>"<br /> xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance</a>"<br /> xsi:schemaLocat... <a href="/zhuti/Java/31124891/#post24">阅读全帖</a></span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">b***i<br />发帖数: 3043</td><td width=80% class="zt-bg2"><div id="post27" style="position:relative"><div class="zt-counter">27</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Java版</span> - <a href="/zhuti/Java/31144189/#post5" style="font-size:1.1em">Spring的新手问题</a></div><span><?xml version="1.0" encoding="UTF-8"?><br /> <beans xmlns="<a href="http://www.springframework.org/schema/beans" rel="nofollow">http://www.springframework.org/schema/beans</a>"<br /> xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance</a>"<br /> xsi:schemaLocation="<a href="http://www.springframework.org/schema/beans" rel="nofollow">http://www.springframework.org/schema/beans</a><br /> <a href="http://www.springframework.org/schema/beans/spring-beans-3.0.xsd" rel="nofollow">http://www.springframework.org/schema/beans/spring-beans-3.0.xsd</a> "><br /> <!-- Initialization for data source, to run this program,<br /> we need to port forwarding by rhc port-forwarding -a eetom */<br /> --><br /> <bean id="dataSource"<br /> class="org.springframework.jdbc... <a href="/zhuti/Java/31144189/#post5">阅读全帖</a></span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">b***i<br />发帖数: 3043</td><td width=80% class="zt-bg"><div id="post28" style="position:relative"><div class="zt-counter">28</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Java版</span> - <a href="/zhuti/Java/31144765/#post1" style="font-size:1.1em">求OpenShift上Spring-quickstart的mysql配置方法</a></div><span>最近折腾了一段时间,搞清楚了Spring JDBC。现在继续折腾JPA。求高手指点。<br /> OpenShift上的Spring-quickstart架在jboss eap上,使用了h2,这是个内存中的数据库<br /> ,我想改为Mysql。Readme说,只要把persistene.xml里面的<br /> <jta-data-source>java:jboss/datasources/ExampleDS</jta-data-source><br /> 改成<br /> <jta-data-source>java:jboss/datasources/MysqlDS</jta-data-source><br /> 就行了。但是我试了不行,页面为the page was not found。我觉得,至少得把Mysql的<br /> 用户名密码什么的写了吧?我使用的是Eclipse,没有安装jboss,所以找不到<br /> standalone.xml,也没有module.xml。相关的有一个文件spring-quickstart-ds.xml,<br /> 里面有<br /> <datasources xmlns="<a href="http://www.jboss.org/ironjacamar/schema" rel="nofollow">http://www.jboss.org/ironjacamar/schema</a>"<br /> ... <a href="/zhuti/Java/31144765/#post1">阅读全帖</a></span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">x******m<br />发帖数: 736</td><td width=80% class="zt-bg2"><div id="post29" style="position:relative"><div class="zt-counter">29</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Java版</span> - <a href="/zhuti/Java/31147165/#post1" style="font-size:1.1em">Spring菜鸟求救</a></div><span>跟着网上的tutorial学习,一模一样的code,总是出错。<br /> 第一个class<br /> package com.springinaction.springidol;<br /> public class SpellChecker {<br /> public SpellChecker(){<br /> System.out.println("Inside SpellChecker constructor." );<br /> }<br /> public void checkSpelling() {<br /> System.out.println("Inside checkSpelling." );<br /> }<br /> <br /> }<br /> 第二个class<br /> package com.springinaction.springidol;<br /> public class TextEditor {<br /> private SpellChecker spellChecker;<br /> public TextEditor(SpellChecker spellChecker) {<br /> ... <a href="/zhuti/Java/31147165/#post1">阅读全帖</a></span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">I*******r<br />发帖数: 211</td><td width=80% class="zt-bg"><div id="post30" style="position:relative"><div class="zt-counter">30</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Unix版</span> - <a href="/zhuti/Unix/1202189/#post1" style="font-size:1.1em">[转载] 救命, 怎样用SOAP::Lite访问.NET WEB Service?</a></div><span>【 以下文字转载自 Linux 讨论区,原文如下 】<br /> 发信人: IExplorer (Powered by .COM), 信区: Linux<br /> 标 题: 救命, 怎样用SOAP::Lite访问.NET WEB Service?<br /> 发信站: Unknown Space - 未名空间 (Thu Jun 10 19:52:27 2004) WWW-POST<br /> 我可以调用函数, 但传如的值为空. Request Message 基本上和SERVICE 提供的消息一致<br /> , 只是 有这点区别:<br /> 要求:<br /> <Add xmlns="<a href="http://192.168.0.118/WebService1/" rel="nofollow">http://192.168.0.118/WebService1/</a>"><br /> <sx>string</sx><br /> <y>string</y><br /> </Add><br /> 生成:<br /> <Add xmlns="<a href="http://192.168.0.118/WebService1/" rel="nofollow">http://192.168.0.118/WebService1/</a>"><br /> <sx xsi:type="xsd:string">string</sx><br /> <y xsi:type="xsd:string">string</y><br /> </A</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">i*****t<br />发帖数: 220</td><td width=80% class="zt-bg2"><div id="post31" style="position:relative"><div class="zt-counter">31</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">XML版</span> - <a href="/zhuti/XML/2268088/#post1" style="font-size:1.1em">questions!</a></div><span>look at this:<br /> <Schema xmlns="urn:schemas-microsoft-com:xml-data"<br /> xmlns:dt="urn:schemas-microsoft-com:datatypes"><br /> <ElementType name="date" content="textOnly" dt:type="date"/><br /> ~~~~~~~ why use dt prefix?<br /> <ElementType name="degrees" content="textOnly" dt:type="float"/><br /> <ElementType name="weather" content="eltOnly"><br /> <element type="date"/><br /> ~~~~ why not use dt prefix?<br /> <element type="degrees"/><br /> </ElementType><br /> </Schema></span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">I*******r<br />发帖数: 211</td><td width=80% class="zt-bg"><div id="post32" style="position:relative"><div class="zt-counter">32</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">XML版</span> - <a href="/zhuti/XML/2268510/#post1" style="font-size:1.1em">[转载] 救命, 怎样用SOAP::Lite访问.NET WEB Service?</a></div><span>【 以下文字转载自 Linux 讨论区,原文如下 】<br /> 发信人: IExplorer (Powered by .COM), 信区: Linux<br /> 标 题: 救命, 怎样用SOAP::Lite访问.NET WEB Service?<br /> 发信站: Unknown Space - 未名空间 (Thu Jun 10 19:52:27 2004) WWW-POST<br /> 我可以调用函数, 但传如的值为空. Request Message 基本上和SERVICE 提供的消息一致<br /> , 只是 有这点区别:<br /> 要求:<br /> <Add xmlns="<a href="http://192.168.0.118/WebService1/" rel="nofollow">http://192.168.0.118/WebService1/</a>"><br /> <sx>string</sx><br /> <y>string</y><br /> </Add><br /> 生成:<br /> <Add xmlns="<a href="http://192.168.0.118/WebService1/" rel="nofollow">http://192.168.0.118/WebService1/</a>"><br /> <sx xsi:type="xsd:string">string</sx><br /> <y xsi:type="xsd:string">string</y><br /> </A</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">c***c<br />发帖数: 6234</td><td width=80% class="zt-bg2"><div id="post33" style="position:relative"><div class="zt-counter">33</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">XML版</span> - <a href="/zhuti/XML/2268523/#post1" style="font-size:1.1em">XML schema questions</a></div><span>I am new in XML and need some help.<br /> for example<br /> xml schema is<br /> <?xml version="1.0"?><br /> <xsd:schema xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema" rel="nofollow">http://www.w3.org/2001/XMLSchema</a>"<br /> targetNamespace="<a href="http://www.demo.org" rel="nofollow">http://www.demo.org</a>"<br /> xmlns="<a href="http://www.demo.org" rel="nofollow">http://www.demo.org</a>"<br /> elementFormDefault="qualified"><br /> <xsd:element name="Demo"><br /> <xsd:complexType><br /> <xsd:sequence><br /> <xsd:element name="A" type="xsd:integer"/><br /> <xsd:element name="B" type="xsd:integer"/><br /> </xsd:sequen</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">C****a<br />发帖数: 293</td><td width=80% class="zt-bg"><div id="post34" style="position:relative"><div class="zt-counter">34</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">USANews版</span> - <a href="/zhuti/USANews/31269875/#post7" style="font-size:1.1em">民主党告急:为了改革大业,请选老太太Martha(图)</a></div><span>How to post a picture?<br /> <html xmlns="<a href="http://www.w3.org/1999/xhtml" rel="nofollow">http://www.w3.org/1999/xhtml</a>"><br /> <a href="<a href="http://web.wenxuecity.com/BBSView.php?SubID=currentevent&MsgID=326413" rel="nofollow">http://web.wenxuecity.com/BBSView.php?SubID=currentevent&MsgID=326413</a>"><img src="<a href="http://www.talkingpointsmemo.com/assets_c/2010/01/coakley_brown_split-cropped-proto-custom_2.jpg" rel="nofollow">http://www.talkingpointsmemo.com/assets_c/2010/01/coakley_brown_split-cropped-proto-custom_2.jpg</a>" border="0"></a><br /> </html></span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">l**n<br />发帖数: 7272</td><td width=80% class="zt-bg2"><div id="post35" style="position:relative"><div class="zt-counter">35</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">WashingtonDC版</span> - <a href="/zhuti/WashingtonDC/31515767/#post11" style="font-size:1.1em">人生, 最好不相见</a></div><span><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" rel="nofollow">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>"><br /> <html xmlns="<a href="http://www.w3.org/1999/xhtml" rel="nofollow">http://www.w3.org/1999/xhtml</a>"><br /> <head profile="<a href="http://gmpg.org/xfn/11" rel="nofollow">http://gmpg.org/xfn/11</a>"><br /> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><br /> <title>音乐快递:【最好不相见】仓央嘉措诗 - 由没有期待发表 - 文学城



阅读全帖
q*u
发帖数: 2
36
来自主题: BuildingWeb版 - Urgent! html, css,xml,xsl, javascrip.
Does somebody know how to design a directory in the web? When you click on + ,
+ becomes -, and the subdirectory will show up; when you click again, -
becomes + and subdirectory disappear.
/////////folder.xsl file:

xmlns:xsl="http://www.w3.org/1999/XSL/Transform">










T*****e
发帖数: 361
37
来自主题: BuildingWeb版 - 问个用table控制版面的问题
想要的效果就是把一个网页的内容分为上、中、下三部分,
分别是header, contents, and footer,并且header紧靠
页面顶端,然后是内容,而footer则紧靠页面底端。
实现的思路是:
1 html body高、宽都设为100%
2 第一个table上下两格,上格嵌套一个table用来放
header和内容,向上垂直对齐;下格放footer,向下垂直
对齐。这个table高宽都为100%。
3 嵌套的table也是上下两格,上格放header,下格放内
容。
html代码附后。
问题:在IE中看着好像没有问题,但是FireFox中footer还是
紧靠在内容后面,并没有紧贴页面底端。使用DOM Inspector
发现html body的大小并没有覆盖整个页面,不知道为什么?
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
c***r
发帖数: 4631
38
来自主题: BuildingWeb版 - 问个用table控制版面的问题
change
http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" style="height:100%">
l****e
发帖数: 359
39
来自主题: BuildingWeb版 - 问个css在IE和ff下显示不同的问题
一个简单的结构,代码附后。IE中效果正常,但是到了firefox里,title和menu
之间,以及info和content之间各有一条空白。请问这个问题怎么解决?有什么
定位的方法能够兼顾IE和ff让这两条空白消失?还是偶的代码写的有问题?
谢谢!!
页面代码如下,就是个test页面俺就直接帖了:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
http://www.w3.org/1999/xhtml">


test css

Menu Templates
r****y
发帖数: 26819
44
来自主题: DotNet版 - 看看这个
是啊,对client端的要求还不如flash.

="
xmlns
y********o
发帖数: 2565
45
可是我按网上这个quick start guide, https://www.hibernate.org/362.html
可就是跑不通。
不是说 was not expect
ed.
错误source是这一行:cfg.AddAssembly("NHibernate.Examples");
就是说 No persister for User.
试了好几个tutorial的code, 都调试不通。真的搞不懂,机关在哪儿。网上一搜,若干
人都有这个问题,但是没有一个真正奏效的解决办法。
NHibernate真的很好吗? 我感觉这种OR mapper/entity framework做简单的CRUD很方便
,但是复杂的数据库操作,还是在数据库里面写stored procedure 更方便吧?
欢迎批评指正。
哪里有最简单的nhibernate beginner sample? 给个链接我试试? 谢谢。
s***n
发帖数: 10693
46
Stored Procedure is really hard to debug, isn't it?

可是我按网上这个quick start guide, https://www.hibernate.org/362.html
可就是跑不通。
不是说 was not expect
ed.
错误source是这一行:cfg.AddAssembly("NHibernate.Examples");
就是说 No persister for User.
试了好几个tutorial的code, 都调试不通。真的搞不懂,机关在哪儿。网上一搜,若干
人都有这个问题,但是没有一个真正奏效的解决办法。
NHibernate真的很好吗? 我感觉这种OR mapper/entity framework做简单的CRUD很方便
,但是复杂的数据库操作,还是在数据库里面写stored procedure 更方便吧?
欢迎批评指正。
哪里有最简单的nhibernate beginner sample? 给
t********5
发帖数: 274
47
来自主题: DotNet版 - 求救一个小问题
我也认为是button的事件里写的
可是我找不到那个button相关的任何代码
是flash,整个页面主要都是flash的,我以前没接触过flash方面的编程,不知道您有
没有什么猜想,我顺着路子去找一找
table.aspx页面,就是有聊天窗口,有send按钮的这个页面
<%@ Page Title="" Language="VB" MasterPageFile="~/Shared/xxxx.master"
AutoEventWireup="false"
CodeFile="table.aspx.vb" Inherits="VNT_table" %>
"Server">

阅读全帖
1 2 下页 末页 (共2页)