Hello all,
I am facing a strange problem. If I redefine in web.xml the
struts-filters (see following xml-snip), the struts works fine, but I
loose my location settings after FORWARDING.
Any idea ? Please advice.
Regards
Eduard
P.S.: I haven't debugged the struts code.
openSessionIn
On the home site of struts.apache.org as of 2009.08.28.03.24 PDT:
The Infrastructure Team of The Apache Software Foundation is currently
investigating a
potential compromise of one of our servers. For security reasons most
apache.org
services are therefore offline, but will be restored shortly
Louisiana State University - UIS
-Original Message-
From: Guillaume Bilodeau [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 10, 2008 8:06 PM
To: user@struts.apache.org
Subject: RE: interesting proxy + action chain issue
I'm not sure if I'm missing something
Ian Meikle wrote:
Hi Jeromy,
Thanks for the info.
Several of the interceptors require configuring, for example the Scope
interceptor.
The example provides some examples of this. However it seems that the only
way to configure a interceptor is to redefine an interceptor stack.
Is this correct
.
-
Jeromy Evans <[EMAIL PROTECTED]>
09.04.2008 01:23
Please respond to
"Struts Users Mailing List"
To
Struts Users Mailing List
cc
Subject
Re: interesting proxy + action chain issue
Ian Meikle wrote:
> HI,
>
&
niversity - UIS
>
>
> -Original Message-
> From: Guillaume Bilodeau [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 10, 2008 1:24 PM
> To: user@struts.apache.org
> Subject: RE: interesting proxy + action chain issue
>
>
> Hi Brad,
>
> Have yo
upit
Louisiana State University - UIS
-Original Message-
From: Guillaume Bilodeau [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 10, 2008 1:24 PM
To: user@struts.apache.org
Subject: RE: interesting proxy + action chain issue
Hi Brad,
Have you tried this:
http://www.vitarara.org/c
Evans [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 08, 2008 6:24 PM
> To: Struts Users Mailing List
> Subject: Re: interesting proxy + action chain issue
>
> Ian Meikle wrote:
>> HI,
>>
>> I have been following this post with interest since I used t
class (perhaps extending ServletRedirectResult or
ServletActionRedirectResult)?
Brad Cupit
Louisiana State University - UIS
-Original Message-
From: Jeromy Evans [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 08, 2008 6:24 PM
To: Struts Users Mailing List
Subject: Re: interesting
Ian Meikle wrote:
HI,
I have been following this post with interest since I used the PRG pattern
in previous projects.
We are using struts 2 in are current project and I like the errorMessages
behaviour that is part of the Action.
Is it possible to persist these over the PRG cycle ?
By defau
.
-
"Brad A Cupit" <[EMAIL PROTECTED]>
08.04.2008 17:16
Please respond to
"Struts Users Mailing List"
To
"Struts Users Mailing List"
cc
Subject
RE: in
Louisiana State University - UIS
-Original Message-
From: Jeromy Evans [mailto:[EMAIL PROTECTED]
Sent: Monday, April 07, 2008 8:20 PM
To: Struts Users Mailing List
Subject: Re: interesting proxy + action chain issue
Brad A Cupit wrote:
> ServletActionRedirectResult worked when I used it i
Jeromy Evans wrote:
Brad A Cupit wrote:
...
POSTS should each have their own Action (which may write the data to the
DB). This Action should only process the POST. Afterwards, it forwards
(chains) to another Action, which sits in front of the view. If the view
needs data from the DB, it goes in
Brad A Cupit wrote:
ServletActionRedirectResult worked when I used it instead of the
ActionChainResult. This performs an extra round trip back to the
browser, which isn't terrible unless I want to pass data from one Action
to another, and herein lies some concern.
...
POSTS should each have thei
ve to write those dumb
actions. Nice!!
Brad Cupit
Louisiana State University - UIS
-Original Message-
From: Brad A Cupit
Sent: Monday, April 07, 2008 11:10 AM
To: 'user@struts.apache.org'
Subject: interesting proxy + action chain issue
Hi! I'm having a very interestin
Hi! I'm having a very interesting issue with CGLIB proxies. I'm proxying
my actions with Spring AOP (to get declarative transactions on each
Action).
Everything is working great, except when I try action chaining, I get a
class cast exception that Action2 can't be cast to Acti
('mktselect');
var data="";
var cableid="";
var theform = document.cableHeadends;
var tot = theform.elements.length;
for (i=0; ihttp://www.nabble.com/Display-the-list-of-values-in-check-box---Interesting-problem-tf403922
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Cheers,
Alan Treece wrote:
> As the Subject: line states I'm in the middle of converting a larger
> Perl application to a Struts web-app running on the SUNWappserver. The
> question was posed as to how to deal with all of the folks who may have
> "boo
Use URL rewrite filter for this one. It's really a good stuff.
https://urlrewrite.dev.java.net/
Cheers,
Danny
Alan Treece wrote:
As the Subject: line states I'm in the middle of converting a larger
Perl application to a Struts web-app running on the SUNWappserver. The
question was posed as
Leon Rosenberg wrote:
> Define a servletmapping for the old url, write a servlet which simply
> redirects all requests to the new url. Done.
Or filter with a list of old URLs => new URLs and redirect.
Dave
-
To unsubscribe, e-
Define a servletmapping for the old url, write a servlet which simply
redirects all requests to the new url. Done.
regards
Leon
On 5/9/06, Alan Treece <[EMAIL PROTECTED]> wrote:
As the Subject: line states I'm in the middle of converting a larger
Perl application to a Struts web-app running on t
Hi,
You could use a servlet mapped to *.pl (or whatever extension the perl
system used) and get it to send a redirect to the appropriate part of
the java system.
Gareth
Alan Treece wrote:
As the Subject: line states I'm in the middle of converting a larger
Perl application to a Struts web-a
As the Subject: line states I'm in the middle of converting a larger
Perl application to a Struts web-app running on the SUNWappserver.
The question was posed as to how to deal with all of the folks who
may have "bookmarked" a perl URL to the old app. I don't want to just
cut those folks of
: jmitchtx
MSN: [EMAIL PROTECTED]
Skype: jmitchtx
- Original Message -
From: "Shailesh Barde" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, November 23, 2005 2:26 AM
Subject: Interesting!
Hello Friends,
I have developed a module in my Project to Make changes in the
Hello Friends,
I have developed a module in my Project to Make changes in the resource Bundle
(.properties) file at RunTime by Using java.io.After Writing on a File(Through
Action Action Class) the web Server gets Restarted & the updated Resource
Bundle is Displayed on a JSP.(after Refreshin
///;-)
On Fri, 18 Mar 2005 13:22:01 -0500 (EST), Frank W. Zammetti
<[EMAIL PROTECTED]> wrote:
> I've wanted a nickname all my life (aside from the explicitives some would
> use!)... never thought it's be Radar :)
>
> --
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex Technol
I posed your question to a colleague of mine, because this problem is
way beyond my puny knowledge. Anyway, his response, for what it's worth:
>
My first instinct is to call this a Supremely Bad Idea. There WILL be
conflicts. You can bet on it. Best to have a single "maintenance"
process o
On Fri, March 18, 2005 1:46 pm, Kris Schneider said:
> Actually, I was thinking more along the lines of Radar's precog abilities.
> So,
> if you weren't aware the nick was coming, then it obviously doesn't fit
> ;-).
> Anyway, for better or worse, you've already got a namesake from the show.
> All
Quoting "Frank W. Zammetti" <[EMAIL PROTECTED]>:
> On Fri, March 18, 2005 1:30 pm, Kris Schneider said:
> > Quoting "Frank W. Zammetti" <[EMAIL PROTECTED]>:
> >
> >> I've wanted a nickname all my life (aside from the explicitives some
> >> would
> >> use!)... never thought it's be Radar :)
> >
> >
On Fri, March 18, 2005 1:30 pm, Kris Schneider said:
> Quoting "Frank W. Zammetti" <[EMAIL PROTECTED]>:
>
>> I've wanted a nickname all my life (aside from the explicitives some
>> would
>> use!)... never thought it's be Radar :)
>
> Then it probably shouldn't be ;-)
Oh no, I opened my mouth with
Quoting "Frank W. Zammetti" <[EMAIL PROTECTED]>:
> I've wanted a nickname all my life (aside from the explicitives some would
> use!)... never thought it's be Radar :)
Then it probably shouldn't be ;-)
> --
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex Technologies
> http
I've wanted a nickname all my life (aside from the explicitives some would
use!)... never thought it's be Radar :)
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Fri, March 18, 2005 1:09 pm, Dakota Jack said:
> The class works, but I don'
The class works, but I don't think it is what you want. Maybe it is.
Just don't have high expectations. I did and was disappointed. Just
trying to help you out, Radar! ///;-)
Jack
On Fri, 18 Mar 2005 12:21:28 -0500 (EST), Frank W. Zammetti
<[EMAIL PROTECTED]> wrote:
> Why do you think it wo
Commons ID has been in the sandbox for a year already? Ugh, someone get a
release out! :)
I think the solution I used is going to suffice nicely. I mean, in a
cluster each machine still has a unique IP address anyway, so that in and
of itself would have been enough. But, adding in the VMID and
Frank,
I was a little hinky myself about using Common ID in production. But I've
been using it or over a year and it has performed admirably. We haven't
seen any problems with the package.
As for getting the MAC address I had to solve that problem about six
months ago. I had to resort to Runti
In the interest of giving back, here's what I wound up doing:
import java.net.InetAddress;
import java.rmi.dgc.VMID;
import java.util.GregorianCalendar;
int vmidHash = new VMID().hashCode();
long currentTime = new GregorianCalendar().getTimeInMillis();
int ipHash = InetAddress.getLocalHost().hashC
Why do you think it wouldn't work? Does it sometimes return incorrect
information in some setups?
I thought of doing some kind of mini-browser-type thing, but before I go
down that road I wanted to explore some simpler solutions. The Commons ID
thing is very nice, but I'm not so sure I'm comfort
InetAddress might not get the answer for you, Frank. I don't know
what your setup is, but you can go to any ip address service outside
your system and get a unique return address for your machines with a
mini-browser.
Jack
On Fri, 18 Mar 2005 11:36:10 -0500 (EST), Frank W. Zammetti
<[EMAIL PROT
Oh, that is sweet! I was totally unaware of that. Thanks Martin!
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Fri, March 18, 2005 11:52 am, Martin Wegner said:
>
> You can also use the Jakarta Commons ID packageto generate a GUID whic
You can also use the Jakarta Commons ID packageto generate a GUID which is
guaranteed to be unique in the universe. You could then convert the GUID
to your seed.
--- Kris Schneider <[EMAIL PROTECTED]> wrote:
> Will InetAddress.getLocalHost() work for you?
> NetworkInterface.getNetworkInterface
Yes, I think InetAddress just might do the trick. Thank you Kris!
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Fri, March 18, 2005 11:24 am, Kris Schneider said:
> Will InetAddress.getLocalHost() work for you?
> NetworkInterface.getNet
Will InetAddress.getLocalHost() work for you?
NetworkInterface.getNetworkInterfaces() might also be of interest. Or, you
might want to create yourself an instance of java.rmi.dgc.VMID...
Quoting "Frank W. Zammetti" <[EMAIL PROTECTED]>:
> Oh boy, I got a good one! It's only related to Struts in t
Oh boy, I got a good one! It's only related to Struts in that the
application in question is Struts-based, so I hope no one minds a semi-OT
question...
Here's the situation... An app I wrote has a daemon thread that is spawned
at startup (from a Struts plugin) that does periodic background proces
From what I can see here it looks like the page is already being
written out when the error occurs from what I can see.
You have gone to your first action, done some work, then return the
mainLayout tile. The tile then starts building the response based on
layout2.jsp. It includes the pages yo
I'm using tiles, and some of the tiles are summary pages. For instance a payment
summary, it just shows the date and the amount. While the detail page shows how the
payment was applied (how much to interest etc.)
So my tiles definition looks like:
45 matches
Mail list logo