Srinivas Surapaneni wrote:
To be more specific, Here is we can do in Beehive Pageflow which is based on
struts 1.x
Since I've never used Beehive, and I don't feel like digging through
it's internals to figure out how it determines what the "previousPage"
was, or how it forwards there, I can't
To be more specific, Here is we can do in Beehive Pageflow which is based on
struts 1.x
I am trying to do a similar thing in Struts 2
@Jpf.ExceptionHandler(forwards = { @Jpf.Forward(name = "recoverableError",
navigateTo = Jpf.NavigateTo.page) })
protected Forward handleRecoverableException(
R
Yes,
I want to return to whatever page referred the current request. Whenever a
recoverable exception happens, I want to return to the current page so that
user can take some action
I am trying to avoid defining exception handling at each action level and
do globally and want to access the curre
Dale Newfield wrote:
The http return code 204 (or "no content") will leave the browser where
it was.
http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/dispatcher/HttpHeaderResult.html
-Dale
-
To unsubscribe
Srinivas Surapaneni wrote:
I want the current page in the global exception handler. Instead of giving a
specific jsp page, I want to return to what ever the current page is
That desire is not well specified. Do you mean you want to return to
whatever page referred the current request? Do you
I am working on struts2.
I cannot return null from the action.
I want the current page in the global exception handler. Instead of giving a
specific jsp page, I want to return to what ever the current page is
On Feb 16, 2008 1:55 PM, auz <[EMAIL PROTECTED]> wrote:
>
> try returning null as an a
hope some1 can help me out, i have a Struts ActionFormBean who has a complex
type as an attribute (also ActionFormBean), the problem is i dont know how
to populate it, tryed everything. i presume i have to extend
RequestProcessor's populateProcess method or something like that, can any1
help. NOT
try returning null as an actionForward
this works for ajax. its for struts 1.x
Srinivas Surapaneni wrote:
>
> I want to define a global exception handler where if this exception
> happens,
> it goes to the current page
>
> Is there any way to get the current page and specify it as the result ?
ok. I've understood. Thank you very much
Paranoid_Fabio wrote:
>
> Hello. I have to implement a file upload. Togheter with it, the user have
> to fill a form.
> The form is like:
>
>
> title
> price
> image
>
> The user should fill the "title" and "price" field, up
I want to define a global exception handler where if this exception happens,
it goes to the current page
Is there any way to get the current page and specify it as the result ?
Thanks
--- Maxx <[EMAIL PROTECTED]> wrote:
> - first one is when iterating directly on a "testList"
> (List): nothing get's generated; it looks like the iterator
> does not iterate!
Something, then, is completely wrong with your setup or configuration.
(Looking back at your original code...)
Why are y
On Feb 16, 2008 2:37 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> If you want people to help I'd probably suggest going about it a different
> way. Different people know different things, may not have the time to look at
> every single message, etc.
I would not "require" people's help if the docum
I think the message customisation has been covered so onto trapping
interceptor results.
The easiest way you can trap a 500 error is to define the following XML in
your web.xml file,
500
/error.jsp
In your error page, you will have access to the actionErrors collection
w
--- Maxx <[EMAIL PROTECTED]> wrote:
> Effectively, this post is not an answer to my post, but mine does not
> even get one, while about a dozen of others get ones!!?!
If you want people to help I'd probably suggest going about it a different
way. Different people know different things, may not hav
--- Paranoid_Fabio <[EMAIL PROTECTED]> wrote:
> Thank you. If I submit all the data in "one shot" everything goes ok.
>
> What I wanted to do in principle was to first upload the image (and other
> files the user has to upload), then submit the form with other parameters.
> like a step-by-step sub
On Feb 16, 2008 1:57 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Maxx <[EMAIL PROTECTED]> wrote:
> > I seriously doubt it is actually really working like
> > presented in the Struts doc.
>
> I have a three-deep nested structure with a map between IDs and objects and
> it works fine.
I would s
Thank you. If I submit all the data in "one shot" everything goes ok.
What I wanted to do in principle was to first upload the image (and other
files the user has to upload), then submit the form with other parameters.
like a step-by-step submission.
The problem is that i would like to have, in t
--- Paranoid_Fabio <[EMAIL PROTECTED]> wrote:
> Hello. I have to implement a file upload. Togheter with it, the user have
> to fill a form.
> The form is like:
>
>
> title
> price
> image
>
> The user should fill the "title" and "price" field, upload an image and
> the
--- Maxx <[EMAIL PROTECTED]> wrote:
> I seriously doubt it is actually really working like
> presented in the Struts doc.
I have a three-deep nested structure with a map between IDs and objects and
it works fine.
The reason your iterator doesn't work is because you should just use
to display th
--- naveen k <[EMAIL PROTECTED]> wrote:
> I am using struts1.1 for my application.
> I want to show some links in tree view on JSP page.
> How can i do that in JSP pages?
> Is there any predefined tag for that?
> If possible can any one send me a sample code.
There is no S1 tre
--- "Stanley, Eric" <[EMAIL PROTECTED]> wrote:
> Been, there done that. Anything out there with a real example?
What exactly are you asking for? Do you not want to use the built-in
(if you need more than two select boxes it's probably
not worth it)? There are a million examples of doing linked se
Hello. I have to implement a file upload. Togheter with it, the user have to
fill a form.
The form is like:
title
price
image
The user should fill the "title" and "price" field, upload an image and
then, clicking a submit button, send the form parameters to the action
22 matches
Mail list logo