Quoting BaTien Duong <[EMAIL PROTECTED]>:
> Thanks. I hacked it and got the job done.
>
> It is a great job Craig. Your vision proves to be on the target again.
>
> By the way, file upload is a very important aspect of Struts
> applications. I will look closely into it. But is there any serious
> reason while file-upload is *NOT SUPPORTED YET* in the struts-chain?
>
It's only NOT SUPPORTED YET because nobody has done the work to support it :-).
Feel free to take a crack at this, but it's probably going to be somewhat more
involved than some of the other functionality, to replicate or replace the way
that the standard FileUpload functionality wraps the servlet request.
If it were up to me, I'd just implement file upload as a Filter instead of
inside the framework, but that would mean requiring a Servlet 2.3 platform.
> On behalf of many developers, me included, thanks for your great effort. :-)
>
You're welcome ... its going to be fun to see the various ways commons-chain
gets employed.
> BaTien
> DBGROUPS
>
Craig
> Craig R. McClanahan wrote:
>
> >Quoting BaTien Duong <[EMAIL PROTECTED]>:
> >
> >
> >
> >>Howdy:
> >>
> >>I am trying to get Struts-chain up and running. I follow the instruction
> >>of struts-chain in the cvs to build from the source:
> >>
> >>export ANT_HOME=.../ant-1.6beta2
> >>export JAVA_HOME=.../j2sdk1.4.2_02
> >>export TOMCAT_HOME=.../tomcat-5.0.14
> >>
> >>The build.properties is copied from the build.properties.sample
> >> servlet.home=.../common/lib
> >> struts.home=.../jakarta-struts-bin
> >> chain.home=.../cvs/jakarta-commons-sandbox/chain
> >>
> >>export
> >>
> >>
> >>
>
>PATH=${PATH}:${JAVA_HOME}/bin:${ANT_HOME}/bin:${TOMCAT_HOME}/common/lib/servlet-api.jar:${TOMCAT_HOME}/server/lib/catalina-ant.jar
> >
> >
> >>execute the following command at the struts-chain directory
> >>[-]$ ant clean dist
> >>
> >>I got the error:
> >> /build.xml:54: taskdef class org.apache.catalina.ant.DeployTask could
> >>not be found
> >>
> >>Please feed me the latest instruction to create struts-chain.war
> >>
> >>
> >>
> >
> >Copy the "catalina-ant.jar" file from your Tomcat install's server/lib
> directory
> > into the "lib" directory of Ant. This causes the Tomcat integration
> commands
> >to be recognized.
> >
> >
> >
> >>Thanks
> >>BaTien
> >>DBGROUPS
> >>
> >>
> >
> >Craig
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >.
> >
> >
> >
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]