Re: Runtime debugging - and Painfull Tomcat restarts

2005-11-13 Thread Laurie Harper
As far as I know, Tomcat only supports fully reloading the whole app. You might want to ask on the Tomcat list to be sure, though. L. Mon Cab wrote: Thanks Laurie. That helps a lot. I read about the context.xml file, but couldnt find an example file, and wasn't sure what to write in it.

Re: Runtime debugging - and Painfull Tomcat restarts

2005-11-13 Thread Mon Cab
Thanks Laurie. That helps a lot. I read about the context.xml file, but couldnt find an example file, and wasn't sure what to write in it. After poking around in the conf directory, I was also confused as to where I would find the host element. do you know if its possible to specify w

Re: forwardPattern and Modules

2005-11-13 Thread Laurie Harper
alec lee wrote: I am using Struts 1.2.4. I have 2 modules and was trying to switch from default to moduleA. In my moduleA, I've used , since my JSP's are inside WEB-INF. In my default module, I have these lines: ... path="/switch.do?prefix=/moduleA&page=/synForm.do" contextRel

Re: Runtime debugging - and Painfull Tomcat restarts

2005-11-13 Thread Laurie Harper
There's various options for where you can define a context. From the top of the page I liked to before: -- In addition to nesting Context elements inside a Host element, you can also store them: * in the individual $CATALINA_HOME/conf/context.xml file: the Context element inform

Re: Validator framework hijacks requests! :(

2005-11-13 Thread Laurie Harper
The easiest way is probably to split your action mapping out into two mappings, one for the operations that should have validation applied and one for the setup operations that shouldn't. Set validate="false" on the mapping for the setup operations, and make it the input for the other mapping w

Re: Runtime debugging - and Painfull Tomcat restarts

2005-11-13 Thread Mon Cab
Laurie & Paul Thanks for your help on this one. Is there any way that this could be configured to just reload the specific classes that were changed, rather than reloading the whole app? Also, I read the link you gave to "set context reloadable to true", but couldn't quite see which file I would

Re: Problems with "validwhen"

2005-11-13 Thread Mon Cab
Neat... Thanks Paul. I didn't realize that it was possible to nest multiple conditional statements (I read: "Only two items may be joined with and or or" in the documentation - which I am now assuming means only two items in any set of parens). --- Paul Benedict <[EMAIL PROTECTED]> wrote:

Ich bin im Urlaub

2005-11-13 Thread bednarz
Sehr geehrte Damen und Herren, in der zeit vom 7. November 2005 bis 18. November 2005 bin ich im Urlaub. Bitte wenden Sie sich bei allen Fragen entweder direkt an [EMAIL PROTECTED] oder telefonisch an: 0511 / 93 62 28 22 Mit freundlichen Grüßen Andreas Bednarz

Re: Problems with "validwhen"

2005-11-13 Thread Mon Cab
Nice one. Thanks Lorie. It works now. --- Laurie Harper <[EMAIL PROTECTED]> wrote: > Mon Cab wrote: > > I am trying to use validwhen to make sure that > > validator only requires a valid State and Zip if > the > > country selected is "United States". > > > > But I am getting required error me

Re: forwardPattern and Action Relaying

2005-11-13 Thread alec lee
Paul Benedict yahoo.com> writes: > > >> /myApp/WEB-INF/module/actionB.do! > > I never ever seen Struts resolve to WEB-INF. That's a file system path. Struts paths are URI which > are not in the file system. > > That is because of the I used which prepend "/WEB-INF" to every p

Re: forwardPattern and Action Relaying

2005-11-13 Thread Paul Benedict
>> /myApp/WEB-INF/module/actionB.do! I never ever seen Struts resolve to WEB-INF. That's a file system path. Struts paths are URI which are not in the file system. __ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/

Re: forwardPattern and Action Relaying

2005-11-13 Thread alec lee
Paul Benedict yahoo.com> writes: > > There is a module attribute to the forward tag. From the DTD: "The module prefix to use with this > path. This value should begin with a slash ("/")." > Thx but after using the URL resolves to "/myApp/WEB-INF/module/actionB.do"! What I need is a url that

Re: forwardPattern and Action Relaying

2005-11-13 Thread Paul Benedict
There is a module attribute to the forward tag. From the DTD: "The module prefix to use with this path. This value should begin with a slash ("/")." --- alec lee <[EMAIL PROTECTED]> wrote: > I am using modules and placing my JSPs under /WEB-INF. My understanding is > that struts support this

forwardPattern and Action Relaying

2005-11-13 Thread alec lee
I am using modules and placing my JSPs under /WEB-INF. My understanding is that struts support this configuration by using forwardPattern="/WEB-INF$M$P" > in my struts-config-module.xml to map forward path to the proper module relative URL. However, what if now I want to relay from one action

forwardPattern and Modules

2005-11-13 Thread alec lee
I am using Struts 1.2.4. I have 2 modules and was trying to switch from default to moduleA. In my moduleA, I've used , since my JSP's are inside WEB-INF. In my default module, I have these lines: ... path="/switch.do?prefix=/moduleA&page=/synForm.do" contextRelative="false"

STRUTS PHP

2005-11-13 Thread Jim Douglas
I am trying to integrate this great Calendar app into a STRUTS/TILES website http://www.k5n.us/webcalendar.php I have this JAVA to PHP bridge up and running, http://php-java-bridge.sourceforge.net/#mode3 The problem I am having is getting the Calendar page to show in my tiles layout body.