What I use:
First I store the ArrayList in the application context, with the locale
identifies concatenated.
And other useful localized strings that are constants.
context.setAttribute(lang + _ + Constants.YEAR_MONTHS, ym);
And in the action where there is a forward that will display that
HI
I dont know about Cactus . But Struts 1.2 onwards only more than one
struts-config files are allowed that to be in this manner
servlet
servlet-nameaction/servlet-name
servlet-classcom.struts.action.ActionServlet/servlet-class
/// THis is for Defalut
Thankx a lot!!!
It worked
best regds,
AMOL YADWADKAR | Software Engineer | M P H A S I S Architecting Value|
IT SERVICES
2nd Floor, The Leela Business Park, Andheri Kurla Road, Andheri(E),
Mumbai 400059|
Tel: 91 22 5677 Extn 5356 | Fax: 91 22 5600| Cell : 9819011934 |
www.mphasis.com
Hi Geeta,
Just to let you know that one of the changes that was made to the JSF
spec was to integrate the JSTL and JSF, so you could use c:forEach with
JSF UI components. So using JSTL is still ok, I do. And I think it will
be around for a while.
-Original Message-
From: [EMAIL
On 9/15/05, Holshausen, Ron [EMAIL PROTECTED] wrote:
Hi Geeta,
Just to let you know that one of the changes that was made to the JSF
spec was to integrate the JSTL and JSF, so you could use c:forEach with
JSF UI components. So using JSTL is still ok, I do. And I think it will
be around
Hi
I tried to run the struts-shale-usecases webapp from the nightly
build(16th), but I get a NullpointerException during startup.
I am running on Tomcat 5.0.30 and have tried both JDK 1.4.2_09 and
1.5.0_04.
javax.servlet.ServletException: Error at line 41 char 56: null
at
I'm running the version from the 6th without any modifications, and it
runs fine.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 16 September 2005 10:42
To: user@struts.apache.org
Subject: [Shale] NullpointerException when running struts-shale-usecases
Hi
I
Hi
I could not find the 6th distro, so I tried the earliest one I could
find, beeing the 8th. Same problem.
Hermod
-Opprinnelig melding-
Fra: Holshausen, Ron [mailto:[EMAIL PROTECTED]
Sendt: 16. september 2005 09:47
Til: Struts Users Mailing List
Emne: RE: [Shale] NullpointerException
I'm running it under tomcat 5.5.9, and jdk 1.5.0_04.
It seems to be a problem parsing the chain-config.xml by the shale
filter. I'm not sure if this is something introduced after the 6th, or a
problem with the xml parser.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Thank you Wendy.
It is okay to retrieve contextpath.
Thanks
2005/9/16, Wendy Smoak [EMAIL PROTECTED]:
From: [EMAIL PROTECTED]
The resulting href becomes the following by display the source page on IE.
link rel=stylesheet href=/css/screen.css type=text/css
media=screen, print /
It
Imagine a tiles setup as the following:
definition name=.layout path=/layout.jsp
put name=body value=/body.jsp /
put name=menu value=/menu.jsp /
/definition
definition name=.help extends=.layout
put name=body value=/help.jsp /
/definition
Is it possible from the
Hi Laurie,
OK you are right. But I tried the CSS solutions without any effect.
Sam
-Original Message-
From: Laurie Harper [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 14, 2005 12:42 PM
To: user@struts.apache.org
Subject: Re: Missing attribute wrap in TextareaTag
Fleischle,
Hi
I will give it a try under 5.5.9, but maybe I should try with another
version of the parser first.
Hermod
-Opprinnelig melding-
Fra: Holshausen, Ron [mailto:[EMAIL PROTECTED]
Sendt: 16. september 2005 10:46
Til: Struts Users Mailing List
Emne: RE: [Shale] NullpointerException when
I have a Tiles layout of menu.
It displays values as I put in item value.
But can I make it i18n?
ie. how to use ApplicationResources.properties?
Thanks
definition name=erp.menu.home path=/layout/menu.jsp
put name=title value=Welcome /
putList name=items
item value=Home
on the web page Tiles developer,
http://www.lifl.fr/~dumoulin/tiles/
It stopped development after 2002.
Any new tools of OpenSource which keeps on going?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Craig, if you're reading this, sorry to address you specifically in
the subject, but I believe you commented once on this and said there was
something wrong (or bad) about doing things this way and I want to make
sure I'm doing things correct since I'm working on that CRUD
example/lesson...
?? What's wrong with Tiles? It's a part of Struts since
then and still under active development.
http://svn.apache.org/viewcvs.cgi/struts/tiles/
-- Ch.
- Original Message -
From: ??? [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Friday, September 16,
I'm preparing to make a case for switching to a differenct SCM tool
(source code management). The options are CVS, Perforce, and VSS.
Anybody have any cogent/credible stories or arguments for choosing one
over the other?
Thanks,
Dennis
VSS- walk away, don't make eye contact :-)
Pros: umm, it does manage versions, close integration with MS VisualStudio
Cons: windows-only administration and probably access too, not
intuitive to use, opaque binary files having no discernable relation
to the actual artifacts themselves, not cheap
Hi there,
I've build (better: I'm currently building) a webapp with struts. JBoss is
the used applicationserver.
In this webapp I'm using DynaActionForms for the Forms. But everytime I
change the entries for
the DynaActionForm in the struts-config.xml I receive an error about an
invalid
From: [EMAIL PROTECTED]
on the web page Tiles developer,
http://www.lifl.fr/~dumoulin/tiles/
It stopped development after 2002.
As Christian noted, Tiles is alive and well as a Struts sub-project.
There's also an effort under way (Standalone Tiles, currently in the Struts
Sandbox,) to
[EMAIL PROTECTED] wrote:
I'm preparing to make a case for switching to a differenct SCM tool
(source code management). The options are CVS, Perforce, and VSS.
Anybody have any cogent/credible stories or arguments for choosing one
over the other?
Thanks,
Dennis
CVS seems to be the
On 9/16/05, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I'm preparing to make a case for switching to a differenct SCM tool
(source code management). The options are CVS, Perforce, and VSS.
Anybody have any cogent/credible stories or arguments for choosing one
over the other?
Perforce:
2005/9/16, mlists [EMAIL PROTECTED]:
Is this an configuration-issue? (It's not very comfortable to restart the
server everytime after a change).
what version of Jboss?
And what the message you are receiving?
Is your application composed by either a WAR and a JAR?
If that is the case, do you
Hello Tremal,
2005/9/16, mlists [EMAIL PROTECTED]:
Is this an configuration-issue? (It's not very comfortable
to restart
the server everytime after a change).
what version of Jboss?
Jboss Version: 4.0.2
And what the message you are receiving?
See end of mail :)
Is your
Seriously consider SVN, too if possible. From what I am hearing, all
Apache projects will be on SVN within the next year.
CVS is getting a bit long in the tooth but works well for everything
i have ever needed.
VSS is IMO a waste of digital storage that could have been better used
for something
[EMAIL PROTECTED] wrote:
I'm preparing to make a case for switching to a differenct SCM tool
(source code management). The options are CVS, Perforce, and VSS.
VSS: *hurl* I can' recall a time where I've ever thought Whew, thank
goodness I'm using VSS and horror stories abound.
Perforce:
I would avoid VSS at all costs, its merge capabilities are less than stellar,
which makes it hard for two developers to change the same file.
Perforce works well. I like the changelist concept and it integrates
well with bug tools like TeamTrack, etc. Its biggest con is cost.
CVS while very
Interspersed.
On 9/16/05, Rick Reumann [EMAIL PROTECTED] wrote:
Craig, if you're reading this, sorry to address you specifically in
the subject, but I believe you commented once on this and said there was
something wrong (or bad) about doing things this way and I want to make
sure I'm doing
[EMAIL PROTECTED] wrote:
I'm preparing to make a case for switching to a differenct SCM tool
(source code management). The options are CVS, Perforce, and VSS.
Anybody have any cogent/credible stories or arguments for choosing one
over the other?
Don't touch Perforce with a barge pole it
From: Marc Ende [EMAIL PROTECTED]
In the war are no other classes included than the sources of my
application.
The jars of struts are directly in the server/default/lib directory of
jboss.
I don't know whether it's causing the particular problem you're reporting,
but struts.jar should not
Thanks Craig! You were right on all counts...
I presume that employeesListBean, employee, and searchCriteria are all
the names of other managed beans? That would be necessary for this to work
correctly.
Yes they are.
Also, the navigation rule you define above is not involved in the welcome
Okay... I've removed the struts.jar (and the other related jars of struts)
from
the shared folder and put it in the proposed WEB-INF/lib folder.
Great I've got no trouble with the DynaActionForm! Now I have to restart the
jboss
everytime I redeploy. The server does a lock on the struts.jar so I
Hey Randy, take a look at this:
http://wiki.apache.org/struts/StrutsPleaseWait
i haven't read it or implemented it myself, but looks promising..:)
Geeta
Randy Shepherd [EMAIL PROTECTED] wrote on 09/16/2005 02:40:11 PM:
Hey Guys..
Pretty basic question here. I am looking for suggestions how
Hi Randy,
There's basically two distinict approaches to solving this problem,
neither is specific to Struts...
(1) The server-based approach. This is along the lines of your meta
refresh in that you kick off some server process and have the client
periodically poll for a status. This is more
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This looks perfect! Thanks!!
On Sep 16, 2005, at 11:57 AM, [EMAIL PROTECTED] wrote:
Hey Randy, take a look at this:
http://wiki.apache.org/struts/StrutsPleaseWait
i haven't read it or implemented it myself, but looks promising..:)
Geeta
Randy
In my html form, I need to have some of the drop-down options show up in red
color, I foudn out that the way to do it in html is like this:
option class=redfont value=somevaluedisplay/option
My problem is that we are using Struts and a taglib library that extends strtus
OptionsTag to display the
Ed (et al)
VSS Pro:If your client is died in the wool dedicated to Microsoft
environment and Visual Studio IDE and MS2k,MS2003 servers then VSS makes
sense
VSS Con: Keep in mind it is a fairly useless code control when ported to
Unix or Mac..the reliance on NT attributes and file permissions
Make sure your CSS selectors are correct; try adding a 'color: red'
style or something so you can see for sure if the CSS rule is actually
matching what you think it is.
L.
Fleischle, Samuel wrote:
Hi Laurie,
OK you are right. But I tried the CSS solutions without any effect.
Sam
I have a run-time problem with a struts-based JSP.
Interesting thing is that this code has been working
for more than a year with no problems, but now errors
with HTTP 500 and JspException: PropertyDescriptor:
internal error while merging PDs: type mismatch
between read and write methods. See
Hi!
I would like to pass a session variable (user credentials) from
application homebase to application test. Both applications were
deployed on the same tomcat-server and crosscontext=true for both
Applications.
For example I was setting up a session variable in my request, and
forwarded the
On 9/16/05, Martin Burkert [EMAIL PROTECTED] wrote:
Hi!
I would like to pass a session variable (user credentials) from
application homebase to application test. Both applications were
deployed on the same tomcat-server and crosscontext=true for both
Applications.
You are going to have
From: Martin Burkert [EMAIL PROTECTED]
I would like to pass a session variable (user credentials) from
application homebase to application test.
How are the users logging in? You need some form of 'single sign on,' but
how to go about it depends on where the credentials are coming from.
I am thinking about migrating an application using Struts and
ActionForms to use the DWR implementation of AJAX. I stood up a simple
DWR sample and I'm realizing that it may not be possible to integrate
DWR with ActionForms -- DWR makes requests through the backdoor (ie,
XMLHttpRequest), rather
Greg-
check out Frank Zammetti's tutorial for Asynchronous JavaScript with XML
http://www.omnytex.com/articles/xhrstruts/
A most excellent primer..
HTH,
Martin
- Original Message -
From: Greg Pelly [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Friday,
I'm developing a Struts application that lets a user query a database
using a JSP page and then returns it in a JSP page. I'm using Struts
1.2.4 on Tomcat 5.0.28. Whenever I try to start the Struts program,
however, I receive this error:
javax.servlet.ServletException: Cannot find ActionMappings
Because from the webpage of http://www.lifl.fr/~dumoulin/tiles/
No new element is added after 2002.
I wonder if it stops moving.
If it is alive, I can devote my effort to it.
Thank you all.
2005/9/16, Wendy Smoak [EMAIL PROTECTED]:
From: [EMAIL PROTECTED]
on the web page Tiles developer,
On 9/16/05, 梁炳場 [EMAIL PROTECTED] wrote:
Because from the webpage of http://www.lifl.fr/~dumoulin/tiles/
No new element is added after 2002.
I wonder if it stops moving.
If it is alive, I can devote my effort to it.
It is definitely alive ... 2002 is when Cedric moved active development
Stephen Hartley wrote:
I have a run-time problem with a struts-based JSP.
Interesting thing is that this code has been working
for more than a year with no problems, but now errors
with HTTP 500 and JspException: PropertyDescriptor:
internal error while merging PDs: type mismatch
between read
Thanks for the props Martin! :)
Greg... one common misconception about AJAX is that it needs to involve
XML. It doesn't (ok, it probably shouldn't be called AJAX in that case,
AJA? perhaps...)
Note that there is nothing special about a form being submitted to a
Struts Action... The Struts
50 matches
Mail list logo