一个讨论j2ee技术以及畅谈程序人生的地方,一个有共同兴趣和
龙心客栈 · dragonet · 2004-04-28
一个讨论j2ee技术以及畅谈程序人生的地方,一个有共同兴趣和爱好的朋友相聚的乐园。
|
首页
|
Analysis Mechanism>>>
weblogic上使用xmlhttp的问题
时间: 2004-04-28
以前借用webfx的xmlloadtree写的js程序,在tomcat和websphere上都没有问题,今天移植到weblogic上,却怎么也显示不了程序,后台显示取出的数据是正确的,怎么回事?
折腾了半天,打了无数调试信息,发现是因为创建的xmlhttp对象无法解析xml文件流,后来尝试着在取xmlhttp前缀的地方换成microsoft,ok,问题解决。
但是对于直接读取xml文件的四种parser都试了,不行,不知道为什么,明明是客户端的事情却跟服务器有关呢?
dragonet
引用(Trackback0)
评论
今天又到hibernate中文论坛上浏览了一圈,怀疑问题是出在服务端是通过jsp将生成的xml文件发到客户端的,而不同的应用服务器可能会在xml文档的头中加一些东西,如果换成用servlet生成xml文档的话就不会出错了,可惜最近没环境,改天一定试一下。
dragonet
(
dragonet.blogbus.com
发表评论
最后更新
struts best practices
a good method to design unit test case for critical path calculation
pooly design on Swing & design pattern
an article for thought about Swing
What method does the container calls when instantiating servlet
log4j synthetically
How to estimate
a trick about 'How to update multiple value in collection' on Struts
How to visit those methods which are not public?
学习java
原始快照:web.archive.org