Re: Problem with action mapping

2010-12-16 Thread Dave Newton
Older Struts/Tiles was notorious (at least in my experience) for swallowing exceptions whole. My first guess is that something is broken in one of your JSPs used by the tile. That's one good reason not to use such old technology for new development: you lose the benefits of hundreds of thousands o

Re: Problem with action mapping

2010-12-16 Thread Anjib Mulepati
There was space at the beginning. That is solved. I'm getting something but not whole page just logo and header. I though name should be body in tiles def file. so I change all to bosy as tiles.jsp has attribute="body" Still same problem. Anjib On 12/16/2010 2:15 PM, Dave Newton wrote: A sta

Re: Problem with action mapping

2010-12-16 Thread Dave Newton
You'll probably want to turn your logging up to DEBUG. Dave On Thu, Dec 16, 2010 at 2:27 PM, Anjib Mulepati wrote: > Tomcat Log in Netbeans says > > Dec 16, 2010 2:26:03 PM org.apache.catalina.core.ApplicationDispatcher > invoke > WARNING: Servlet action is currently unavailable > > Anjib > > >

Re: Problem with action mapping

2010-12-16 Thread Anjib Mulepati
Tomcat Log in Netbeans says Dec 16, 2010 2:26:03 PM org.apache.catalina.core.ApplicationDispatcher invoke WARNING: Servlet action is currently unavailable Anjib On 12/16/2010 2:15 PM, Dave Newton wrote: A startup error. Check the logs. Dave On Thu, Dec 16, 2010 at 1:59 PM, Anjib Mulepati

Re: Problem with action mapping

2010-12-16 Thread Dave Newton
A startup error. Check the logs. Dave On Thu, Dec 16, 2010 at 1:59 PM, Anjib Mulepati wrote: > This is the problem I am facing everytime I am creating new project in > Netbeans and modify the default pages. Am I missing some sequence of action > or parameters. To make it clear I am including mo

Problem with action mapping

2010-12-16 Thread Anjib Mulepati
This is the problem I am facing everytime I am creating new project in Netbeans and modify the default pages. Am I missing some sequence of action or parameters. To make it clear I am including most of the code which I think are related. Can any one suggets me why I am getting following error w

Problem with Action-validation.xml files

2008-12-11 Thread taj uddin
Hi,    In my application, I have added Action-validation.xml file and in the jsp page I set the attribute validate="true" in the s:form tag. After starting the server when i run the application this is the error( shown below) i'm facing. 12:16:21,462 ERROR [UIBean   

Re: [s2] problem with action chaining returning "input" result

2007-05-07 Thread Dave Newton
--- Allen Gilliland <[EMAIL PROTECTED]> wrote: > So, now all I really need to know is if there is a > way that I can just flat out disable all of struts2's > validation stuff but still have my actions extend > ActionSupport? Create an interceptor stack without the validation stuff. > I would a

Re: [s2] problem with action chaining returning "input" result

2007-05-07 Thread Allen Gilliland
Thanks Laurie, that was what I needed to do. Turns out that my action was setting an action error before doing its chaining and so when validation was triggered on the chained action it was thinking an error had occurred and forcing the "input" result. So, now all I really need to know is if

Re: [s2] problem with action chaining returning "input" result

2007-05-04 Thread Laurie Harper
As well as validation errors, there could still be conversion errors. You said you don't have any conversions configured but remember that Struts will apply default converters if you have any setters on the action that take non-String arguments (assuming the request includes an attribute that m

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Allen Gilliland
Dave Newton wrote: --- Allen Gilliland <[EMAIL PROTECTED]> wrote: I can't see any reason why validation would be doing anything at all unless somehow the validation interceptor wants to use one of the methods in my action class for validation when i didn't intend that. So you have no *-va

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Daniel Ruan
Or maybe the @SkipValidation annotation? On 5/3/07, Martin Gainty <[EMAIL PROTECTED]> wrote: struts-default.xml has the ability to exclude methods as in this example which excludes methods (method1, method2) from validation method1,method2 Martin--

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Martin Gainty
;Struts Users Mailing List" Sent: Thursday, May 03, 2007 9:38 PM Subject: Re: [s2] problem with action chaining returning "input" result --- Allen Gilliland <[EMAIL PROTECTED]> wrote: I can't see any reason why validation would be doing anything at all unless somehow the

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Dave Newton
--- Allen Gilliland <[EMAIL PROTECTED]> wrote: > I can't see any reason why validation would be doing > anything at all unless somehow the validation > interceptor wants to use one of the methods in my > action class for validation when i didn't intend > that. So you have no *-validation.xml fi

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Allen Gilliland
Dave Newton wrote: --- Allen Gilliland <[EMAIL PROTECTED]> wrote: public abstract class UIAction extends ActionSupport Okay, so now the question is why it thinks there's a validation error on your subclass-we know *why* it's trying to validate (ActionSupport implements the validation interfa

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Dave Newton
--- Allen Gilliland <[EMAIL PROTECTED]> wrote: > public abstract class UIAction extends ActionSupport Okay, so now the question is why it thinks there's a validation error on your subclass-we know *why* it's trying to validate (ActionSupport implements the validation interfaces). Are there *any*

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Allen Gilliland
Dave Newton wrote: --- Allen Gilliland <[EMAIL PROTECTED]> wrote: [...] i removed all my old validation() methods so i know it's not that. public class Members extends UIAction What does UIAction look like (specifically with regards to interfaces implements and superclasses)? UIAction

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Dave Newton
--- Allen Gilliland <[EMAIL PROTECTED]> wrote: > [...] i removed all my old validation() methods so i > know it's not that. > > public class Members extends UIAction What does UIAction look like (specifically with regards to interfaces implements and superclasses)? There must be *some* reason

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Allen Gilliland
Laurie Harper wrote: Allen Gilliland wrote: when chaining from one action to another, why is struts2 trying to lookup the "input" result on action2 before ever executing my action method? i have a simple config, like the examples in the documentation ... .Members .MembersInvite

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Laurie Harper
Allen Gilliland wrote: when chaining from one action to another, why is struts2 trying to lookup the "input" result on action2 before ever executing my action method? i have a simple config, like the examples in the documentation ... .Members .MembersInvite .disabled membe

[s2] problem with action chaining returning "input" result

2007-05-03 Thread Allen Gilliland
when chaining from one action to another, why is struts2 trying to lookup the "input" result on action2 before ever executing my action method? i have a simple config, like the examples in the documentation ... .Members .MembersInvite .disabled members when i execute the '

Problem with Action

2007-03-26 Thread Ivan Babanin
I have such struts-config.xml: http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd";> ... File DeleteActionBean.java: package ru.delete; import javax.

Problem with action tag - Bug in result handling for actions rendered with

2007-02-21 Thread Rich Thornett
I am using the action tag -- View this message in context: http://www.nabble.com/Problem-with-action-tag---Bug-in-result-handling-for-actions-rendered-with-tf3268979.html#a9088100 Sent from the Struts - User mailing list archive at Nabble.com

Re: Problem with action forward while using Frames

2005-07-13 Thread Laurie Harper
syed abrar wrote: Hello All, I have a problem.I have two frames with two different jsps.And after selecting the options(checkboxes) in the second frame the control goes to the Action class.After processing the request the control has to be passed to other jsp page(which have declare

Problem with action forward while using Frames

2005-07-13 Thread syed abrar
Hello All, I have a problem.I have two frames with two different jsps.And after selecting the options(checkboxes) in the second frame the control goes to the Action class.After processing the request the control has to be passed to other jsp page(which have declared in struts-config.x

Problem with action testing in MockStrutsTestCase

2005-07-05 Thread Grzegorz Stasica
hi, Prior to opening a page I call an action in order to store in request collection of value beans. Although I know how to test situation when everything goes OK I do not know how to test the oposite especially when Hibernate is being used. My action in struts-config.xml is as follow:

Re: Problem with Action Forms and

2004-05-24 Thread Richard Yee
Tom, The form bean is created both in the JSP page and when the page is submitted back to the server. Regards, Richard --- "Thomas T. Veldhouse" <[EMAIL PROTECTED]> wrote: > Thomas T. Veldhouse wrote: > > I am having a problem using Action forms because I > do not know what > > to call the attri

Re: Problem with Action Forms and

2004-05-22 Thread Thomas T. Veldhouse
Thomas T. Veldhouse wrote: > I am having a problem using Action forms because I do not know what > to call the attributes (setters and getters on the form) so that they > are called with the request values. Here is a sample of the JSP: > > > > > > > > > Form > > > labelProperty="form"/>

Problem with Action Forms and

2004-05-22 Thread Thomas T. Veldhouse
I am having a problem using Action forms because I do not know what to call the attributes (setters and getters on the form) so that they are called with the request values. Here is a sample of the JSP: Form Note that both select tags have the same name and different properties. What