://www.theserverside.com/books/review/J2EESurvivalGuide.tss
Damm, Gary [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
I've successfully used Struts for several applications and have been
very happy with it. I am getting ready to use it for a larger project
and would like to use modules but I'm
I've successfully used Struts for several applications and have been
very happy with it. I am getting ready to use it for a larger project
and would like to use modules but I'm having some problems.
It appears that when I attempt to switch from the default module to a
new module (module1) it
://jakarta.apache.org/struts/userGuide/configuration.html#dd_config_
mo
du
les
-Original Message-
From: Damm, Gary [SMTP:[EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 1:56 PM
To: [EMAIL PROTECTED]
Subject: help implementing modules...
I've successfully used Struts
I have two action tags defined in a single action class. Each action
has it's own action-forward element. When the struts-config.xml is
generated it generates two action elements but each action element has
both action forwards (each should only have one).
/**
* @struts.action
*
Any opinions on these tools? I code my Struts applications (4
successful projects) in Eclipse. I see these tools as a potential
timesaver now that I understand the framework. Anyone using them that
wants to give feedback?
I know this has been asked before but I'm getting errors when searching
the archive. I need some examples (links) of sites currently using
struts.
Any help appreciated,
Gary
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Keep in mind Strings implement Comparable. So if the lastName field of your
PeopleBean is a String it makes the local sorting that much easier (no need to make
changes to the PeopleBean). You can just do the comparisons based on the lastName
field (or any other field that implements
-Original Message-
From: Damm, Gary [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 12:35 PM
To: [EMAIL PROTECTED]
Subject: Web sites using struts
I know this has been asked before but I'm getting errors when searching
the archive. I need some examples (links) of sites currently
Here is how I understand the BeanUtil.copyProperies.
1. It expects that the src and dest beans have the same member names to
be copied. (In your case the customer bean would have id,name,country
and select) members.
2. It expects these members to have getter and setter methods.
3. The data type
I had a similar problem but with a method getItems(). My application
is using a tag bean:define name=group property=items id=items /.
This actually works fine on Tomcat 4.1 with Struts 1.1b3. But when I
deploy this app to WebSphere 4.0 I get the error below. If I change the
method to
I've developed a Struts application on Tomcat. Now our operations folks
are attempting to deploy it to an Apache/Jserv configuration but having
problems.
Before I attempt the installation I wondering if anyone familiar with
Jserv can tell me if there are inherent issues deploying a Struts
Here is another way to do it:
Define the I18N string:
bean:define id=thIdbean:message key=label.id//bean:define
Access it with a scriplet in another tag:
display:column title=%=thId% property=detailLink sort=true /
Still would be nicer for the later tag to support I18N but nothings
perfect.
Not sure but it looks like it may be having a problem finding your
servlet config file (struts-config.xml) and not your message resources.
I had a similar problem in the past and it wasn't finding my config
file.
Gary
-Original Message-
From: Michael Cardon [mailto:[EMAIL PROTECTED]]
I'm using WINDOWS-1252 character set on my jsp pages. This is because
our database is not Unicode so I have trouble using UTF-8 (this is
beyond my control at this point). When I enter Korean characters into
my application they are converted into Unicode escape sequences (ie.
#12345;...). When I
There's a tag for this in the struts bean taglib. Bean:parameter Check
it out:
http://jakarta.apache.org/struts/userGuide/struts-bean.html#parameter
Gary
-Original Message-
From: Kevin Williams [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 3:23 PM
To: [EMAIL PROTECTED]
I'm having problems displaying Unicode escaped characters with html and
bean tags.When I display unicode characters with html and bean tags
the ampersand is being escaped so the html is displaying the escape
sequence rather than the character.
Example (these are Korean characters) JSP
Yes, when you define the form in your action set the scope to session.
This will put the form bean into the session scope.
Hope this helps,
Gary
-Original Message-
From: Peder Jakobsen [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 09, 2003 10:50 PM
To: [EMAIL PROTECTED]
Subject:
I've recently switched to struts 1.1-b3. My previous log configuration
has stopped working and I'm wondering why. I'm using commons-logging
with log4j. My previous commons-logging jar was Implementation-Version:
1.0.1 and my commons-logging.properties is as follows:
I checked http://javawebifier.com/index.htm for examples of the taglib
rewrite but it states there aren't any examples yet. Is there somewhere
you can point to examples of the rewritten tags open to the public?
Have you added features to incorporate titles from Struts
MessageResources? I'm using
I'd like to be able to identify the message resources based on the
ServletRequest. Is there a hook I can use to get the current
MessageResources based on the ServletRequest? The class I'm using only
has hooks into the ServletRequest and not and struts specific objects.
I believe I can do the
I agree, the Map method isn't very straight forward for simply adding
2-3 params to the link. The only thing to remember with the traditional
method is to encode the parameters.
Thanks,
Gary
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10,
Sounds more like a PlugIn. Here are the API docs:
http://jakarta.apache.org/struts/api/org/apache/struts/action/PlugIn.htm
l
You just implement this interface, configure it in your config.xml file
and you're up and running.
Gary
-Original Message-
From: Yan Zhu [mailto:[EMAIL
Anyone know if/how to add multiple query parameters using this tag?
ie: www.myserver.com/foo.jsp?id=1bar=2...
Thanks,
Gary
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Try setting the form scope in your struts-config to request. I believe
by default it is set to session.
-Original Message-
From: LUCERO,DENNIS (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 9:25 AM
To: ' ([EMAIL PROTECTED])'
Subject: form scope
OK, yea it
I'm relatively new to Struts and I'm looking for an existing tag lib to
do the following actions (I would like to avoid adding Java code to my
JSP's):
HTML Tables
1. Alternate row color for each row of an iteration.
2. Next/Previous links for a large collection that is being
iterated
Can anyone explain this error? The action I'm mapping the validation to
has a form with a name attribute which is what I'm validating so I'm
not sure why I'm getting the no input attribute error.
HTTP Status 500 - No input attribute for mapping path /CreateGroup
26 matches
Mail list logo