public void init(ServletConfig config) throws ServletException {
String path = config.getServletContext().getRealPath("/");
}
On Wed, 6 Oct 2004 10:28:36 +0700, Harry <[EMAIL PROTECTED]> wrote:
>
> Alow rekan2,
>
> Saya coba ambil pathnya gini nih..
>
> String path;
>
> File file = new File ("");
> path (file.getAbsolutePath());
>
> Itu keluarnya bukan tempat saya taruh file yg saya upload :
> C:/jakarta-tomcat-4.1.29/webapps/cimandebaru/upload/descriptor
>
> Tapi malah keluarnya C:/jakarta-tomcat-4.1.29/bin
>
> Mohon di bantu
> Terima kasih
Kalau mau keluar dari mailing list ini, caranya kirim sebuah email ke [EMAIL PROTECTED]
Jangan lupa, website JUG Indonesia adalah http://www.jug.or.id
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/jug-indonesia/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
