RE: Using message resources in non-action class

2006-03-12 Thread starki78
Yes this is a good solution! Do you also have a solution to access these message resources from a plain java-class there you don't have the servlet context? Nice greetings -- Initial Header --- >From : [EMAIL PROTECTED] To : user@struts.apache.org, [EMAIL PROTECTED

RE: Using message resources in non-action class

2006-03-12 Thread Chandra.Ravinithala
The following should work. MessageResources messageresources = (MessageResources) servlet.getServletContext().getAttribute("allMessages"); Chandra -Original Message- From: Anuradha S.Athreya [mailto:[EMAIL PROTECTED] Sent: Monday, March 13, 2006 1:09 PM To: 'Struts Users Mailing List

Using message resources in non-action class

2006-03-12 Thread Anuradha S.Athreya
In my struts application, I have resources file application.properties. This has been configured in the struts-config.xml file Now, I would like to use this in my source code , in a non-action class. I tried the following MessageResources messageresources = MessageResources.getMessag

Re: has struts reached the saturation

2006-03-12 Thread Jubin Kuriakose
> > > Out of curiousity, how does that translate to "saturation" in your > opinion? > > I didn't come to an conclusion from this one article... It is the general opnion that struts is a mature and complete product and most programmers would choose struts. But its growth is limited to being a webfra

[ANN] JSP Controls Tag Library 0.5 has been released

2006-03-12 Thread Michael Jouravlev
New version of JSP Controls Tag Library (the Library) is much closer to future official public version 1.0. Since this release no major changes in API is expected. Heck, I am using it for a real website :) so the code has to be stable enough. No more big changes. Documentation on site is in proce

Re: Error finding tiles-defs.xml

2006-03-12 Thread Oshima Tlholoe
hi Dave, Even in Tomcat, cos u have to configure your ActionServlet,and tell it which initial parameter to load at startup, hence you need to specify your tiles-defs.xml as an initial parameter. This is tomcat/Jboss related, I have never worked on Websphere. On 3/10/06, Dave Newton <[EMAIL PROTEC

Re: has struts reached the saturation

2006-03-12 Thread Craig McClanahan
On 3/12/06, Jubin Kuriakose <[EMAIL PROTECTED]> wrote: > > oh sorry > I wasn't aware of that rule. > Anyway the quote > > > Some might say that the Spring framework just *handles* Struts better > than > > Struts handles itself > > I got from this link... > http://www-128.ibm.com/developerworks/

java.lang.VerifyError: Cannot inherit from final class

2006-03-12 Thread 王曾wang_zeng
I am developing a small web application with tomcat,struts and hibernate. At first,I am working at home useing the Jcreator as IDE,and there were no problems. Then I want to work at my company using myeclipse as IDE. I carefully transplant the code,jars and xml files to the eclipse project. When I

Re: has struts reached the saturation

2006-03-12 Thread Jubin Kuriakose
oh sorry I wasn't aware of that rule. Anyway the quote > Some might say that the Spring framework just *handles* Struts better than > Struts handles itself I got from this link... http://www-128.ibm.com/developerworks/java/library/j-sr2.html I will adhere to that rule thnks Craig On 3/

Re: has struts reached the saturation

2006-03-12 Thread Craig McClanahan
On 3/12/06, Jubin Kuriakose <[EMAIL PROTECTED]> wrote: > > > > > I've got a bit of advice for you ... either point at the opinions you > are > > referring to directly (so people can evaluate them for themselves), or > > people are going to think you are yet another clone of Dakota Jack :-). > > > W

Re: has struts reached the saturation

2006-03-12 Thread Jubin Kuriakose
> > I've got a bit of advice for you ... either point at the opinions you are > referring to directly (so people can evaluate them for themselves), or > people are going to think you are yet another clone of Dakota Jack :-). Wht did u mean by that ??

Re: has struts reached the saturation

2006-03-12 Thread Craig McClanahan
On 3/12/06, Jubin Kuriakose <[EMAIL PROTECTED]> wrote: > > Hi > I have heard that struts have reached a saturation point and nothing more > can be build over it. New frame works like spring would take over struts. > How valid are these opinions. I've got a bit of advice for you ... either point a

Re: has struts reached the saturation

2006-03-12 Thread Jubin Kuriakose
Hmm... I read on a link on another post the following Some might say that the Spring framework just *handles* Struts better than > Struts handles itself > So the conclusion is Struts is mature and stable like Frank Zammetti said and any more revolutionary concept or any added eye opening function

Struts html taglib and javascript

2006-03-12 Thread Jay . Jakilinki
Hi I am trying to put dynamic javascript in html:text tag. I have a checkbox next to a name (names are backed up by a list) and whenever the user changes the name the checkbox next to the name is automatically checked. javascript: document.someform.chkbox[<%=indexId property in nested:iterate

Re: has struts reached the saturation

2006-03-12 Thread Laurie Harper
Ted Husted wrote: On 3/12/06, Jubin Kuriakose <[EMAIL PROTECTED]> wrote: I have heard that struts have reached a saturation point and nothing more can be build over it. New frame works like spring would take over struts. How valid are these opinions. Why traffic in opinions? Spend a few minute

Re: has struts reached the saturation

2006-03-12 Thread Frank W. Zammetti
Just the opposite actually. I think if, as Michael says, you browse through the list archives over the last year, you will see that there has been quite a bit of activity building Struts up. I think the thing that makes people think Struts has stagnated is that it moves at a slow pace, slower

Re: has struts reached the saturation

2006-03-12 Thread Ted Husted
On 3/12/06, Jubin Kuriakose <[EMAIL PROTECTED]> wrote: > I have heard that struts have reached a saturation point and nothing more > can be build over it. New frame works like spring would take over struts. > How valid are these opinions. Why traffic in opinions? Spend a few minutes browsing Plane

Re: Catch me up!

2006-03-12 Thread Ted Husted
On 3/12/06, e-denton Java Programmer <[EMAIL PROTECTED]> wrote: > I've been away from my Struts project for a while. I hear there have been > several developments. What's the latest version of Struts I should be using? * http://struts.apache.org/kickstart.html#choice > What about using other pack

Re: has struts reached the saturation

2006-03-12 Thread Michael Jouravlev
On 3/12/06, Jubin Kuriakose <[EMAIL PROTECTED]> wrote: > Hi > I have heard that struts have reached a saturation point and nothing more > can be build over it. New frame works like spring would take over struts. > How valid are these opinions. RTFA, where A stands for archives. --

Catch me up!

2006-03-12 Thread e-denton Java Programmer
Hi, I've been away from my Struts project for a while. I hear there have been several developments. What's the latest version of Struts I should be using? What about using other packages with Struts, like Spring, and I hear there are others. I'd appreciate enough direction to get me restarted o

has struts reached the saturation

2006-03-12 Thread Jubin Kuriakose
Hi I have heard that struts have reached a saturation point and nothing more can be build over it. New frame works like spring would take over struts. How valid are these opinions. sncerely jubs

Re: remove ActionForm from session

2006-03-12 Thread Ed Griebel
If you don't need to access it in your JSP page, you can do 'request.getSession().removeAttribute("myFormBean");' If your JSP needs the form, at the end of the JSP page you can put ''. You will have to include the proper taglib as well, google "c:set" for more information. -ed On 3/11/06, Markus

Re: [shale] LoadBundle basename not set

2006-03-12 Thread Gary VanMatre
>From: Richard Wallace <[EMAIL PROTECTED]> > > Gary VanMatre wrote: > >> From: Richard Wallace > >> > >> I'm trying to update from the 20060130 nightly to the 20060312 nightly > >> and I'm getting an IllegalStateException from th

Re: [shale] LoadBundle basename not set

2006-03-12 Thread Richard Wallace
Gary VanMatre wrote: From: Richard Wallace <[EMAIL PROTECTED]> I'm trying to update from the 20060130 nightly to the 20060312 nightly and I'm getting an IllegalStateException from the LoadBundle component that I wasn't getting before. It looks like the basename attribute

Re: [shale] LoadBundle basename not set

2006-03-12 Thread Gary VanMatre
>From: Richard Wallace <[EMAIL PROTECTED]> > > I'm trying to update from the 20060130 nightly to the 20060312 nightly > and I'm getting an IllegalStateException from the LoadBundle component > that I wasn't getting before. It looks like the basename attribut

[shale] LoadBundle basename not set

2006-03-12 Thread Richard Wallace
I'm trying to update from the 20060130 nightly to the 20060312 nightly and I'm getting an IllegalStateException from the LoadBundle component that I wasn't getting before. It looks like the basename attribute isn't being set for some reason, and I'm a bit lost as to

Re: Pass acute characters by URL

2006-03-12 Thread P Y
#C3B3 is an utf-8 encoding. A quick workaround could be to use entities ó For more in depth details (iso-l1/utf-8), check this thread : http://www.theserverside.com/discussions/thread.tss?thread_id=28944 On 3/12/06, Yariel Ramos Moreno <[EMAIL PROTECTED]> wrote: > Hello: > > How can I pass acute