Hi,
I am trying to port existing applications written with T2.2 to T2.3.1
and I came across the following issue:
using the upload service with the following code:
<form enctype="multipart/form-data" method="POST">
<input type="hidden" name="action" value="UploadExample" />
<input type="file" name="filename">
<input type="submit" value="upload" />
</form>
und clicking on the submit button without choosing any files would make the folowing
java code
result in an instance of org.apache.commons.fileupload.DefaultFileItem and not null as
expected and as
the situation was back in T2.2
ParameterParser params = data.getParameters();
//grab the FileItems available in ParameterParser
FileItem fi = params.getFileItem("filename");
bug, feature?
thanks
Akmal
Am Do, den 28.10.2004 schrieb Henning Schmiedehausen um 19:11:
> The Jakarta Turbine team is pleased to announce the release of Jakarta
> Turbine Version 2.3.1, a maintenance release of the Jakarta Turbine 2.3
> branch.
>
> Turbine is a servlet based framework that allows experienced Java
> developers to quickly build web applications. Turbine allows you to use
> personalize the web sites and to use user logins to restrict access to
> parts of your application.
>
> Turbine is a matured and well established framework that is used as the
> base of many other projects.
>
> The list of changes can be viewed at
> http://jakarta.apache.org/turbine/turbine/turbine-2.3.1/changes-report.html
>
>
> The full documentation is available at
> http://jakarta.apache.org/turbine/turbine/turbine-2.3.1/
>
> The release is available through the Apache Mirror System and the Maven
> Repository at ibiblio.org
>
> Apache Mirror System
> ====================
>
> http://www.apache.org/dyn/closer.cgi/jakarta/turbine/turbine-2.3.1/
>
> or
>
> http://www.apache.org/dist/jakarta/turbine/turbine-2.3.1/ (until the
> mirrors are synced)
>
> Maven repository
> ================
>
> http://www.ibiblio.org/maven/turbine/
> http://www.apache.org/dist/java-repository/turbine/
>
> Dependencies:
>
> <dependency>
> <groupId>turbine</groupId>
> <artifactId>turbine</artifactId>
> <version>2.3.1</version>
> <url>http://jakarta.apache.org/turbine/download.html</url>
> <type>jar</type>
> </dependency>
>
> - The Jakarta Turbine Team
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> !EXCUBATOR:41812835258323115110917!
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]