JAVA行军

Good Luck

我的评论

ie、ff下异步推动时,浏览器请求图标总在不停转动,用户体验不太好啊,不知楼主是否也发现这个问题??
re: Java做的酒店管理系统(C/S)源码 ILOVEYOU 2007-09-27 14:38  
tiger_shi@163.com
谢谢,研究一下
re: 在Struts 2中实现文件上传 ILOVEYOU 2007-09-14 09:53  

@Max
我现在出现如下异常,图片显示不出来

java.io.FileNotFoundException: D:\Java\jetty-6.1.3\webapps\uploadtest\UploadImages\1189733933484.bmp (系统找不到指定的路径。)
 at java.io.FileOutputStream.open(Native Method)
 at java.io.FileOutputStream.
<init>(FileOutputStream.java:179)
 at java.io.FileOutputStream.
<init>(FileOutputStream.java:131)
 at tutorial.FileUploadAction.copy(FileUploadAction.java:
87)
 at tutorial.FileUploadAction.execute(FileUploadAction.java:
114)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
 at java.lang.reflect.Method.invoke(Method.java:
585)
 at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:
404)
 at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:
267)
 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:
229)
 at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:
123)
 at com.opensymphony.xwork2.DefaultActionInvocation$
2.doProfiling(DefaultActionInvocation.java:224)
 at com.opensymphony.xwork2.DefaultActionInvocation$
2.doProfiling(DefaultActionInvocation.java:223)
 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:
455)
 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:
221)
 at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:
167)
 at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:
86)
 at com.opensymphony.xwork2.DefaultActionInvocation$
2.doProfiling(DefaultActionInvocation.java:224)
 at com.opensymphony.xwork2.DefaultActionInvocation$
2.doProfiling(DefaultActionInvocation.java:223)
 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:
455)
 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:
221)
 at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:
83)
 at com.opensymphony.xwork2.DefaultActionInvocation$
2.doProfiling(DefaultActionInvocation.java:224)
 at com.opensymphony.xwork2.DefaultActionInvocation$
2.doProfiling(DefaultActionInvocation.java:223)
 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:
455)
 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:
221)
 at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:
121)
 at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:
86)
 at com.opensymphony.xwork2.DefaultActionInvocation$
2.doProfiling(DefaultActionInvocation.java:224)
 at com.opensymphony.xwork2.DefaultActionInvocation$
2.doProfiling(DefaultActionInvocation.java:223)
 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:
455)
 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:
221)
 at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:
170)
 at com.opensymphony.xwork2.DefaultActionInvocation$
2.doProfiling(DefaultActionInvocation.java:224)
 at com.opensymphony.xwork2.DefaultActionInvocation$
2.doProfiling(DefaultActionInvocation.java:223)
 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:
455)
 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:
221)
 at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:
176)
 at com.opensymphony.xwork2.DefaultActionInvocation$
2.doProfiling(DefaultActionInvocation.java:224)
 at com.opensymphony.xwork2.DefaultActionInvocation$
2.doProfiling(DefaultActionInvocation.java:223)
 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:
455)
 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:
221)
 at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:
268)
 at com.opensymphony.xwork2.DefaultActionInvocation$
2.doProfiling(DefaultActionInvocation.java:224)
 at com.opensymphony.xwork2.DefaultActionInvocation$
2.doProfiling(DefaultActionInvocation.java:223)
 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:
455)
 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:
221)
 at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:
50)
 at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:
504)
 at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:
419)
 at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:
1089)
 at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:
99)
 at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:
1089)
 at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
365)
 at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
 at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
181)
 at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
712)
 at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
405)
 at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:
211)
 at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:
114)
 at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
139)
 at org.mortbay.jetty.Server.handle(Server.java:
285)
 at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
502)
 at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:
835)
 at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:
641)
 at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:
208)
 at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:
378)
 at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
368)
 at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:
442)
2007-9-14 9:38:54 org.apache.struts2.interceptor.FileUploadInterceptor intercept
信息: Removing file myFile \tmp\upload_4b5952e6_11501ab2110__8000_00000000.tmp


大家帮我看看

<2024年11月>
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

导航

统计

常用链接

留言簿(1)

随笔档案

搜索

最新评论

阅读排行榜

评论排行榜