cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agssa.net>
Subject Re: [file upload] flow, actions and ........ XSP ?
Date Tue, 24 Feb 2004 17:27:00 GMT
St├ęphaneDelort dijo:
> Thanks to Askild; I finaly reached my goal.
>
> but I for doing this file upload I uses neither flows nor actions, but a
> "simple" XSP page.
> (source code copied at the end)
>
> I would like to know the differencies between doing that with actions,
> flows and XSP.
>
>
> thanks in advance,
> Stephane
>
>
>
> /***********************  XSP file  *****************************
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <xsp:page language="java"
>           xmlns:xsp="http://apache.org/xsp"
> 	  xmlns:xsp-request="http://apache.org/xsp/request/2.0"
> 	  xmlns:esql="http://apache.org/cocoon/SQL/v2">
>
> <xsp:structure>
> <xsp:include>java.util.*</xsp:include>
> <xsp:include>java.io.File</xsp:include>
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  You can remove the above line
> <xsp:include>java.io.FileOutputStream</xsp:include>
> <xsp:include>java.io.FileInputStream</xsp:include>
> <xsp:include>java.util.Collections</xsp:include>
> <xsp:include>java.util.Map</xsp:include>
> <xsp:include>org.apache.cocoon.servlet.multipart.*</xsp:include>
> <xsp:include>java.lang.String</xsp:include>
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  You can remove the above line
> </xsp:structure>
...

Best Regards,

Antonio Gallardo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message