Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Application Server  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Resin2.1比较熟的请进
javadd





发贴: 735
积分: 77
于 2005-11-10 10:15 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
过滤器参数  <url-pattern>/*</url-pattern>居然无法过滤到所有目录,只能过滤根目录,怎么设置才能过滤全部目录?

我的测试是是否从过滤器中println出东西作为基准的,二级目录根本就没print出来,所以我断定/*无法过滤所有目录.

请各位帮忙,谢谢.




作者 Re:Resin2.1比较熟的请进 [Re:javadd]
linux_china



版主


发贴: 752
积分: 240
于 2005-11-10 12:23 user profilesend a private message to usersend email to linux_chinasearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我用3.0.X的好像没有问题。
试一下<url-pattern>*</url-pattern>



作者 Re:Resin2.1比较熟的请进 [Re:javadd]
javadd





发贴: 735
积分: 77
于 2005-11-10 14:00 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
嗯,3.0.X可以了,但是升级到3.0.x好象还有个问题就是下载*.jpg后,如果清空IE缓存后,再点刷新,jpg图片就出不来了,还出现下面的错误.

[13:56:52.906] java.lang.IllegalStateException: http://127.0.0.1:8080/image/main
.jpg: tried to write 229 bytes with content-length 206 (At char=-4).
[13:56:52.906] at com.caucho.server.connection.ResponseStream.lengthException(R
esponseStream.java:518)
[13:56:52.906] at com.caucho.server.connection.ResponseStream.writeNext(Respons
eStream.java:393)
[13:56:52.906] at com.caucho.server.connection.ToByteResponseStream.flushByteBu
ffer(ToByteResponseStream.java:518)
[13:56:52.906] at com.caucho.server.connection.ToByteResponseStream.flushBuffer
(ToByteResponseStream.java:424)
[13:56:52.906] at com.caucho.server.connection.ResponseStream.flushBuffer(Respo
nseStream.java:601)
[13:56:52.906] at com.caucho.server.connection.ResponseStream.finish(ResponseSt
ream.java:637)
[13:56:52.906] at com.caucho.server.connection.ResponseStream.close(ResponseStr
eam.java:751)
[13:56:52.906] at com.caucho.server.connection.AbstractHttpResponse.finish(Abst
ractHttpResponse.java:1931)
[13:56:52.906] at com.caucho.server.connection.AbstractHttpResponse.close(Abstr
actHttpResponse.java:266)
[13:56:52.906] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFil
terChain.java:180)
[13:56:52.906] at com.caucho.server.dispatch.ServletInvocation.service(ServletI
nvocation.java:208)
[13:56:52.906] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.
java:259)
[13:56:52.906] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
63)
[13:56:52.906] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
[13:56:52.906] at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
[13:56:52.906] at java.lang.Thread.run(Thread.java:534)




作者 Re:Resin2.1比较熟的请进 [Re:javadd]
javadd





发贴: 735
积分: 77
于 2005-11-10 14:22 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
OK,谢谢linux_china




flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2018 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号
客服电话 0592-8750026    客服信箱 714923@qq.com    客服QQ 714923