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

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 iterate: tag. There might be better solutions, but this should work - Original Message - From: Jose Casas [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL

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

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

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:

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: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

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

2002-01-27 Thread Michael Mehrle
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

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

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...

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

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

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

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:

Re: Problem with bean:write and bean:define

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

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: Logger

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,