Tiles and cewolf Taglibs

2003-01-13 Thread Nick Torenvliet
I am trying to get the cewolf charting tools to render a graph from
within tiles.

My action forwards to a tiles-def(myApp/WEB-INF) which picks up pieces
of a page(the classic layout in fact) from two different
direstories(myApp/tiles/layouts and myApp/tiles)  the body of the page
is /tiles/graphBody.jsp and it is as follows ...

<%@taglib uri='/WEB-INF/cewolf.tld' prefix='cewolf' %>
Page View Statistics









The renderer won't push the graph out onto the page properly though.  It
all works when I drop tiles and get my action to forward straight to a
jsp. How can I get tiles to accept the output of the cewolf taglib? 

~/nick



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




linking a struts application to a jndi resource through adatasource

2003-01-06 Thread Nick Torenvliet
Hi, So I've got two pieces, on one side a working mysql struts data
source example, on the other side a working tomcat 4.1 servlet.xml
configured jndi resource linked to a mysql data base.  I want to access
the jndi from inside of struts, can I configure a data source to link to
the jndi resource, if so should I be including any special name or key
parameters in the datasource, or give it a special type?




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: getting a datasource in a bean

2003-01-05 Thread Nick Torenvliet
Sounds like a plan,I've never worked with javax.naming packages before
though,  I've got the following datasource 


   
   
 

 

 

 

 

 

 

 

   

Cound you give me some example code that uses JNDI to get a connection?

~/nick   


On Sun, 2003-01-05 at 17:46, Max Kremer wrote:
> You can just look up the JNDI datasource in your bean.
> - Original Message -----
> From: "Nick Torenvliet" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, January 05, 2003 4:51 PM
> Subject: getting a datasource in a bean
> 
> 
> > Hi, Just as in the examples on the struts site I've succesfully
> > configured a mysql datasource and had it print the results of queries
> > from out of an action class. I am using struts 1.1-b2.
> >
> > I want to replace my current dbpooling(I wrote last year)with the struts
> > datasource and dbcp, I am having one problem though.  I can't get a
> > connection in my beans to the database because I have no access to the
> > getDataSource(request,key) method. Since my pooling methods were hard
> > wired I just went in to the database by passing a database name to the
> > methods.
> >
> > The stock answer is to pass a connection to the bean, but that means
> > I'll be rewriting a lot of code.
> >
> > How can I access the datasource from a bean?
> >
> > ~/nick
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> > -
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




getting a datasource in a bean

2003-01-05 Thread Nick Torenvliet
Hi, Just as in the examples on the struts site I've succesfully
configured a mysql datasource and had it print the results of queries
from out of an action class. I am using struts 1.1-b2.

I want to replace my current dbpooling(I wrote last year)with the struts
datasource and dbcp, I am having one problem though.  I can't get a
connection in my beans to the database because I have no access to the
getDataSource(request,key) method. Since my pooling methods were hard 
wired I just went in to the database by passing a database name to the 
methods.

The stock answer is to pass a connection to the bean, but that means
I'll be rewriting a lot of code.  

How can I access the datasource from a bean?

~/nick


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Struts and Borland jbuilder6

2002-02-04 Thread Nick Torenvliet

Hi all, I'm in the process of trying to get a struts project to compile in
jbuilder 6.

I am new to both the products and I can't seem to get them to work.

I imagine its operator error, but I've seen references to an open source
tool
that you need to use to get jb5 to work with struts- I am wondering if there
is any special hoops I must pass through to get jb6 working with struts.

Thanks, and yes I will post this on the jb news groups as well :-)


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Implementing HTTPS in Struts

2002-02-04 Thread Nick Torenvliet


- Original Message -
From: "Rob Breeds" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, February 04, 2002 1:12 PM
Subject: RE: Implementing HTTPS in Struts


> Steve
>
> That second link gets me the jar. The original link still stops loading at
> same point on my machine but now I've got access to a different machine
and
> that's fine. So it was me! Sorry!
>
> Thanks
>
> Rob
>
>
>
>
> "Ditlinger,
> Steve"   To: Rob Breeds/UK/IBM@IBMGB,
Struts Users Mailing List
> 
> uilt.com>cc:
>  Subject: RE: Implementing
HTTPS in Struts
> 04/02/2002
> 17:21
> Please respond
> to "Struts
> Users Mailing
> List"

>
>
>
>
>
>
>
> Hmmm. I just tried it again to be sure and it worked.
> Maybe it is just slow.
>
> Try this one, maybe you can reach it better.
>
>
http://us.f1.yahoofs.com/users/aee2731f/bc/public/Struts+Security+Extension
> .jar?bcB4.X8AlFd_32Ts
>
>
> HTH,
>
> Steve
>
> -Original Message-
> From: Rob Breeds [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 04, 2002 4:07 AM
> To: Struts Users Mailing List
> Subject: Re: Implementing HTTPS in Struts
>
>
>
> Steve
>
> This link fails to load a complete page for me, and doesn't include a
link!
> Perhaps it's just me?
>
> Rob
>
>
>
>
>
>
> "Ditlinger,
>
> Steve"   To:
"'[EMAIL PROTECTED]'"
> <[EMAIL PROTECTED]>,
>  "'[EMAIL PROTECTED]'"
> <[EMAIL PROTECTED]>
> uilt.com>cc: "'[EMAIL PROTECTED]'"
> <[EMAIL PROTECTED]>
>  Subject: Re: Implementing
> HTTPS
> in Struts
> 02/02/2002
>
> 00:30
>
> Please respond
>
> to "Struts
>
> Users Mailing
>
> List"
>
>
>
>
>
>
>
>
>
>
> Robert:
>
> We recently posted just such a solution.  Check it out at
> http://struts.ditlinger.com.  There you will find a description of our
> solution and a link to download our Struts extensions and example app.  If
> you have any questions, please do not hesitate to ask.
>
> Steve
>
>
> >You wrote:
> ---
> Hello all, my name is Rob Scaduto and I have just recently joined the
> Struts
> user mailing list. I have yet to find any resources talking about how to
> handle switching between http and https (and vice versa) using struts. The
> only solution I was able to come up with was sub classing the Struts
> LinkTag
> and adding a secure attribute. This would then dynamically build an
> absolute
> path based on the jsp. This works great when you use the forward or page
> attribute, but doesn't work at all if you use the href attribute. I'd like
> to have a solution that works in all cases and I was curious if someone
> could add some insight. Thanks in advance, Rob
>
>
> --
> To unsubscribe, e-mail:   <
> mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <
> mailto:[EMAIL PROTECTED]>
>
>
>
>
>
> --
> To unsubscribe, e-mail:   <
> mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <
> mailto:[EMAIL PROTECTED]>
>
>
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: