struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lcl" <...@gnireel.com>
Subject Re: a jsp question:how to get the web application's directory?
Date Fri, 13 Jun 2003 03:23:41 GMT
OutputStream, seemed very good, but could you give me a more detailed
infomation, because I have touch it before, thank you very much.

"Dan Tran" <danttran@hotmail.com> Law11-OE583b5mxXBeD00042c77@hotmail.com...
> Cant you just create a stream on the fly and ship it back to the user thru
> HTTPResponse?
>
> In you insist on writting to a webapp directory, look up
> getRealPath().
>
> -Dan
> ----- Original Message -----
> From: "lcl" <lcl@gnireel.com>
> To: <struts-user@jakarta.apache.org>
> Sent: Thursday, June 12, 2003 7:41 PM
> Subject: a jsp question:how to get the web application's directory?
>
>
> > Hi all,
> >
> > I just have a question about jsp/servlet, how to gain the directory  in
> the
> > file system of a web application? because I want to create a file under
> the
> > web application, and redirect it to user.
> >
> > Best Regards
> > lcl
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message