You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Jon Stevens <jo...@latchkey.com> on 2001/04/12 05:35:39 UTC

Re: how to use Peers in other Servlet framework [ClassCastException]

on 4/11/01 8:32 PM, "wuym" <wu...@163.com> wrote:

> I have s same problem,
> our website have a lot of servlet already use WebMacro Servlet.
> So i don't want to switch servlet framework to Turbine.
> But i like the "peer" tools, how can i use peer in my webmacro Servlet,
> not in Turbine Servlet Framework.
> 
> When i runing some code in Webmacro servlet,
> --------------------------------------
> Criteria cri = new Criteria();
> Vector v = ObjectPeer.doSelect(cri);
> ----------------------------------------

TurbineConfig

Read the javadoc documentation.

Ug. This is getting to be a daily question.

-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-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: Re[2]: how to use Peers in other Servlet framework [ClassCastException]

Posted by Jon Stevens <jo...@latchkey.com>.
on 4/11/01 9:44 PM, "wuym" <wu...@163.com> wrote:

> I already use below code in Servlet's init method.
> 
>       TurbineConfig tc = new
> 
TurbineConfig("/home/wuym/working/www_us","/conf/TurbineResources.properties
")> ;
>       tc.init();
> 
> I don't know why still have this problem, but in command line, these
> code is work.?

Do you have your turbine.jar in the right classpath?

-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-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re[2]: how to use Peers in other Servlet framework [ClassCastException]

Posted by wuym <wu...@163.com>.
I already use below code in Servlet's init method.

        TurbineConfig tc = new TurbineConfig("/home/wuym/working/www_us","/conf/TurbineResources.properties");
        tc.init();

I don't know why still have this problem, but in command line, these
code is work.?



On Wed, 11 Apr 2001 20:35:39 -0700
Jon Stevens <jo...@latchkey.com> wrote:

> on 4/11/01 8:32 PM, "wuym" <wu...@163.com> wrote:
> 
> > I have s same problem,
> > our website have a lot of servlet already use WebMacro Servlet.
> > So i don't want to switch servlet framework to Turbine.
> > But i like the "peer" tools, how can i use peer in my webmacro Servlet,
> > not in Turbine Servlet Framework.
> > 
> > When i runing some code in Webmacro servlet,
> > --------------------------------------
> > Criteria cri = new Criteria();
> > Vector v = ObjectPeer.doSelect(cri);
> > ----------------------------------------
> 
> TurbineConfig
> 
> Read the javadoc documentation.
> 
> Ug. This is getting to be a daily question.
> 
> -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-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org

-- 
wuym <wu...@163.com>


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