ASF Bugzilla – Attachment 17767 Details for
Bug 38352
Additional Entries for Default catalina.policy file.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Simple JSP page to exibit the bug
testtmp.jsp (text/plain), 480 bytes, created by
william.barker
on 2006-02-22 05:51:07 UTC
(
hide
)
Description:
Simple JSP page to exibit the bug
Filename:
MIME Type:
Creator:
william.barker
Created:
2006-02-22 05:51:07 UTC
Size:
480 bytes
patch
obsolete
><%@page import="java.io.*" %> ><html> ><head> ><title>Test tempdir page</title> ></head> ><body> ><% > File tempdir = (File)application.getAttribute("javax.servlet.context.tempdir"); > File tempf = new File(tempdir,"foobar.txt"); > Writer outw = new OutputStreamWriter(new FileOutputStream(tempf),"iso-8859-1"); > outw.write("Hello World"); > outw.close(); > tempf.delete(); >%> >Temp directory is <%= tempdir %><br> >TempFile is <%= tempf %> ></body> ></html>
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 38352
:
17486
| 17767