ASF Bugzilla – Attachment 20264 Details for
Bug 42503
ServletContext.getResourceAsStream returns stale data
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Test case
test.jsp (text/plain), 250 bytes, created by
Arvind Srinivasan
on 2007-05-23 16:54:14 UTC
(
hide
)
Description:
Test case
Filename:
MIME Type:
Creator:
Arvind Srinivasan
Created:
2007-05-23 16:54:14 UTC
Size:
250 bytes
patch
obsolete
><%@ page language="java" import="java.io.*" %> > >File contents=[ ><% > InputStream is = application.getResourceAsStream("/test.txt"); > > int c = is.read(); > while (c >= 0) { > out.print((char)c); > c = is.read(); > } >%> >]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 42503
:
20263
| 20264 |
20265