ActionErrors and the example code

2004-05-20 Thread christopher
errors = new ActionError(); errors.add("password2", new ActionError("error.password.match")); } return errors; } Am I correct in my logic? I have tested this and I find it to be true. Christopher

RE: ActionErrors and the example code

2004-05-20 Thread christopher
Matthias Thank you, that solved my issue without having to add the additional IF statement. Thank you for your quick response. Cheers Christopher Original Message To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Fro

RE: Are there any IDE's that understand Struts tags?

2004-05-27 Thread christopher
an be download from Borland at www.borland.com. Christopher PS. I don't work or get commission from Borland ;-). Original Message To: "Struts Users Mailing List" <[EMAIL PROTECTED]> From: "McCormack, Chris" <[EMAIL PROTECTED]> Date: Thu, 27 May 2004

NPE in forwardURL

2004-06-11 Thread Christopher Schultz
Hello all, I am in the process of upgrading from velocity-tools 1.0 to velocity-tools 1.1 in my existing Struts 1.1-based application. This app was working perfectly before the upgrade (just one JAR file) and now I get an NPE whenever I use the velocity-tools's LinkTool.setForward() method. He

Re: NPE in forwardURL

2004-06-11 Thread Christopher Schultz
Niall, (First, let me say that I'm very happy to see such a great response so fast. I really appreciate the time you took to research my problem and make suggestions. I expected to suffer several rounds of "go away and complain to the velocity tools guys" before getting anything useful. Thanks!

Re: Cannot Find Bean in Any Scope

2004-06-12 Thread Christopher Schultz
Caroline, Iterator iterator = threadRows.iterator(); while( iterator.hasNext() ) { odd = ( odd + 1 )%2; ThreadBean threadBean = ( ThreadBean )iterator.next(); . } %> 5. when I tried to write out the properties; for example: <%=threadBean.getSender()%> <%=threadBe

Re: Cannot Find Bean in Any Scope

2004-06-12 Thread Christopher Schultz
Caroline, Wait a second... Collection threadRows = ( Collection )request.getAttribute( "ThreadBeans" ); int odd = 0; Iterator iterator = threadRows.iterator(); while( iterator.hasNext() ) { odd = ( odd + 1 )%2; ThreadBean threadBean = ( ThreadBean )iterator.next();

Re: Cannot Find Bean in Any Scope

2004-06-13 Thread Christopher Schultz
Caroline, Sorry, I still did not explain my code very well. I've looked at your code, and none of it could print that error message. You must be leaving something out. Is it possible that the message is actually coming from a different part of your JSP? -chris signature.asc Description: OpenP

Re: [OT]Help needed in wring regular expression

2004-06-16 Thread Christopher Schultz
Ram, Initially we had to use (\d{1,4})|(FEW)|(few)|(MANY)|(many) and eventually we found that it is accepting 0(zero) when we enter a integer value as 0(zero) or which is invalid. anybody have any idea about how to achieve the above using regular expression. I tried finding any document to ref

JDK version to be used with Struts 1.1

2004-08-11 Thread Christopher Kwiatkowski
What is the earliest version of the JDK that can be successfully used with Struts 1.1. We are currently operating at JDK 1.3 and I am experiencing difficulty running a simple Struts 1.1 application. I get the following error. [8/11/04 10:32:42:414 EDT] 4a850b15 WebGroup I SRVE0180I: [webapr

Dynamic Form Submission

2004-08-17 Thread Christopher Kwiatkowski
within one form and the “READ” submit button within another form and have different actions associated with each form? Or, is there a better way? Thanks, Christopher Kwiatkowski

RE: Problem with html:multibox not clearing

2004-03-31 Thread Murray, Christopher
You have my sympathies Jim! I have been wrestling with this same problem. I am attempting to fix a bug in some code that uses a multibox. I too had a reset method called by struts (1.02). My problem is that I only wanted to call the reset method when I submitted the search initially. There wer

FW: failure notice

2004-04-06 Thread Murray, Christopher
Does anyone know how to un-subscribe from this list? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 06 April 2004 18:33 To: [EMAIL PROTECTED] Subject: failure notice Hi. This is the qmail-send program at apache.org. I'm afraid I wasn't able to deliver your m

Re: Struts Security

2005-02-11 Thread Tim Christopher
me part of my application incorrectly, then I'd really appreciate some of your input. Thank you in advance (once again), Tim Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts Menu and SSLEXT

2005-02-13 Thread Tim Christopher
rrect action? Cheers, Tim Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts Menu and SSLEXT

2005-02-13 Thread Tim Christopher
s work. Also when I include an Item nested within a Menu it causes an error whilst the server is loading. Any ideas anyone? On Sun, 13 Feb 2005 13:51:13 +0000, Tim Christopher <[EMAIL PROTECTED]> wrote: > Hi, > > Can someone tell me if Struts-Menu is compatible with SSLEXT? >

Re: FW: error in java.lang.ClassNotFoundException: org.apache.struts.taglib.html.MessagesTei

2005-02-16 Thread Tim Christopher
> java.lang.ClassNotFoundException: org.apache.struts.taglib.html.MessagesTei Not sure if this is anything you don't already know but your application is having problems finding the class file that should be located at: org.apache.struts.taglib.html.MessagesTei FYI: That file can be found in the

Re: [NEED] tutorials about Security in Struts

2005-02-16 Thread Tim Christopher
he following links hopefully some of them may prove to be useful to you: http://www.manning-source.com/books/franciscus/franciscus_chp7.pdf http://www.atmo.arizona.edu:8080/doc/JDBCRealm-howto.html http://cymulacrum.net/writings/secfil/t1.html Tim Christopher On Wed, 16 Feb 2005 16:00:59 +0700, Pha

Struts and iBATIS

2005-02-20 Thread Tim Christopher
XML config file (ie. it's looking, but can't find the statement), or if it looking in an empty object - though I'm guessing (hoping) that fixing the first null pointer error should make it all work fine. Any help / sugge

Re: Struts and iBATIS

2005-02-21 Thread Tim Christopher
In the old one the datasource refers to in the server.xml file. Can anyone suggest how can make the second one equilivent, or make it so I can remove the information from the server.xml file to somewhere within my project. ## Old ## ## New ## Tim Christopher On Sun,

Re: Please show me an example of Struts client side javascript validation for Array

2005-02-21 Thread Tim Christopher
You have two fields with the same name in the same form? Sorry if I've misunderstood. On Mon, 21 Feb 2005 15:35:25 +0800, Anthony Hong <[EMAIL PROTECTED]> wrote: > I have two fields with same name > > > > Could I use validation.xml to config validation for customerName field? > How to write i

Re: a *simple* tiles tutorial

2005-02-21 Thread Tim Christopher
ideas it mentions are available to download at the bottom of the page. Tim Christopher On Mon, 21 Feb 2005 15:32:15 -0500, David Johnson <[EMAIL PROTECTED]> wrote: > All > > I'm searching for (as the title suggests) a simple Tiles tutorial. > > I have found the one by

Re: Struts and iBATIS

2005-02-21 Thread Tim Christopher
s from a database.properties file. I'm all ok with that, but I don't see where a name for this datasource is defined. Going back to the pet store example it refers to the datasource in the web.xml file as jdbc/jpetstore1 but I can't find any element with that name in the configu

Re: Please show me an example of Struts client side javascript validation for Array

2005-02-21 Thread Tim Christopher
+0800, Anthony Hong <[EMAIL PROTECTED]> wrote: > Exactly. I have two fields with the same name in the same form. > Do you know how to define the validation rules? > > > On Mon, 21 Feb 2005 15:04:59 +, Tim Christopher > <[EMAIL PROTECTED]> wrote: > > You

Re: problem with Application

2005-02-21 Thread Tim Christopher
ot;errors.required" means that it should replace {0} with the value of the key for arg0. In this case the value for this key is "Password". Thus the final error message you will see is "Password is required". Hope that solves your problem. Tim Christopher On Mon, 21

Re: efficient building of menu item in jsp

2005-02-21 Thread Tim Christopher
splaying the correct ones - ie. req:isUserInRole etc. and make sure your CSS knowledge is up-to-date. Tim Christopher On Mon, 21 Feb 2005 18:26:20 -0800, jonathan zhang <[EMAIL PROTECTED]> wrote: > Hi folks, > I wish to construst a menu in jsp, and the menu has the following > char

Re: Help with Struts-Logic Tag

2005-02-22 Thread Tim Christopher
Try using: Where user = Konstants.SESSION_USER_KEY, or maybe even: Tim Christopher On Tue, 22 Feb 2005 19:40:36 +0800, Richard Reyes <[EMAIL PROTECTED]> wrote: > Hello Guys, > > I have this tag ... > > href="routes-login.rr" /> >

Re: [Test] Why am I not seeing this message? It doesn't bounce...

2005-02-22 Thread Tim Christopher
'. This filter includes files in your sent folder, so you should see all your postings. Tim Christopher On Tue, 22 Feb 2005 14:02:47 -0500, N G <[EMAIL PROTECTED]> wrote: > Any ideas why I can see this message in the archives, but

Re: JSP only page flow

2005-02-22 Thread Tim Christopher
If you want people to be stuck into going though: link1 > link2 > link3, etc... Then check out http://www.livinglogic.de/Struts/demoApp.html . I've not used it before as I've never had the need but it made it's way into my bookmarks by sounding interesting :o) On Tue, 22 Feb 2005 16:42:09 -

Re: Tiles - a reality check (contains many details) - Am I using this thing right?

2005-02-22 Thread Tim Christopher
e definition of .public.welcome in the tiles configuration file. Tim Christopher On Tue, 22 Feb 2005 13:58:12 -0800, Scott Piker <[EMAIL PROTECTED]> wrote: > > When using tiles this way, does this mean that any forward I define in > > my struts-config.xml should be a va

Re: AW: Hiding pages under WEB-INF

2005-02-23 Thread Tim Christopher
I'd have to say not really ;o) ... Though I'm sure you could probably prevent hotlinking and whatever else if you did. Personally I don't think its worth the bother. Note: If you put resources that the user requires behind the WEB-INF folder (i.e. JS, CSS, images, etc.) you will have to write so

Re: AW: Hiding pages under WEB-INF

2005-02-23 Thread Tim Christopher
Oops... I slightly misread the last post, though most of what I said is still relevant. Here's the link I mentioned: http://www.junlu.com/msg/143431.html And to answer your question about site statistics: As all requests for resources will go through an action (see link) you could for example inc

Re: [OT] [FUN] Software that works!

2005-02-23 Thread Tim Christopher
't think NaDa runs with just DOS installed though :'( Tim Christopher On Wed, 23 Feb 2005 23:19:33 -0500, James Mitchell <[EMAIL PROTECTED]> wrote: > It mean "nothing" in Spanish. So you just installed "nothing", which the > website actually says in quite

Re: Help with Struts-Logic Tag

2005-02-24 Thread Tim Christopher
e telling it to look up this value. Hope that helps you a bit. Tim Christopher On Thu, 24 Feb 2005 17:51:35 +0800, Richard Reyes <[EMAIL PROTECTED]> wrote: > Hi Tim/Guys, > > the 2nd option is not working. > > can you elaborate on the first one? > > how do i declare the u

Re: [OT] [FUN] Software that works!

2005-02-24 Thread Tim Christopher
> A car salesman knows when he is lying ;-) I had to check for it on Google... Guess I'm not that old yet ;o) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Question on conditionally changing action is html:form

2005-02-25 Thread Tim Christopher
Depending on what the two actions do it may be worth exploring the DispatchAction class. http://struts.apache.org/api/org/apache/struts/actions/DispatchAction.html Tim Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Struts Approach

2005-02-25 Thread Tim Christopher
little confused! :os Any help would be appreciated. Tim Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: Struts Approach

2005-02-26 Thread Tim Christopher
concerned that my domain object (Customer.java) is also my DTO - is this good practice? Thanks for all your help so far, Tim Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: Struts Approach

2005-02-28 Thread Tim Christopher
rt or on a different web site - Google wasn't much help :-( Tim Christopher On Sun, 27 Feb 2005 16:26:35 -0500, Mike Millson <[EMAIL PROTECTED]> wrote: > On Sat, 2005-02-26 at 11:26, Tim Christopher wrote: > > > > I'm also a little concerned that my domain object (Custome

Re: Queries and Paging

2005-02-28 Thread Tim Christopher
/example-paging.jsp The table in the above example is created with just 6 lines of code! I must admit I only downloaded it yesterday but IMO it's very easy to use and my best discovery since Log4j! Tim Christopher ---

Re: RequestURI (Action not JSP)

2005-02-28 Thread Tim Christopher
I don't seem to be able to extract it within the display:table tag itself, no matter how I nest different "s and 's... However as tables are only on a relatively small number of pages I'm not sure this is the best way, also it loo

Validator requiredif and range problem

2005-02-28 Thread Christopher Loschen
Hi experts! I've got a problem where two fields are being checked for being in the valid range when only one of them is being used at any one time. I'm using Struts 1.1 so I'm limited to using requiredif instead of validwhen (right?). I've got some radio buttons set up like this: Total amount wit

Re: CSS and Tiles

2005-02-28 Thread Tim Christopher
I use the following to load my CSS files: Note: If you do not use sslext then use html:rewrite instead of sslext:rewrite. This method requires the path to the CSS file to be stored within the struts config file so it can be easily updated, i.e: . Hope that helps. Tim Christopher

Re: Remove Tiles Component

2005-03-03 Thread Tim Christopher
Christopher On Thu, 3 Mar 2005 16:52:24 +, Ben Taylor <[EMAIL PROTECTED]> wrote: > I know there have been a few Tiles related question recently, but > having read them I still can't figure out how to solve my problem. > > At current I'm using: > > ... within a few

Re: Using a CSS file

2005-03-04 Thread Tim Christopher
>> Off the top of my head I don't remember style being an attribute for the html:link tag... I'd recommend you included a 'cssStyle' global forward in your Struts config file then use something like: JSP: Struts-config.xml: Tim Christopher On Fri,

Re: Using a CSS file

2005-03-07 Thread Tim Christopher
What's the advantage of using @import over link? Is it just for readability, or is there another reason for it?... As from what I can remember @import doesn't work with Netscape 4.x. Tim Christopher On Sat, 5 Mar 2005 23:56:54 -0500, James Mitchell <[EMAIL PROTECTED]> wrote:

Re: tiles:insert and tiles:put an attribute and the import it to request scope

2005-03-08 Thread Tim Christopher
layout.jsp # - # Extract from content.jsp # Hope that helps, Tim Christopher On Mon, 7 Mar 2005 10:55:49 -0800 (PST), Jonathan M Z <[EMAIL PROTECTED]> wrote: > dear folks, > I know that I can insert an

Re: tiles:insert and tiles:put an attribute and the import it to request scope

2005-03-08 Thread Tim Christopher
his attribute from > somepage.jsp. How can this be achieved? > thank you! > > > --- Tim Christopher <[EMAIL PROTECTED]> wrote: > > Not sure if this is what you're asking but here's a > > quick example that > > shows how to access the information st

LookupDispatchAction (Bug?)

2005-03-15 Thread Tim Christopher
alue for the dispatch parameter). Does anyone know how I can fix this? Any help would be much appreciated. Tim Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: BeanUtils.copyProperties Cannot find...

2005-03-17 Thread Tim Christopher
idocs/index.html Hope that helps. Tim Christopher On Thu, 17 Mar 2005 09:34:24 -0600, Scott Purcell <[EMAIL PROTECTED]> wrote: > Hello, > I want to try and use the BeanUtils.copyProperties and I cannot seem to find > it. I have spent the last 10 minutes at Jakarta downloading diff

Re: Iterate a character array

2005-03-23 Thread Tim Christopher
e, so I'd imagine you'd need something like: private String[] char; public getChar() { return char;} public setChar(String[] char) { this.char = char;} Tim Christopher On Mon, 21 Mar 2005 23:18:43 -0500, Victor Grazi <[EMAIL PROTECTED]> wrote: > > I am trying to iterate throu

Re: Validation - Mask

2005-03-23 Thread Tim Christopher
I'm not a a development machine so can't test this now but you could try using: ^[~\$]+$ .. Also failing that you could always opt for something like ^[0-9a-zA-Z]* listing valid inputs, as opposed to a value you don't want. Tim Christopher On Wed, 23 Mar 2005 16:37:47 -0800,

Struts Security

2005-04-02 Thread Tim Christopher
that sounds very messy and would means that the role attribute on the action is pointless. Tim Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts Unit Tests / Alternative getUserPrincipleCall

2005-04-05 Thread Tim Christopher
in the request. Any help appreciated. Tim Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts Unit Tests / Alternative getUserPrincipleCall

2005-04-05 Thread Tim Christopher
rPrincipal(user); Note: TestPrincipal is a simple Java class that implements Principal and contains one method called getName(). Tim Christopher On Apr 5, 2005 11:16 AM, Tim Christopher <[EMAIL PROTECTED]> wrote: > Hi, > > Does anyone know how to code a response to > reques

Struts Security

2005-01-23 Thread Tim Christopher
an additional role to access a resource (update in the jsp, and in the xml file) - is there a way around this? Thank you in advance, Tim Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts Security

2005-01-23 Thread Tim Christopher
>> I then have a number of menu options that should only be made >> visible to users with certain roles; > > Try Struts menu. I have looked at the Struts Menu ( http://struts-menu.sourceforge.net/ ) and I think I'll probably give it a go! Does anyone else here have any experience using the Struts

Losing changed form value

2005-01-26 Thread Christopher Loschen
Hi all, Sorry if this appears twice -- my last attempt hasn't made it after an hour, so I'm trying again. I'm working with a form called UserProfileForm which includes a property called email. I'm starting from a User Profile screen which displays the email address and offers a link to edit it. T

Re: Struts Security

2005-01-26 Thread Tim Christopher
ally builds the > > menu for them which isn't that difficult to set up. I use it in a > > tile so I only insert it 1 time. > > > > Just some ideas. > > > > > > > > Craig McClanahan wrote: > > > >> On Sun, 23 Jan 2005 18:39:50 +0

Re: Struts Security

2005-01-27 Thread Tim Christopher
llow access to any of the roles > mentioned. > > Mohan > > -Original Message- > From: Tim Christopher [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 27, 2005 9:41 AM > To: Struts Users Mailing List > Subject: Re: Struts Security > > Just a quick questi

Re: Losing changed form value

2005-01-27 Thread Christopher Loschen
ession scope, but your submit action is >defining one in request scope. > >w > >Christopher Loschen wrote: >>Hi all, >>The action classes do seem to be updating the form correctly, but if >>they were, I'd get the upda

Re: Losing changed form value

2005-01-28 Thread Christopher Loschen
fer-Encoding: 7bit References: <[EMAIL PROTECTED]> X-Virus-Checked: Checked Resent-Message-Id: <[EMAIL PROTECTED]> Resent-Date: Thu, 27 Jan 2005 18:23:56 + (GMT) On Thu, 27 Jan 2005 11:40:45 -0500, Christopher Loschen <[EMAIL PROTECTED]> wrote: > Thanks for your advice! &

Blocking direct access to JSPs

2005-01-28 Thread Tim Christopher
t;pages/*" (removing the initial / character), though this blocks access to the entire web module. Any help / feedback appreciated. Tim Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Blocking direct access to JSPs

2005-01-29 Thread Tim Christopher
ument AGAINST it? > > > > My compelling argument FOR it has always been that WEB-INF is where > > application artifacts that are not complete web artifacts belong. When > > writing in Struts (pseudo-MVC er Model II or whatever you like to call > > it), JSP is NOT we

XDoclet

2005-01-29 Thread Tim Christopher
Hi, What does everyone think of using XDoclet to build Struts / Tiles / Validator configuration files? Is it likely to make life seem like it's worth living, or is a few hours spent trying to learn it going to drive me mad? :o) Cheers for your feedback! Tim Christ

Error Pages

2005-01-30 Thread Tim Christopher
Hi, I'm trying to setup custom error pages using Tomcat but keep on getting the following error: [EMAIL PROTECTED]: Exception Processing ErrorPage[errorCode=404, location=/errors/404.do] ClientAbortException: java.net.SocketException: Software caused connection abort: socket write error

Re: Error Pages

2005-02-02 Thread Tim Christopher
Cheers for the suggestion, but that wasn't it :o( I've noticed though that if the location of the error page is a *.do file that exists, then it always shows the above error (and fails to load the page)... If the requested page is a *.jsp then it doesn't show the error page, however the page stil

ActionError / ActionMessage

2005-02-03 Thread Tim Christopher
Hi, Can anyone let me know when an ActionError should be used in place of an ActionMessage, or visa versa. It seems like the ActionMessage is preferred as it does not encourage markup to be placed within the resources file. Does this mean I should always use the ActionMessage, or does the Action

Re: ActionError / ActionMessage

2005-02-03 Thread Tim Christopher
Am I right in thinking that HtmlTag relates to the element? >> http://struts.apache.org/api/org/apache/struts/taglib/html/HtmlTag.html If so does anyone know why locale is now deprecated? On Fri, 04 Feb 2005 02:10:31 +0100, Laurent <[EMAIL PROTECTED]> wrote: > Tim Christophe

Re: ActionError / ActionMessage

2005-02-04 Thread Tim Christopher
o swiftly, given the interest > in smooth migrations) towards simply removing ActionError and > ActionErrors, as they are the cause of way too much confusion. > > Joe > > At 2:10 AM +0100 2/4/05, Laurent wrote: > >Tim Christopher wrote: > >>Hi, > >> > &

sslext

2005-02-06 Thread Tim Christopher
this file instead (assuming of course that's even the one it wants). Any help / suggestions appreciated. Tim Christopher struts-config.xml - To unsubscri

Re: sslext

2005-02-07 Thread Tim Christopher
r version of struts or download the > appropriate version of sslext for the version of struts you're using. > > Niall > > - Original Message - > From: "Tim Christopher" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Monday,

Re: sslext

2005-02-07 Thread Tim Christopher
ags/struts-html" prefix="html"%> as done in most Struts books? Cheers, Tim Christopher On Mon, 7 Feb 2005 15:57:10 -, Niall Pemberton <[EMAIL PROTECTED]> wrote: > There are notes on upgrading from Version 1.1 to Version 1.2.4 here: > > http://wiki.apac

Application Security

2005-02-07 Thread Tim Christopher
ast majority of Struts applications. Cheers for any help / suggestions. Tim Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Application Security

2005-02-08 Thread Tim Christopher
ame from from the request > and then look up the user details wherever they are stored... > request.getUserPrincipal().getName() > > The actual form elements required are, as you say, plain html - but is there > any need for special tags since the action your posting to is fixe

Re: Application Security

2005-02-08 Thread Tim Christopher
5 12:07:16 -0500, David G. Friedman <[EMAIL PROTECTED]> wrote: > Tim, > > Have you also updated your web.xml and Tomcat conifgurations? > > -Original Message- > From: Tim Christopher [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 08, 2005 12:05 PM > T

Re: Application Security

2005-02-08 Thread Tim Christopher
avid G. Friedman <[EMAIL PROTECTED]> wrote: > Tim, > > Have you tried using any command line tools to get to your datastore? > Knowing that could rule out permissions issues on the database site as well > as the connection host/port/URL. > > Regards, > David > > -

Re: Application Security

2005-02-08 Thread Tim Christopher
All works fine now - cheers :o) On Tue, 08 Feb 2005 21:55:03 -0500, Erik Weber <[EMAIL PROTECTED]> wrote: > JDBC driver jar files belong in $TOMCAT_HOME/common/lib (I think that's > what you are asking). > > Erik > > > Tim Christopher wrote: > > >Turn

S2 validation without API ties

2010-04-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, It's been a long time since I've posted, and I've got my eye on S2 for some upcoming work that will share code with a non-web-based interface so I'd like to re-use as much code as possible without tying myself to the S2 API. The issue is with fi

Re: S2 validation without API ties

2010-04-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Bump: does anyone have any ideas? Thanks, - -chris On 4/12/2010 4:48 PM, Christopher Schultz wrote: > All, > > It's been a long time since I've posted, and I've got my eye on S2 for > some upcoming work that wil

Re: S2 validation without API ties

2010-04-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rahul, On 4/27/2010 1:09 AM, Rahul Mohan wrote: > I think the fundamental mechanism of S2 is the configurable interceptor > stack where each interceptor applies itself to the current action based on > the interfaces the action implements. You can st

Re: S2 validation without API ties

2010-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wes, Sorry for the delay in replying... I hadn't noticed that your reply was here. On 4/28/2010 11:49 AM, Wes Wannemacher wrote: > I can understand your desire to remove the dependency of struts, > making your actions reusable. But at the same time,

Reloading MessageResources without context reload

2010-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I've looked through the archives to see if there's a way to do this, and I feel like there must be an easier way, so I'll ask again. I'm using Struts 1.3.8 in a webapp deployed on Tomcat 6.0, and I'd like to reload my own MessageResource objects

Re: Struts 2 field validator thread safety

2010-07-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marshall, On 7/15/2010 9:27 AM, Marshall Gunter wrote: > Do Struts 2 field validators need to be thread safe? That depends on what you want to do with them. Are you writing your own, or are you critiquing the existing validator implementations? - -c

Re: Where to find struts.xml documentation

2010-07-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, On 7/15/2010 5:54 PM, Ken wrote: > On Tue, 2010-07-13 at 15:16 -0600, Ken wrote: > >> I am looking for documentation for the struts.xml configuration file. >> Are there different tags for different versions of struts.xml? >> I'm using struts 2.1

Re: [FRIDAY] Mime Type Validation

2010-07-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manos, On 7/16/2010 9:42 AM, Manos Batsis wrote: > On 07/16/2010 04:21 PM, Stephen Turner wrote: >> We're using Struts 2 for file uploading, and we're filtering the types >> of files people can upload by checking the file's content type against a >> l

Re: Reloading MessageResources without context reload

2010-07-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anyone? Thanks in advance! On 7/14/2010 10:16 AM, Christopher Schultz wrote: > All, > > I've looked through the archives to see if there's a way to do this, and > I feel like there must be an easier way, so I'll ask a

Re: Urgent excepton: java.lang.reflect.InvocationTargetException

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abhishek, http://download.oracle.com/javase/6/docs/api/java/lang/reflect/InvocationTargetException.html - -chris On 3/14/2011 4:26 PM, abhishek jain wrote: > Hi friends, > I am on production and getting this error: > can anyone help me solve, i am u

[S1] Curly braces are unescapable in MessageResources

2011-04-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I've been using S1 for years to great satisfaction. Thanks! I'm coming up against a problem that I think I can't get around, so I'm posing it to the community to see if anyone can help. We have a regular expression that we want to put into a pr

Re: [S1] Curly braces are unescapable in MessageResources

2011-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, On 4/20/2011 6:46 PM, Dave Newton wrote: > I'd play with the MessageFormat Javadocs: > >> Within a String, "''" represents a single quote. A QuotedString can contain >> arbitrary >> characters except single quotes; the surrounding single quote

[s1,validation] Multi-page flow, session-scoped DynaValidatorForm with checkbox

2011-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I can't believe I've been working with Struts for nearly 10 years and I'm only now attempting to use a multi-page flow with a form bean in the session. Of course, I'm having difficulty with checkboxes. Our (simplified) flow looks something like

Re: [s1,validation] Multi-page flow, session-scoped DynaValidatorForm with checkbox

2011-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Thanks for the quick reply. On 6/17/2011 3:46 PM, Dave Newton wrote: > On Friday, June 17, 2011, Christopher Schultz wrote: >> I can't believe I've been working with Struts for nearly 10 years and >> I'm still usi

[S1] Validator configuration error

2011-06-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, struts-1.3.8 commons-validator-1.3.1 I recently started using a dynamic form attribute called "reset". It's documented to allow you to use either "true" or "false" or any combination of comma-separated HTTP methods that will trigger the form fi

Re: [S1] Validator configuration error [bump]

2011-07-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Does anyone have any ideas about my post? - -chris On 6/30/2011 11:02 PM, Christopher Schultz wrote: > All, > > struts-1.3.8 commons-validator-1.3.1 > > I recently started using a dynamic form attribute > called "res

Re: [S1] Validator configuration error [bump]

2011-08-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, On 7/19/2011 5:59 PM, Dave Newton wrote: > If it works, I wouldn't worry about it. > > I'm not sure if anybody is planning any further 1.x releases, to be > honest; maybe if a patch is filed against the ticket someone would > apply it, but I'

Re: [S1] Validator configuration error [bump]

2011-08-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 8/3/2011 12:57 PM, Christopher Schultz wrote: > I can always just patch my local struts-config.dtd file to get rid > of the error. I'm happy to supply a (nearly trivial) patch to the > 1.x branch just in case there is another

accessing properties/attributes

2012-08-19 Thread Christopher Johnson
I want to be able to access tiles attributes within a template via the construction. The landing page has some code that looks like The pseudo code is something like: if currentURL == url then txt else txt endif I can import the tile attribute into the scope of the JSP with an

Re: accessing properties/attributes

2012-08-20 Thread Christopher Johnson
On Mon, Aug 20, 2012 at 6:42 AM, Lukasz Lenart wrote: > 2012/8/19 Christopher Johnson : > > fails because the TLD does not accept > > Did you try: > > This gives an error message because ${} expressions are not allowed in the test attribute. > > or > > >

Re: accessing properties/attributes (scope)

2012-08-20 Thread Christopher Johnson
pe. I guess I'm just missing something important. How do I access variables in the page scope via ognl expressions? Thank you, -Chris On Mon, Aug 20, 2012 at 9:11 AM, Lukasz Lenart wrote: > 2012/8/20 Christopher Johnson : > > #url turns out to be null because it can't. does

Re: accessing properties/attributes (scope)

2012-08-20 Thread Christopher Johnson
Thank you, that makes sense. I've read that page a few dozen times and it did not click until you gave the example. Best, -Chris On Mon, Aug 20, 2012 at 3:26 PM, Lukasz Lenart wrote: > 2012/8/20 Christopher Johnson : > > From what I've read there are the followi

  1   2   3   4   5   6   >