It's because Struts and JBoss don't play well together. They will for a
while... until you really don't expect it, and you will spend a couple of
days flossing the plaque from your configuration while trying to get it
working again. Struts and JBoss are two of the dozen or so must haves...
so
I'd say that this probably stems from the fact that IDEs were generally trash
until recently, that there was always one missing link. The IDEs that are
worth learning have a pretty high learning curve. The crew that can't be
bothered to learn a complex IDE when the one they have is fine
Hi all,
I have Validator operational with two-password validation along the lines of
what is in the developer guide. I've found that the custom validator
function can be found when the setup is running under standalone Tomcat
4.0.x, but not when that tomcat is running under JBoss, I get the
I'm trying to do this as well, but that code doesn't compile any more. I
could override form.validate() and check there, but it would be nice to keep
everything clean. I'm using the Validator nightly out of commons, in the
download process for the rest of the Struts tree.
My problem seems to be
) {
errors.add(field.getKey(),
Resources.getActionError(request, va, field));
return false;
}
}
return true;
}
}
-Original Message-
From: Brian Topping
Sent: Saturday, March 01, 2003 5:09 PM
To: Struts
Darren,
Try completely cleaning your login form of Struts tags. When you get that to
work, add them back slowly to see which ones are giving the problem.
I've found that I can put a login form using j_security_check inside a Struts
tile, but using Struts tags caused problems for me of the sort
Craig, Rana,
thanks for your responses, hoping you guys can provide some input:
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Subject: Re: PropertyUtils.copyProperties() usage in 1.1-b2
I'm trying to figure out what I am doing wrong with
PropertyUtils.copyProperties(). From
-Original Message-
From: Suman Das [mailto:[EMAIL PROTECTED]]
Subject: ActionServlet unable to proceed...pl help
While running the following code (more or less same as
Javaranch's march article) in weblogic 7.0, the LoginView.jsp
accepts UserID and Pwd but then the login.do
I'd say you have a bad install of Java on your OS, not a Struts problem. You
should never see the VM crash under any circumstances where the VM and the OS
are installed correctly.
What OS are you running on? Are you running the most current updates of
everything, including the OS? What threads
Hi all, happy friday (again... :)
I'm trying to figure out what I am doing wrong with
PropertyUtils.copyProperties(). From within my Action, I have:
User user = bean;
DynaActionForm regForm = (DynaActionForm) form;
PropertyUtils.copyProperties(regForm, user);
When I
Hi all, happy friday (again... :)
I'm trying to figure out what I am doing wrong with
PropertyUtils.copyProperties(). From within my Action, I have:
User user = bean;
DynaActionForm regForm = (DynaActionForm) form;
PropertyUtils.copyProperties(regForm, user);
When I
... and you aren't using DynaActionForms, which erase your form every time
the controller is called.
-b
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 15, 2002 12:48 PM
To: Struts Users Mailing List
Subject: RE: ActionForm manipulation within
Hi all, happy friday (again... :)
I'm trying to figure out what I am doing wrong with
PropertyUtils.copyProperties(). From within my Action, I have:
User user = bean;
DynaActionForm regForm = (DynaActionForm) form;
PropertyUtils.copyProperties(regForm, user);
When I look at what
... and you aren't using DynaActionForms, which erase your form every
time the controller is called.
-b
-Original Message-
From: Sri Sankaran [mailto:Sri.Sankaran;sas.com]
Sent: Friday, November 15, 2002 12:48 PM
To: Struts Users Mailing List
Subject: RE: ActionForm manipulation
On Fri, 15 Nov 2002, Brian Topping wrote:
Date: Fri, 15 Nov 2002 12:10:53 -0800 (PST)
From: Brian Topping [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: PropertyUtils.copyProperties() usage in 1.1-b2
Hi all, happy
I'm using 3.04/4.1.12 just fine, but I am not using the TilesActionServlet if
that is what you are talking about. I *am* using Tiles, just not with the
TAS, which is only required if you want to use XML definitions.
hth,
-b
-Original Message-
From: Vincent Stoessel
some of the items?
Brian == Brian Topping [EMAIL PROTECTED] writes:
Brian Hi all,
Brian Quick question that the online docs aren't helping
me answer:
Brian I have a snippet:
Brian bean:define id=foo name=FooForm property=foo
Brian type=java.util.Collection
Good day all, happy Friday!
I'm building another application using tiles (hopefully this one will ship
sooner than the others :-) and coming across the geometric explosion of tiles
and body files, wondering if there is a solution that others are using that I
might be able to take advantage of.
you may need to
indicate direct here?
Hue.
-Original Message-
From: Brian Topping [mailto:topping;digidemic.com]
Sent: 08 November 2002 15:39
To: [EMAIL PROTECTED]
Subject: Merging Tiles body into tile definition
Good day all, happy Friday!
I'm building another
Hi all,
I'm running into this problem too. My DynaActionForm is getting cleared
between calls to my action.
I'm using DispatchAction as my base class, so I have actions like
'FooAction?method=setupForm', 'FooAction?method=page1',
'FooAction?method=page2', etc.
Is resetting the form a feature
Hi all,
Quick question that the online docs aren't helping me answer:
I have a snippet:
bean:define id=foo name=FooForm property=foo
type=java.util.Collection/
html:form action=/doFoo.do
html:select size=5 property=foofield
html:options collection=foo
-Original Message-
From: Manfred Wolff [mailto:[EMAIL PROTECTED]]
Subject: AW: Re: Struts + EJB ?
I use Struts, Tomcat, JBoss, XDoclett, PostgreSQL, Ant, Log4J
in a 5 person
year project (not large but not small also) and it works really fine.
Manfred,
Are you using Xdoclet
or
the other if you are seeing problems like this.
Thanks to everyone that posted something on this.
best,
-b
-Original Message-
From: Brian Topping
Sent: Monday, July 08, 2002 5:49 PM
To: [EMAIL PROTECTED]
Subject: MessageResources problem under JBoss 3.0
Hiyas,
I'm looking
I hope all my potential competitors read this... i sure would love to have
them not using EJB out of the gate!!! :P
-b
-Original Message-
From: Struts Newsgroup (@Basebeans.com) [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 2:10 AM
To: [EMAIL PROTECTED]
Subject: Re: Struts
-Original Message-
From: Zayed [mailto:[EMAIL PROTECTED]]
Subject: Re: i18n is killing me!
try by renaming your properties file as XXX_en_US.properties.
Cheers!!
Zayed
Thanks for the tip, no, doesn't work. Makes *no* sense.
Gurus: Is there any points in the struts code
Hiyas,
I'm looking at a classloader problem with JBoss 3 and Struts 1.1B1. It would
appear that this is the source of problems in loading properties files for
struts users on JBoss.
If there is anyone out there that is using JBoss 3, can you comment on your
ability to load or not load
From: Martin Cooper
Subject: RE: MessageResources problem under JBoss 3.0
Date: Mon, 08 Jul 2002 15:18:56 -0700
-
---
-Original Message-
From: Brian Topping [mailto:[EMAIL PROTECTED]]
Subject
Yah, I am doing it. It's my first struts application. It works great!
If you are using Struts and EJB, you should check out Xdoclet. It generates
EJB interfaces, web.xml, strutsconfigs, struts forms, etc. It might be too
much of a pain to learn if you are just learning one or the other, but
-Original Message-
From: Jeff Pennal [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 07, 2002 3:26 PM
Subject: Re: [ANNOUNCE] stxx 1.0.0 released
You can find stxx at http://www.openroad.ca/opencode/stxx
Sounds cool, a nice middle ground between struts and cocoon.
What's the
hiyas,
can anyone lend a hand with i18n? it's starting to feel like i81n!! :/
environment is struts 1.1b1, win2k, jboss 3.0/tomcat 4.0.3 release, default
locale is en_US.
i have a web-inf/classes/ApplicationResources.properties as well as
web-inf/classes/ApplicationResources_en.properties
I'm having the same problem, and can't grasp it...
javax.servlet.ServletException: No getter method for property password2 of
bean customer.Full.
Can someone take a look? It's probably something silly, this is my first
form. Most of this is stolen from the example but regenerated with Xdoclet,
included in Struts1.1b1 to
jboss-3.0.0_tomcat-4.0.3/server/default/deploy.
It works good. I never get NoClassDefFoundError.
Brian Topping wrote:
Hi All,
I'm trying to get my first Struts app going. I'm using
JBoss3 with Tomcat
for the web container, and am having quite a bit
32 matches
Mail list logo