Hi..
I know you must be sick and tired of these stupid questions about struts
tiles but I have a problem (imagine that).
I keep getting java.lang.IllegalStateException from tomcat when using
tiles. At first I thought I had just done something wrong when using
tiles, but it seems that even a
Okay... Seems to be a problem with tomcat. I tried the same thing with
orion and it works like a charm. Anybody now about this kind of bug in
tomcat ? Or is it a bug or a feature :)
/tuomo
Tuomo Syvänperä wrote:
Hi..
I know you must be sick and tired of these stupid questions about struts
] wrote:
Yes I am using 1.4beta. But an almost identical webapp works with
1.4beta. Strange I say.
Tuomo Syvänperä wrote:
Hi Antony,
Are you using Sun's JDK 1.4 beta.. I got the same 'object is not an
instance of declaring class' - error when I used JDK 1.4.
Try switching to 1.3
Hi,
There's been loads of discussion about how to implement this action
chaining..
Last night I cooked up yet another possible way to do it..
The chainToPage class implementation by Keith Bacon posted earlier
seemed like a nice way to do it at first.. But what I'm looking for is
a more generic
Hi..
I posted earlier my suggestion to the action chaining problem...
Well, here's a bare-bones implementation of what I was talking about.
Again, this may be totally f*cked up but it's your job to tell me
what I'm doing wrong :)
I've attached my (partial) implementation to this post..
/tuomo
Sorry.. I forgot one method from the ActionBase - class..
Attached is the new version.
/tuomo
Page A:
- has the following app:returnStamp tag
app:returnStamp to=pageA.do from=pageB.do /
- if there is access to page B from some other page C we should also add the
tag to page C otherwise
Hi,
What is the parameter - field for in the ActionMapping class ?
I was thinking about storing some info there that I use to communicate
some things between my actions. Is it safe to just call
ActionMapping.setParameter and set its value or should it be put inside
a synchronized block ?
.
-Original Message-
From: Tuomo Syvänperä [mailto:[EMAIL PROTECTED]]
Sent: 13 December 2001 12:45
To: [EMAIL PROTECTED]
Subject: ActionMappings parameter - field
Hi,
What is the parameter - field for in the ActionMapping class ?
I was thinking about storing some info there that I use
Hi,
How can I return to correct page after submitting a form which can be
called from
several places..
What I have is a actionform which can be accessed from many different
places.
ie. I have page A with a link:
html:link page=/editArticle.do?action=Edit paramId=id
paramName=article
).
Now in saveArticle - action mapping.getInput() returns the
editArticle.jsp form and
not the page from which we came from..
/tuomo
Jon.Ridgway wrote:
Hi Tuomo,
You could try using:
mapping.getInput ()
in your actions perform method.
Jon.
-Original Message-
From: Tuomo
) formBean.getReturnTo();
thisForm.setReturnTo() = returnTo;
/*
* 2 - on completion
*/
return new ActionForward(returnTo);
--- Tuomo Syvänperä [EMAIL PROTECTED]
wrote:
Hmm.. Nope. mapping.getInput() always returns the
same thing regardless
of the
page from which we came from.
Here's a bit
--- Tuomo Syvänperä [EMAIL PROTECTED]
wrote:
In a way this is exactly what I do right now.. But
the problem is the
request attributes parameters sent to the
'returnTo' page.. These are
lost when using this technique..
In my version I also set the request attributes as
hidden form fields
12 matches
Mail list logo