--- On Thu, 12/11/08, Robert Graf-Waczenski wrote:
> No, the absolute path is not available and also completely
> irrelevant to a web application because the absolute path
> as seen by the client who uploaded the file may or may not
> be the same to another client who looks at the uploaded data.
No, the absolute path is not available and also completely irrelevant to
a web application because the absolute path as seen by the client who
uploaded the file may or may not be the same to another client who looks
at the uploaded data. Again, this is due to how file uploads via HTTP
work. The
s
> details.
>
> HTH,
>
> Robert
>
>
> elyes sallem wrote:
>
>> Hello,
>> in a form, a define a > and i defined a form file as property
>> i wanna initialise the path and display it in first access
>> i have the value of the path by default
>
Hi,
short answer: This is not possible. This restriction is not imposed by
Struts but is instead due to a restriction of the
html tag, for which the value can not be prefilled or changed
programmatically. In our app we therefore have the pattern that when a
file is currently already uploaded
Hi,
A HTML input of type file can't have a default value. This is a security
issue.
BR,
Andras
elyes sallem wrote:
Hello,
in a form, a define a
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
Hello,
in a form, a define a
I have not found yet a solution to my problem. Any help would be grateful.
If you need more information to help you solving my problem, please ask me.
Thanks.
Pablo Vázquez Blázquez escribió:
I have the following form:
http://www.w3.org/1999/xhtml";
xmlns:jsp="http://java.sun.com/JSP/Page
I suppose so, as the rest of the form works OK when there is no file field.
The form loads part of its content via AJAX. When the loaded content
includes a takes place the problem.
Regards.
Dave Newton escribió:
Do you have the appropriate tag lib declarations in the included JSP file?
--
Do you have the appropriate tag lib declarations in the included JSP file?
--- Pablo Vázquez Blázquez <[EMAIL PROTECTED]> wrote:
> I have the following form:
>
> http://www.w3.org/1999/xhtml";
> xmlns:jsp="http://java.sun.com/JSP/Page";
> xmlns:fmt="http://java.sun.com/jsp/jstl/fmt";
>
I have the following form:
http://www.w3.org/1999/xhtml";
xmlns:jsp="http://java.sun.com/JSP/Page";
xmlns:fmt="http://java.sun.com/jsp/jstl/fmt";
xmlns:c="http://java.sun.com/jsp/jstl/core";
xmlns:s="/struts-tags"
version="2.0">
Why, if I have a field inside JobV
the answer to your first question is here:
http://struts.apache.org/struts-action/apidocs/org/apache/struts/upload/CommonsMultipartRequestHandler.html#getRepositoryPath(org.apache.struts.config.ModuleConfig)
I think the answer to your second question depends on the servlet
container being used, an
Hi,
Simple question, when using the UploadFormBean and FormFile to upload files in
struts, where are the files stored when uploaded? Is there an upload dir that
accumulates?
If I store files in a DB, will I have to manually clean the upload directory?
Thanks.
Hi everybody,
Im redesigning a webapp and I got a weird problem with a FormFile object.
Actually I got a FormFile into an ActionForm class, to make a better design
I want to store this FormFile into a "File" class and access it modifiying
the getters/setters content, the problem is when I want
13 matches
Mail list logo