Re: Are there any Java Graphics gurus out there?

2002-06-18 Thread Michael Mehrle

Java Guru  I don't know, but I have done a lot of Java graphics in the
past what do you need?

- Original Message -
From: "Jerry Jalenak" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 18, 2002 6:33 AM
Subject: Are there any Java Graphics gurus out there?


> Way off topic, but I'm desparate.
>
> If any of you have any experience with working with graphics, could you
> please contact me off-list at [EMAIL PROTECTED]?
>
> Thanks.
>
>
> Jerry
>
> This transmission (and any information attached to it) may be confidential
and is intended solely for the use of the individual or entity to which it
is addressed. If you are not the intended recipient or the person
responsible for delivering the transmission to the intended recipient, be
advised that you have received this transmission in error and that any use,
dissemination, forwarding, printing, or copying of this information is
strictly prohibited. If you have received this transmission in error, please
immediately notify LabOne at (800)388-4675.
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


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




Re: dynamic select box

2002-03-26 Thread Michael Mehrle

Okay, I'm a beginner myself, but based on my current knowledge I would just
put the values in a bean and use the  tag. There might be better
solutions, but this should work


- Original Message -
From: "Jose Casas" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, March 26, 2002 3:55 PM
Subject: RE: dynamic select box


> I know it has been answered before, but that response was not useful to
> me...i'm new to struts and i need something more in depth.
>
> THanks.
>
> Jose Casas
>
> E-Commerce Applications
> (501) 277-3112
> [EMAIL PROTECTED]
>
>
>
> > -Original Message-
> > From: Daniel Jaffa [SMTP:[EMAIL PROTECTED]]
> > Sent: Tuesday, March 26, 2002 4:49 PM
> > To: Struts Users Mailing List
> > Subject: Re: dynamic select box
> >
> > This has been answered before.  Loop up html:options and collections
> > - Original Message -
> > From: "Jose Casas" <[EMAIL PROTECTED]>
> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> > Sent: Tuesday, March 26, 2002 2:26 PM
> > Subject: dynamic select box
> >
> >
> > > Does anybody have sample code that shows how to build a select box
> > > dynamically?  I need to create the select box with values that come
from
> > a
> > > database.
> > >
> > > Thank you.
> > >
> > > Jose Casas
> > >
> > > E-Commerce Applications
> > > (501) 277-3112
> > > [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > > **
> > > This email and any files transmitted with it are confidential
> > > and intended solely for the individual or entity to
> > > whom they are addressed.  If you have received this email
> > > in error destroy it immediately.
> > > **
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > 
> > > For additional commands, e-mail:
> > 
> > >
> > >
> >
> > --
> > To unsubscribe, e-mail:
> > 
> > For additional commands, e-mail:
> > 
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



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




HELP! Problems with HTTPS extension for struts

2002-03-07 Thread Michael Mehrle

I'm running into problems running the http extension at 
http://home1.gte.net/ditling/struts/

Below the error I get trying to launch index.jsp - anyone running into similar 
problems? BTW, after some research online, I replaced xerces.jar with crimson.jar in 
my WEB-INF/lib directory and I'm getting the indentical error. And yes, I'm running 
the lastest version of Tomcat and Struts, as well as JDK1.3 (don't want to touch 
JDK1.4 for now). Anyway, any good ideas would be appreciated...


type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server Error) that 
prevented it from fulfilling this request.

exception 

javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java:215)
at 
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194)
at java.lang.Thread.run(Thread.java:484)


root cause 

java.lang.ClassCastException: org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
at 
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:139)
at org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:183)
at 
org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCache.java:165)
at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138)
at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:345)
at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.in

Re: Help setting up PoolMan with Struts in Tomcat 3.3

2002-03-03 Thread Michael Mehrle

Poolman uses the classpath of its VM to find poolman.xml - and the classes
directory of your application is guaranteed to be referenced. If you want it
to be anywhere else, you need to add that directory to the classpath
settings of your Tomcat launch script (or build.xml). Remember not to set
the path of poolman.xml but the path of its containing directory.

Good luck...

- Original Message -
From: "Satish Jeejula" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 03, 2002 3:07 PM
Subject: Help setting up PoolMan with Struts in Tomcat 3.3


> Hi All,
>
> While reading thru the poolman user guide, I found that with TOMCAT 4.0, I
> should put poolman.xml in my web application WEB-INF\classes directory.
>
> Is that true also with Tomcat 3.3 also??
>
> Any help is appreciated.
>
> Thanks,
> Satish
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



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




JSP/Struts question: Best way to loop through an array/list/enumeration on my JSP?

2002-02-04 Thread Michael Mehrle

Is there a struts-specific tag allowing me to loop through an array (list)
of strings and have them be printed sequentially? I am currently populating
a template JSP from the database - the way I retrieve the page content is by
tagging a contentID to the end of the request, like this:

http://myserver/app/getpage.do?cid=42

Now, I have a 'related' field in my content table, which is a simpe list of
other page cids. What I need to do is to retrieve go to those other content
entries, retrieve the linktext field and THEN loop through it on my JSP.

Everything until the looping is no problem - at firsthand I was simply
considering to just pull in the data and then pre-process some
HTML/JavaScript tags in my bean that gets the db data. However, after giving
it a second thought I was pretty sure that this is a common task and that
there must be something out there that allows me to loop through an
array/list/enumeration or something.

ANY input would be very welcome.

Cheers,

Michael



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




Problem with MockStrutsTestCase - can't find struts-config.xml

2002-01-30 Thread Michael Mehrle

Hi there:

I'm running my tests through ant and all other tests run fine. However, when
running an implementation of MockStrutsTestCase I keep getting this:

Input/output error reading configuration from resource path
/WEB-INF/struts-config.xml

Now, of course I checked - the directory of my build.xml is where my WEB-INF
dir is (and it's in the classpath).
I have even tried to set it manually (setConfigFile()), but to no avail...

Any suggestions?

Cheers,

Michael



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




How to perform junit testing of Struts classes?

2002-01-29 Thread Michael Mehrle

Of course I can imagine writing a junit test suite on my own, but I was
wondering if there's something a bit more 'true and tested' out there.
Anybody found the holy gral of testing struts code? ;-)




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




Re: Can I directly access properties in my ApplicationResources file?

2002-01-27 Thread Michael Mehrle

Excellent - this sounds like a great approach and will tie the request to
the classpath rather than the filesystem (always a good thing :-)
Actually, just to clarify - I am using Tiles and I am trying to validate the
template name, which I think should be done either by my form or the Action
class. My ApplicationResources.properties file contains the following
entries:

template=basic
template=article

These are the mapping names of the templates that I have available (and
there will be more) - I am attempting to check whether or not the proper
template key was passed into the request...

Any suggestions would be welcome...

Cheers,

Michael


- Original Message -
From: "Mike Olivieri" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, January 27, 2002 9:46 AM
Subject: Re: Can I directly access properties in my ApplicationResources
file?


> A similar approach is using the getResourceAsStream() method from any
class.
>
> InputStream propFileStream =
> getClass().getResourceAsStream("/com/companyname/appname/app.properties");
> Properties props = new Properties();
> props.load(propFileStream);
>
> This works well for any kind of application, and will search the classpath
> rather than the filesystem for the properties file.
>
> Sometimes, there can be an extreme proliferation of properties files. In a
> large app, you'll have potentially hundreds of properties. Make sure that
your
> properties keys are descriptive enough that you could potentially combine
them
> into one properties file. You wouldn't want to just use:
> driver=oracle.jdbc.drivers.OracleDriver
> Instead, use
> appname.subsystem.jdbc.driver=oracle.jdbc.drivers.OracleDriver
>
> And finally, Mark is absolutely right about not mixing logic in your
tiers.
> Make sure that any business logic you have is encapsulated in classes that
are
> used by the Action class - don't put the business logic directly in the
Action
> class. It's not really much more typing, and will actually be easier to
debug
> and support... and reuse!
>



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




Re: Can I directly access properties in my ApplicationResources file?

2002-01-27 Thread Michael Mehrle

Thanks for the quick update - I of course realize that this is a scope
issue, but with the plethora of attributes and properties one can get
confused with all that... I will try this as suggested.

One more question: Am I correct to assume that I could retrieve values from
my ApplicationResources file also from within my form subclass by calling:

String myAttribute = request.getAttribute("application.attribute1"));

Cheers,

Michael

- Original Message -
From: "Mark Rines" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, January 27, 2002 8:49 AM
Subject: Re: Can I directly access properties in my ApplicationResources
file?


> Scope, scope, scope. Once you're in your Action class, you are in the
> business logic scope of your application. Your business logic should have
> nothing to do with Struts, or any other non business related architectural
> implementation ( such as Swing, JAAS, etc...), architecturally speaking.
So,
> use the classes and methods used for manipulating any other properties
file,
> which is just what the ApplicationResources.properties file is, no more,
no
> less. For more info see the Properties class , and the supporting classes
> Property*. Reading can be as  easy as:
> ...
> PropertyResourceBundle p = new PropertyResourceBundle( new
> FileInputStream("ApplicationResources.properties") );
> ...
> String propertyValue = p.getString("myKeyName");
> ...
>
> Hope this helps.
> Mark
> - Original Message -
> From: "Michael Mehrle" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Sunday, January 27, 2002 12:01 AM
> Subject: Can I directly access properties in my ApplicationResources file?
>
>
> > Okay, I'm in my Action class and would like to access some application
> > specific configuration settings stored in my ApplicationResources.config
> > file . What method do I call from my Action subclass in order to get to
> > those? I have been looking all over the place and can't make sense out
of
> > this...
> >
> >
> >
> > --
> > 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]>




Can I directly access properties in my ApplicationResources file?

2002-01-26 Thread Michael Mehrle

Okay, I'm in my Action class and would like to access some application
specific configuration settings stored in my ApplicationResources.config
file . What method do I call from my Action subclass in order to get to
those? I have been looking all over the place and can't make sense out of
this...



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




Re: jsp templates: using expression in content files

2002-01-23 Thread Michael Mehrle

Have you tried Tiles? I'm working with it right now, and am on the cusp of
inserting dynamic tags... just an idea.

- Original Message -
From: "James Erb" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 23, 2002 12:11 PM
Subject: jsp templates: using expression in content files


> We're stumped folks.  I'm using struts templates as a way make UI
> development more efficient--but we have the following issue.
>
> Imagine a page like the following:
>
> <%@ page language="java"  %>
> <%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
>
>
>
>
> <%! String name = "bob"; %>
>
>
> 
>
> 
> 
> Untitled
> 
>
> 
>
>
> 
>
> 
>
> 
>
>
> 
> 
>
> The problem is in the content file "gotten" by the template
> --layout.jsp--contains the expression
>
> <%= name %>
>
> We consistently get "symbol not found" compilation errors. Can it really
be
> that templates are good for the inclusion of only static content? We'd
like
> to use templates to include JSP content that contains expressions.
>
> Also, we've tried  etc.
>
> Please help..
>
>
> James Erb
> Director of Web Development
> Hotwire
> [EMAIL PROTECTED]
> 415/343-8411
> www.hotwire.com
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



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




Re: Vik's book on Struts (basebeans book)

2002-01-18 Thread Michael Mehrle

http://www.amazon.com/exec/obidos/ASIN/0971661901/qid=1011383458/sr=2-1/ref=
sr_2_11_1/002-6440265-7808864

- Original Message -
From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, January 18, 2002 9:28 AM
Subject: Re: Vik's book on Struts (basebeans book)


>
> This sounds like a book we could really use in our company. Can you please
> post a URL for it ?
>
> Thanks,
> Pritika.
>
>




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




Re: Mouse over images on buttons in Struts

2002-01-16 Thread Michael Mehrle

Use an image and Javascript - it's just plain old server-side JavaScript


- Original Message -
From: "Tony" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 6:02 PM
Subject: Mouse over images on buttons in Struts


> Hi
>
> I want to have a mouseover effect on a button.  When the mouse is not over
the button the button should display graphic A, when the mouse is over the
button the graphic should be graphic B.  What is the best way to do this
with struts.
> I have had a look at the
> 
>
> tag but am not having much luck getting it to work for me.  Should I use
Struts for this, or plain javascript?
>
>
>
> --
>
>
> Cheers
>
> Tony
> -
>
>
>
> _
>
> Do You Yahoo!?
>
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



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




Re: [Off Topic] Turn on Logging in Tomcat 4.0.1

2002-01-16 Thread Michael Mehrle

Solution: run LINUX!! Just kiddin' - the logs should be in your
$CATALINA_HOME\logs\ directory (I'm using Windows slashes - hehehehe :-)

If you want them to go somewhere else change the following entry in your
$CATALINA_HOME\conf\server.xml file:



Looks like you are able to pretty much set everything there - HAVE A BLAST!

Michael



- Original Message -
From: "Jenkins, David" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 10:48 AM
Subject: RE: [Off Topic] Turn on Logging in Tomcat 4.0.1


> All Logs are in the logs directory which is off your tomcat installation
> directory.
>
> Dave
>
>
> -Original Message-
> From: Matt Raible [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 17 January 2002 6:10 a.m.
> To: [EMAIL PROTECTED]
> Subject: [Off Topic] Turn on Logging in Tomcat 4.0.1
>
>
> I'm hoping someone on this list will know the solution to this.  I'm using
> Tomcat 4.0.1 on a Windows platform.
>
> I start Tomcat and run it in a console window on my machine, but I never
see
> any logging messages.  I *know* they're there, because when I put the same
> application on another machine (fresh install of Tomcat) - I get all the
> startup messages from my struts app.
>
> My question is - how do I turn on logging, so I get more than just this:
>
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0.1
> Starting service Tomcat-Apache
> Apache Tomcat/4.0.1
>
>
>
> __
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
>
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
>
> 
> This message contains official information which is intended
> for the use of the addressee(s) only.  If you are not the
> intended recipient, please notify the sender immediately.
> You should not further disseminate or copy this message
> in any way.
> *
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



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




Re: Problem with and

2002-01-16 Thread Michael Mehrle

This seems to be an obvious limitation based on Java reflection. By
overloading the setStartDate method you seem to be confusing the write/read
permission mechanism available from JSP. By adding a second method you seem
to lose read capability altogether.

Here's a little workaround - make the parameter type in setStartDate a
simple object and then have the method sort out what is has been called. You
pretty much are shifting things into runtime this way and you won't have
this signature problem. Of course you can't do this with a simple String
(not an object in Java), so you might want to write yourself a little
wrapper object.

I know - this gets ugly - but unless someone else has figured out how to
circumvent this flaw it's what I might try...

Cheers!


- Original Message -
From: "Marcelo Caldas" <[EMAIL PROTECTED]>
To: "Struts Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 10:55 AM
Subject: Problem with  and 


> Hi,
> Maybe this is more related on how reflection works, But I'm trying to
understand the behavior here...
> Here's my situation:
>
> I have a Bean under request scope with the following methods:
>
> public MyBean {
> private java.util.Calendar startDate;
>
> public void setStartDate(Calendar newValue) {
> this.startDate = newValue;
> }
> public void setStartDate(java.util.Date newValue) {
> if (this.startDate == null) {
> this.startDate = Calendar.getInstance();
> }
> this.startDate.setTime(newValue);
> }
> public Calendar getStartDate() {
> return this.startDate;
> }
> }
> Well, forget all the typos, since I just created the above code as
example... But when I have a scenario like the above (two setters with
different signature - can be Calendars, int and Integer, long and Long,
etc...)
> the above tags,  and  complains that can't find a
getter method for property ???.
>
> I tried with  and  and the error was:
"Property ??? in  is write only"
>
> Am I missing something? I don't know much about reflection, but I know
that it's possible to declare the method signature while trying to get
reference to a method, and it seems that it's not the case here...
>
> Any explanation is appreciated...
>
> Right now, I just fixed the problem by removing one of the setter methods.
>
> Regards,
> Marcelo
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



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




Re: Struts Connection Pooling

2002-01-16 Thread Michael Mehrle

Very simple - use Poolman! All you need to do is to download it, and put
poolman.jar and the poolman.xml location in your classpath. It even has
caching of frequent requests - cool stuff.

Michae


- Original Message -
From: "Adrian Theuma" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 8:43 AM
Subject: Struts Connection Pooling


Hi,
I just joined this mailing list and I think it is great for
someone starting off with struts and even in the longer term. I need an
opinion on the connection pooling build in struts. Is this safe to use,
how does it behave under heavy load? Can you forward me to an example
where this is used?

Thanks.

Regards,
Adrian

--
To unsubscribe, e-mail:

For additional commands, e-mail:






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




HELP! How do I share DB result set between nested JSP (Tiles) pages...

2002-01-16 Thread Michael Mehrle

This is what I am trying to do is to populate the same nested JSP template
over and over again with different page data coming from the database. This
is the process I imagine:

- The user presses a link containing a pageID, which in turn gets send to
   Struts as a request.
- The associated Action class parses and validates the request and then
either
   returns an error page or launches a Java bean that gets the result (page
content,
   title, etc..)



- There is a main.jsp template that's implemented via Tiles and references
  exactly three JSPs: west.jsp, center.jsp, and east.jsp.
- Each of the three templates contain only layout  code and an entry like
this:
   

Q: Since those jsps are nested and especially since Tiles is doing its own
thing - how can I get the page content to all three (nested) jsps? Should I
put the object(s) in the session or something?

I'm a bit lost - any input would be appreciated...

Cheers,

Michael




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




Template mechanism tutorial anyone?

2002-01-14 Thread Michael Mehrle

Hi guys/gals:

I'm new to the list and to Struts - though I got it all up and running via
Tomcat. Problem is that I have until the end of this week to implement some
kind of template mechanism for our new website. All the other stuff is
installed and ready (RH71 runs: Postgres, Tomcat4, Struts, Poolman, Apache,
etc.. (maybe JBoss later)) but I need to get up to speed QUICKLY with this
so any pointers and tips would be appreciated.

BTW - yes, I looked at Tiles and found it extremely buggy (examples got all
messed up on W2000 and Linux on three different systems).

One more issue of interest: most of my content will reside in Postgresql,
not much will actually be in the form of actual HTML - which means that I
will need to relay pageID and pageTitle info to whatever template mechanism
I wind up using.

Again, help with this would be welcome

Cheers,

Michael




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