You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Krzysztof Ogrodnik <pi...@zeus.polsl.gliwice.pl> on 2001/07/12 08:53:24 UTC

ParameterParser without turbine

Hello,

I'm starting a project and I'm not able to use turbine in it. I would like to use only one class
from turbine - ParameterParser to be able to perform file upload. Unfortunately, it seems that this
class is tightly connected with the rest of turbine - it requires ResourceServices or something like
that. Please let me know how to use this single class in my project. Maybe I could use other class
from turbine to be able to do file upload.

Kind regards.


-- 
Krzysztof Ogrodnik  mailto:pink@zeus.polsl.gliwice.pl  ICQ>>2963634             
perl -le 's**02).4&9%4^[./4(%2^0).+^=,/9\$^=!.&**y%& -;=^[%"`-{f a%%s%%$_%ee'

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: ParameterParser without turbine

Posted by Jon Stevens <jo...@latchkey.com>.
on 7/11/01 11:53 PM, "Krzysztof Ogrodnik" <pi...@zeus.polsl.gliwice.pl>
wrote:

> Hello,
> 
> I'm starting a project and I'm not able to use turbine in it. I would like to
> use only one class
> from turbine - ParameterParser to be able to perform file upload.
> Unfortunately, it seems that this
> class is tightly connected with the rest of turbine - it requires
> ResourceServices or something like
> that. Please let me know how to use this single class in my project. Maybe I
> could use other class
> from turbine to be able to do file upload.
> 
> Kind regards.

You can still use it. Just include the Turbine.jar in your classpath and use
TurbineConfig to initialize Turbine in your servlet's init() method.

-jon

-- 
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: ParameterParser without turbine

Posted by Jason van Zyl <jv...@apache.org>.
On 7/12/01 2:53 AM, "Krzysztof Ogrodnik" <pi...@zeus.polsl.gliwice.pl> wrote:

> Hello,
> 
> I'm starting a project and I'm not able to use turbine in it. I would like to
> use only one class
> from turbine - ParameterParser to be able to perform file upload.

The file upload service has now been separate so you can use the
service separately. This is all in HEAD and everything is still coupled
in the 2.1 branch. If you simply want to be able to upload files take
a look at the classes in the upload service in Turbine's HEAD. The classes
are self contained now and you could strip out what you need because
the docs for the Fulcrum services framework aren't done yet so there's
no instructions on how to get at what you need. Docs coming shortly.

> Unfortunately, it seems that this
> class is tightly connected with the rest of turbine - it requires
> ResourceServices or something like
> that. Please let me know how to use this single class in my project. Maybe I
> could use other class
> from turbine to be able to do file upload.
> 
> Kind regards.
> 

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org