James,
On 26.08.2004 16:48, James Mitchell wrote:
Short answer to your question.....no, Struts has nothing to do with this.
I can't understand how someone would take a week to try and get this working in JSP page, and even go so far as to write this email and send it to this list without first trying this (almost)verbatim in a simple test class.
I ran your example on my home machine (Mandrake 10.0) and it worked just fine in a JSP or in an Action forwarded to a JSP. There's something else going on.
Of course ... my example (the jsp you tried) worked fine for me as well ... That made me think that tomcat is not the problem so the next step logical setp for me was to think it's a struts related problem. For that reason I decided to ask here on the list. Sorry if you consider this as disrespect. We simply don't see what the problem could be.
Here is what the application does: - it gets some data from a webpage form - it creates a file in a certain directory on the serve - and writes the data to this newly created File via FileOuputStream
- later a script is called to do further processing with this new file
For the script to work properly the created file has to have the file permission -rw-r--r--, so before calling the script I tried exactly the same code as in the test jsp. The code in the jsp really is copy-pasted from the app's source.
Do you perhaps have any idea what could cause these problems I encounter? I am really running out of ideas.
Christian -- To reply to this posting directly use the following address and remove the 'NO-SPAM' part: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]