GREAT! That fixed it! I'll update the Jira. Thanks for your help!!!
Mark
On 10/09/2008, at 10:50 AM, Dave Newton wrote:
--- On Tue, 9/9/08, Mark wrote:
Ok, that makes sense. How would I set that up? Right now,
I have an index.jsp with the following: . This is so that someone accessing
th
--- On Tue, 9/9/08, Mark wrote:
> Ok, that makes sense. How would I set that up? Right now,
> I have an index.jsp with the following: page="login.jsp"/>. This is so that someone accessing
> the site via http://localhost/ will be presented with the
> login page.
I generally just use a redirec
Ok, that makes sense. How would I set that up? Right now, I have an
index.jsp with the following: . This
is so that someone accessing the site via http://localhost/ will be
presented with the login page.
Mark
On 10/09/2008, at 10:20 AM, Dave Newton wrote:
Ah; there we go. The attached
Ah; there we go. The attached validation file in JIRA didn't have the "key"
attribute; threw me off.
You're accessing the login page via the JSP, right? That won't work. You should
access it through an action so there's an action on the stack so the getText()
can be called on something that exi
--- On Tue, 9/9/08, Mark wrote:
> No, I'm not using an tag. Should I be?
Not if you don't need it.
Does it work if you have the validation XML file's DOCTYPE w/o the trailing
space after ".dtd "?
How are you accessing the login page the first time--through an action?
Dave
-
so wondering if there's anything else on the value stack. Are
you using an tag?
Dave
--- On Tue, 9/9/08, Mark <[EMAIL PROTECTED]> wrote:
From: Mark <[EMAIL PROTECTED]>
Subject: Re: NullPointerException with Validation Messages
To: "Struts Users Mailing List"
Date: Tue
You're extending ActionSupport, right?
I'm also wondering if there's anything else on the value stack. Are you using
an tag?
Dave
--- On Tue, 9/9/08, Mark <[EMAIL PROTECTED]> wrote:
> From: Mark <[EMAIL PROTECTED]>
> Subject: Re: NullPointerException with
I changed to , refreshed,
and I still get the NPE :-(
If this help, I've also run into another problem which is related.
If I implement the Validatable interface in my action, and then add a
Field error (ie. addFieldError("userName", "requiredString");) in the
validate method, the messa
I can zip up my complete maven directory and post it in the Jira. Is
that an appropriate place for it? Or should I email it to you directly?
Mark
On 10/09/2008, at 8:45 AM, Dave Newton wrote:
--- On Tue, 9/9/08, Mark wrote:
Thank you for the suggestion. Yes, I have and it still
produces
Here's something to try, although I still can't get the NPE, which is
irritating and scary:
Your 's action is "login", which means the DOM's id will
also be "login". Because the markup is arguably somewhat brittle, your element is colliding with the .
Try changing the id to something like "l
--- On Tue, 9/9/08, Mark wrote:
> Thank you for the suggestion. Yes, I have and it still
> produces the NullPointerException.
You may want to try putting the complete webapp up somewhere, or post a
minimal, but complete, source example on something like pastebin/etc. I tried
several different t
--- On Tue, 9/9/08, Mark wrote:
> Thank you for the suggestion. Yes, I have and it still
> produces the NullPointerException.
You may want to try putting the complete webapp up somewhere, or post a
minimal, but complete, source example on something like pastebin/etc. I tried
several different t
Thank you for the suggestion. Yes, I have and it still produces the
NullPointerException.
Mark
On 09/09/2008, at 10:45 PM, Pascal Lalonde wrote:
Have you tried this ?
- Pascal
Mark wrote:
Hi all:
I'm
Have you tried this ?
- Pascal
Mark wrote:
Hi all:
I'm using Struts 2 validation and I'm getting a NullPointerException
when the page is being displayed (before it is even being submitted or
validated).
Sorry, what does AFAICT mean? :-)
I'm running Tomcat 6.0.16. No, it doesn't work with default stack.
Any other ideas?
Mark
On 09/09/2008, at 12:13 PM, Dave Newton wrote:
--- On Mon, 9/8/08, Mark wrote:
I'm using Struts 2 validation and I'm getting a NullPointerException
when the page is b
--- On Mon, 9/8/08, Mark wrote:
> I'm using Struts 2 validation and I'm getting a NullPointerException
> when the page is being displayed (before it is even being submitted
> or validated). I did some searches and found this Jira:
> https:// issues.apache.org/struts/browse/WW-2150.
AFAICT th
Hi all:
I'm using Struts 2 validation and I'm getting a NullPointerException
when the page is being displayed (before it is even being submitted
or validated). I did some searches and found this Jira: https://
issues.apache.org/struts/browse/WW-2150. It states that it has been
fixed in v
17 matches
Mail list logo