NullPointerException at ActionServlet.java:1003 using JRun4; work OK under Tomcat/JWSDP1.2

2004-01-06 Thread Tim Lucia
All, I have a struts application using modules which deploys fine under JWSDP1.2/Tomcat (5, I think), but when I deploy it under (trial edition of) JRun4, I get java.lang.NullPointerException at org.apache.struts.action.ACtionServlet.parseModuleConfigFile(ActionServl et.java:1003) . . .

RE: NullPointerException at ActionServlet.java:1003 using JRun4; work OK under Tomcat/JWSDP1.2

2004-01-06 Thread Tim Lucia
-config-module.xml rather then NullPointerException?) Tim -Original Message- From: Tim Lucia [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 10:00 AM To: 'Struts Users Mailing List' Subject: NullPointerException at ActionServlet.java:1003 using JRun4; work OK under Tomcat

RE: Need some Multibox help.

2004-01-06 Thread Tim Lucia
You most-definitely need to instantiate a bean named feature. The reason it Cannot find bean feature in any scope is because there is no bean named feature in any scope. In a real-world application, you would probably do this in an action via getSession().setAttribute(feature, new Feature(...))

RE: Problem with action chaining

2004-01-02 Thread Tim Lucia
mentioned is the idea of using JSPs for Actions, but I don't know that anyone has implemented anything yet. -Ted. On Thu, 01 Jan 2004 10:49:46 -0500, Tim Lucia wrote: Ted, Thanks for the reply. Putting methods in the base action(s) works (since the actions are related

RE: Problem with action chaining

2004-01-01 Thread Tim Lucia
, December 31, 2003 4:10 PM To: Struts Users Mailing List Subject: RE: Problem with action chaining On Wed, 31 Dec 2003 12:36:33 -0500, Tim Lucia wrote: So is it a bad design if you have Action1 - add CollectionOfObject1 to request Action2 - add Object2 request And then chain

RE: Problem with action chaining

2003-12-31 Thread Tim Lucia
So is it a bad design if you have Action1 - add CollectionOfObject1 to request Action2 - add Object2 request And then chain them together to produce two request attributes? I have some pages which display a list of Object1, and other pages which require the Collection to populate a select. So

RE: Boolean checkbox in session form

2003-12-29 Thread Tim Lucia
Care to share? This would be a very, very useful extension. Is there any plan(s) for future Struts release(s) to support some attribute of this sort? Something like forceFalse='true' or forceValue='true'. Tim -Original Message- From: Guillermo Meyer [mailto:[EMAIL PROTECTED] Sent:

RE: Struts test cases

2003-12-19 Thread Tim Lucia
is supposed to fix this. setContextDirectory(new File(ILT/)); // Set the module to ilt; load ilt's config file this.setConfigFile(ilt, /WEB-INF/ilt/struts-config-ilt.xml); setRequestPathInfo(ilt, /Welcome); // login actionPerform(); } Tim Lucia -Original

RE: [OT] reload servlet without restarting the application

2003-12-16 Thread Tim Lucia
You can make a simple servlet that reads the properties file and sets the log level. Then simply reference your simple servlet (heck, make it an action if you want) via its URL and it will re-read and reset the logger. If you want to get fancy, you can event export all the properties you find

RE: URLs Parameters

2003-12-15 Thread Tim Lucia
logic:present parameter=type logic:equal parameter=type value=name /logic:equal logic:equal parameter=type value=age /logic:equal . . . /logic:present I will assume you know you do not wish to use forms. Tim Lucia -Original Message- From: Steven Nakhla [mailto:[EMAIL PROTECTED] Sent

RE: Tiles setup question

2003-12-09 Thread Tim Lucia
. Tim Lucia -Original Message- From: Richard Hill [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 5:41 PM To: 'Struts Users Mailing List' Subject: RE: Tiles setup question Tim, I tried what suggested, but still get the The requested resource (/myapp/myapp.index

RE: [OT] Log4J and Pre-Processor

2003-12-09 Thread Tim Lucia
objects, costing memory and garbage collection, which will significantly impact performance more then the if () to check whether to do it or not. Tim Lucia -Original Message- From: Kirk Wylie [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 7:20 PM To: Struts Users Mailing List

RE: how to submit form using html:link tag

2003-12-08 Thread Tim Lucia
html:link ... onclick=x(arg); .../ Tim Lucia -Original Message- From: Nisith Dash [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 7:28 AM To: Struts Users Mailing List Subject: how to submit form using html:link tag Hi, Can anyone of you help me with this..i have

RE: how to submit form using html:link tag

2003-12-08 Thread Tim Lucia
This works for me: html:link href=# onclick=document.courseForm.submit();Done/html:link Put whatever javascript you want in the onclick handler. Tim Lucia -Original Message- From: Nisith Dash [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 7:51 AM To: Struts Users

RE: Tiles setup question

2003-12-08 Thread Tim Lucia
parameter=.tileTest/ Your-tiles-def.xml: definition name=.tileTest extends=layout/ Tim Lucia -Original Message- From: Richard Hill [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 7:59 PM To: '[EMAIL PROTECTED]' Subject: Tiles setup question I'm setting up tiles

RE: from Action to Facade: simple attributes or Business Objects

2003-12-07 Thread Tim Lucia
case in your example. Think about what happens if you add a property? How many places do you need to change it? One less (at least) in the patter case. You can (typically) use BeanUtils.populate() do move all properties in one fell swoop. Tim Lucia -Original Message- From: Felipe

RE: How to detect that session has expired ?

2003-12-07 Thread Tim Lucia
, Inheritance is your friend. Get to know him, and his cousin, Poly. Poly Morphism. Tim Lucia -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Sunday, December 07, 2003 10:45 AM To: Struts Users Mailing List Subject: Re: How to detect that session has expired

Deploying a struts application (WAR) under ColdFusionMX

2003-12-03 Thread Tim Lucia
for help with option #3 (preferred) or #4. Thanks for any pointers, tips, or help, Tim Lucia Ref: http://www.macromedia.com/devnet/mx/coldfusion/articles/struts05.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional