I have an action to deal with fileuploads
...
getLogger().debug("attached file found -> " + parameterName);
FilePart filePart = (FilePart) request.get(parameterName);
File file = ((FilePartFile) filePart).getFile();
DiskStore ds = new DiskStore();
String id = ds.store(file);
request.setAttribute("newfilename", id);
getLogger().debug("saved as reference " + id);
...
sitemap is
<map:match pattern="upload">
<map:act type="upload-files"/>
<map:generate type="request"/>
<map:serialize type="xml"/>
</map:match>
why is the requestattribute parameter "newfilename" set in the action not
visible in the output? Is the requestgenerator not picking up the changed
request object then? Or maybe there is another way to change to request
object before the generator picks it up
Any thoughts?
Jorg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]