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
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
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
>
>
>
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
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
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
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
--- 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
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
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
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
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--
;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
--- 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
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
--- 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*
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
--- 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
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
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
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 '
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.
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
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
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
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:
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
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"/>
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
29 matches
Mail list logo