Re: how to use controllerclasses with tiles?

2004-07-15 Thread Mark Mandel
Fahd, I've successfully implemented heaps of controller classes, but I'm having trouble visualising what you have done. Any chance of a code example? Mark On Fri, 16 Jul 2004 10:35:13 +0500, Fahd Ahmed <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to use a controllerClass with Tiles. I am m

how to use controllerclasses with tiles?

2004-07-15 Thread Fahd Ahmed
Hi, I am trying to use a controllerClass with Tiles. I am mentioning the controllerClass in one of my definition tags. The controller does nothing but put a varible in ComponentContext. On the JSP I just use the importAttribute tag to get that value. But when i access the page, I keep on getting t

regular expression

2004-07-15 Thread subramaniam . o
Hi, I want to validate an attribute, the rule is that the input should not start with 'Test', how to write the regular expression for this validation. Please help me guys. Thanks and regards Subramaniam Olaganthan Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.t

Re: About datasource

2004-07-15 Thread Koon Yue Lam
Thanks so much !! u really helps and quick response !! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: About datasource

2004-07-15 Thread Craig McClanahan
Koon Yue Lam wrote: Hi ! I have successfully use struts to connect MySql but I wonder do I using the database connection pool, or just a new connection for each request?? All I did is very simple stuffs and I follow strict to the database How-To section of struts doc. How can I know I am actually u

About datasource

2004-07-15 Thread Koon Yue Lam
Hi ! I have successfully use struts to connect MySql but I wonder do I using the database connection pool, or just a new connection for each request?? All I did is very simple stuffs and I follow strict to the database How-To section of struts doc. How can I know I am actually using a connection po

Re: calling request.getInputStream() within Action

2004-07-15 Thread Craig McClanahan
Robert Shields wrote: Hi Craig, Yes, I thought as much. Do you know if it's possible to exactly recreate the binary HTTP body from parsed parameters, or elsewhere for that matter? The only thing I could think of would be a Filter -- requires Servlet 2.3 or later -- that would be able to scrape

Re: Struts Sample / Best Practices for Database access

2004-07-15 Thread Vic Cekvenich
http://www.reumann.net/do/struts/ibatisLesson1 Richard Reyes wrote: Hi Guys, Newbie question, where can i get struts sample application using database components like DAO, JDO or Hibernate samples. Thanks Richard - To unsubscrib

RE: Missing message for key "welcome.title"

2004-07-15 Thread Venkat Maddipati
Make sure that the properties file (Resource Bundle file) is set properly in the struts configuration file (usually, struts-config.xml) and check that welcome.title property is defined in the resources file. The entry for the Message Resources looks like the following in the struts config file:

Missing message for key "welcome.title"

2004-07-15 Thread Krishna Garimella
Hi, I have downloaded jakarta-struts-1.1 and installed it as per the installation instructions. When I try to run the tutorial I get the following message Missing message for key "welcome.title". I did search the archives and tried all the fixes available for this problem, but nothing works.

Text search not available for this list

2004-07-15 Thread Eliot Stock
When I try to search the archives for this list at: http://mail-archives.apache.org/eyebrowse/[EMAIL PROTECTED] I intermittently get this message: Text search not available for this list which must be a bad error message, because I'm sure I've searched it before. Also, it looks like the mailin

RE: webapp deployment

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Phyl [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 3:04 PM > To: Struts Users Mailing List > Subject: Re: webapp deployment > > > > Hi, > > I tried adding a context parameter to web.xml: > > testparam > hello > > >

Re: webapp deployment

2004-07-15 Thread Phyl
Hi, I tried adding a context parameter to web.xml: testparam hello and access it in a jsp: <% out.print(getServletContext().getInitParameter("testparam")); %> The result of this print was a "null" value, but str

RE: calling request.getInputStream() within Action

2004-07-15 Thread Robert Shields
Hi Craig, Yes, I thought as much. Do you know if it's possible to exactly recreate the binary HTTP body from parsed parameters, or elsewhere for that matter? I'm writing a web proxy using HttpClient - currently I've only tested a urlencoded form, which works fine with the following code. I wo

Re:

2004-07-15 Thread Andrew Close
All right, i'm a real idiot. it was a javascript issue. after i check to make sure the dropdown value wasn't -1, i set it to -1 and then submit the form. must've been one of those hasty cut & paste mistakes... everythings fine. nothing to see here. move along... On Thu, 15 Jul 2004 16:06:21 -

Re: html:image question

2004-07-15 Thread Michael McGrady
At 11:53 AM 7/15/2004, you wrote: It make little sense to do it the Husted way and have multiple image bean buttons to represent which html:image was selected. IMHO, that approach is too much like hard coding. I for one cannot imagine why you would want a button value to be dynamic other than to

Re: html:image question

2004-07-15 Thread Michael McGrady
At 02:26 PM 7/15/2004, you wrote:

Re: html:image question

2004-07-15 Thread Michael McGrady
At 11:53 AM 7/15/2004, you wrote: How can I pass parameters in a http://wiki.apache.org/struts/StrutsCatalogMultipleImageButtonsWithNoJavaScript If you do the coding on this one time, you merely have to add a new button when you want one in command class ButtonOperation. After a while, you wi

Re:

2004-07-15 Thread Andrew Close
Blah! it works fine with a submit button. :) i guess i'll have to find another way to make the onchange work... On Thu, 15 Jul 2004 15:49:05 -0500, Andrew Close <[EMAIL PROTECTED]> wrote: > ahh. yeah, i added just plain didn't work. i'll see if i can get rid of the javascript and just > submit

Re:

2004-07-15 Thread Andrew Close
ahh. yeah, i added just plain wrote: > > > > > > -Original Message- > > From: Andrew Close [mailto:[EMAIL PROTECTED] > > Sent: Thursday, July 15, 2004 1:40 PM > > To: Struts Users Mailing List > > Subject: Re: > > > > > > -- Jim wrote: > > > I don't think there is a better way, I'm j

RE:

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Andrew Close [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 1:40 PM > To: Struts Users Mailing List > Subject: Re: > > > -- Jim wrote: > > I don't think there is a better way, I'm just suggesting > maybe hardcoding those to drop downs for testin

Re:

2004-07-15 Thread Andrew Close
-- Jim wrote: > I don't think there is a better way, I'm just suggesting maybe hardcoding those to > drop downs for testing purposes, and eliminate the JS. You're JSP looks right, and > I'm assuming that your form bean has the return values as arrays if their > multi-select, or single strings a

RE:

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Andrew Close [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 1:08 PM > To: Struts Users Mailing List > Subject: Re: > > > On Thu, 15 Jul 2004 12:10:49 -0700, Jim Barrows > <[EMAIL PROTECTED]> wrote: > > > Just to make sure I understand what's ha

Re: How to use roles with Struts

2004-07-15 Thread Hubert Rabago
Ron, You can associate roles with each action mapping so that only users with certain roles can access that action. Hubert --- ron1 <[EMAIL PROTECTED]> wrote: > Thanx Jim :-) > Am I wrong on that one canonly configure web.xml roles on a servlet > base? which will mean, I set roles for a serv

Re:

2004-07-15 Thread Andrew Close
On Thu, 15 Jul 2004 12:10:49 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote: > Just to make sure I understand what's happening. > You display a page, user selects from first list, the page submits, the action does > it's thing, and populates the second list, then the user selects from that lis

RE: Configuring plug-ins using

2004-07-15 Thread Geeta Ramani
> -Original Message- > From: Jim Barrows [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 3:35 PM > To: Struts Users Mailing List > Subject: RE: Configuring plug-ins using struts-config.xml) > > > > > > P.S> I can see now why writing to the list before googling is > > so tempti

RE: Configuring plug-ins using

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Geeta Ramani [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 12:21 PM > To: Struts Users Mailing List > Subject: RE: Configuring plug-ins using struts-config.xml) > > > Jim: > > Yes that worked. I actually read ".. which will > all have been cal

RE:

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Andrew Close [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 12:30 PM > To: Struts Users Mailing List > Subject: Re: > > > the weird thing is that i just added a textfield to the form and my > form/action picks that up. so what do you have to do

RE: Configuring plug-ins using

2004-07-15 Thread Geeta Ramani
Jim: Yes that worked. I actually read ".. which will all have been called before the init() method is invoked." as "which will have to be called before the init() method is invoked." and got stumped.. Thank you so much! Geeta P.S> I can see now why writing to the list before googling is so t

Re:

2004-07-15 Thread Andrew Close
the weird thing is that i just added a textfield to the form and my form/action picks that up. so what do you have to do to get read by a form? andy On Thu, 15 Jul 2004 13:56:48 -0500, Andrew Close <[EMAIL PROTECTED]> wrote: > sl_getGroups is being called. i printed out alerts when i was writ

RE: How to use roles with Struts

2004-07-15 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of ron1 > Sent: Thursday, July 15, 2004 12:08 PM > To: [EMAIL PROTECTED] > Subject: Re: How to use roles with Struts > > > Thanx Jim :-) > Am I wrong on that one canonly configure web.xml roles on a servlet > base? whi

RE: Configuring plug-ins using

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Geeta Ramani [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 12:01 PM > To: Struts Users Mailing List (E-mail) > Subject: Configuring plug-ins using struts-config.xml) > > > Hi all: > > I have a question regarding the use of plug-ins. According t

Re: How to use roles with Struts

2004-07-15 Thread ron1
Thanx Jim :-) Am I wrong on that one canonly configure web.xml roles on a servlet base? which will mean, I set roles for a servlet mapping? so all my struts actions will map to the same Permission... Or did I miss something in the web.xml? Cheers, Ron Jim Barrows wrote: -Original Message-

Configuring plug-ins using

2004-07-15 Thread Geeta Ramani
Hi all: I have a question regarding the use of plug-ins. According to the docs, "For PlugIns that require configuration themselves, the nested element is available." My question is simply this: how do I retrieve the value that I set in a set-property tag? I am sure this is dead simple to most

RE:

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Andrew Close [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 11:57 AM > To: Struts Users Mailing List > Subject: Re: > > > sl_getGroups is being called. i printed out alerts when i was writing > it. and i have Sys.outs in the action. besides, m

Re: Re: The absolute uri: http://struts.apache.org/tags-html cannot be resolved

2004-07-15 Thread Eliot Stock
That's it - it works. Thanks very much. So the docs at http://struts.apache.org/userGuide/configuration.html#dd_config_taglib are wrong, or at least very misleading, because they use struts.apache.org. They do say to use the uris above, but everyone is going to do what I did and just cut and paste

RE: How to use roles with Struts

2004-07-15 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of ron1 > Sent: Thursday, July 15, 2004 11:51 AM > To: [EMAIL PROTECTED] > Subject: How to use roles with Struts > > > Hi all :-) > I am wondering how some of the experienced users use roles > with struts. > I saw there

Re:

2004-07-15 Thread Andrew Close
sl_getGroups is being called. i printed out alerts when i was writing it. and i have Sys.outs in the action. besides, my JSP wouldn't show up if it wasn't :) the javascript is fairly simple: (i know there is a more Strutsy way to do this, i'm getting there...) function sl_getGroups(frm) { if

How to use roles with Struts

2004-07-15 Thread ron1
Hi all :-) I am wondering how some of the experienced users use roles with struts. I saw there is a query for roles in the API (getRoles()), but could not figure out how to configure ACLs with struts, or more specific: where to define which action is allowed for which role, and, and I guess that

html:image question

2004-07-15 Thread Jeff Stewart
How can I pass parameters in a I have four of these that will basically do the same thing, issue a query. But, the query is parameterized. It make little sense to do it the Husted way and have multiple image bean buttons to represent which html:image was selected. IMHO, that approach is too muc

Re:

2004-07-15 Thread Bill Siggelkow
Hmmm ... looks pretty darn hairy. You didn't show the JavaScript thats called by the onchange -- I would verify first that "getGroups" is being called. Andrew Close wrote: alrighty, i've got this half figured out. i can populate my dropdowns, but my form doesn't seem to be scrapping the value

Re: Parameterizing form JSPs with tags

2004-07-15 Thread Erik Weber
Rick Reumann wrote: On Mon, 12 Jul 2004 10:31:29 -0400, Erik Weber <[EMAIL PROTECTED]> wrote: (speaking of "add" form versus "update" form that are similar but not exactly the same . . ) I'd reuse the same form, even if it means some JSTL I need a little help understanding how to do this.

user@struts.apache.org

2004-07-15 Thread Andrew Close
alrighty, i've got this half figured out. i can populate my dropdowns, but my form doesn't seem to be scrapping the values back off the page. i have an action that gets a collection of beans and puts them in session for the JSP to use. the JSP renders and displays those objects correctly in the

[OT] browser properties

2004-07-15 Thread Sergey Livanov
How can I switch usual buttons, address line and references off? regards, Sergey mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

RE: Tiles, Validation and reuse of HTML Form

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Josh Holtzman [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 10:30 AM > To: 'Struts Users Mailing List' > Subject: RE: Tiles, Validation and reuse of HTML Form > > > Brian, > > I agree. > > In our case, the site is actually designed in that ther

Re: More fun with forms...

2004-07-15 Thread Andrew Close
ron1, Jim thank you for your help. i think part of my problem was that i was trying to use a DynaActionForm instead of just creating and using my own ActionForm. now it appears to be working... for the most part. :) andy On Wed, 14 Jul 2004 12:02:27 -0700, Jim Barrows <[EMAIL PROTECTED]> wrot

RE: Tiles, Validation and reuse of HTML Form

2004-07-15 Thread Josh Holtzman
Brian, I agree. In our case, the site is actually designed in that there is one page that functions as both the catalog and item page. Don't ask... But yes, /showItem.do?item=1 is a better approach in my opinion than 6 action mappings. I think we have resolved our issue, simply by taking a bet

Re: The absolute uri: http://struts.apache.org/tags-html cannot be resolved

2004-07-15 Thread Paul Spencer
Eric, I am using Struts 1.1 and use the following: <%@ taglib uri="http://jakarta.apache.org/struts/tags-html"; prefix="html" %> Notice the host is jakarta.apache.org not struts.apache.org. Paul Spencer Eliot Stock wrote: Hello. I'm trying to do what the Struts docs mention here (scroll down to sec

RE: Tiles, Validation and reuse of HTML Form

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Bryan Hunt [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 10:03 AM > To: Struts Users Mailing List > Subject: Re: Tiles, Validation and reuse of HTML Form > > > I do it with a separate action for each use case. I find it > tedious but > have not

Re: Tiles, Validation and reuse of HTML Form

2004-07-15 Thread Bryan Hunt
I do it with a seperate action for each use case. I find it tedious but have not found a better way. --b Josh Holtzman wrote: Hello All, I've tried to search the list archives for previous threads on this topic, but it appears the search feature is not working. We are building a simple website

Re: [faked-from] RE: [OT] Editor for Struts/J2ee apps

2004-07-15 Thread Craig McClanahan
B.S.Narayana wrote: tell me the url for JDeveloper. http://www.google.com/search?q=jdeveloper :-) JDeveloper is an Oracle product (http://www.oracle.com). Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: calling request.getInputStream() within Action

2004-07-15 Thread Craig McClanahan
Robert Shields wrote: Hi Bill Thanks for your response. I've tried with a servlet too, but even without calling request.getParameter the stream is still empty: One way to paint yourself into this particular corner is if you're trying this on a POST request. As soon as you call a method like r

RE: Tiles, Validation and reuse of HTML Form

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Josh Holtzman [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 9:43 AM > To: 'Struts Users Mailing List' > Subject: Tiles, Validation and reuse of HTML Form > > > > In the struts config file we created an Action element for > each of the 6 > pro

Tiles, Validation and reuse of HTML Form

2004-07-15 Thread Josh Holtzman
Hello All, I've tried to search the list archives for previous threads on this topic, but it appears the search feature is not working. We are building a simple website that offers about a half dozen products for sale. We have one dedicated page layout (the product page) that contains

Re: Re: The absolute uri: http://struts.apache.org/tags-html cannot be resolved

2004-07-15 Thread Eliot Stock
I did actually have them lying around there, but with them there or not, it still fails. I'm using struts 1.1 On Thu, 15 Jul 2004 12:09:30 -0400, Bill Siggelkow <[EMAIL PROTECTED]> wrote: > Well, I have the TLDs in my WEB-INF/lib -- I haven't tried removing them > to see what happens ... > > >

RE: calling request.getInputStream() within Action

2004-07-15 Thread Robert Shields
Hi Paul I'm trying to pass it to HttpClient - I'm writing a screen scraper (proxy). At the moment I have to enumerate the request parameters and pass them one by one to HttpClient - I have a feeling this won't work when I test it with a multipart encoded form (although I may be able to make use of

Re: The absolute uri: http://struts.apache.org/tags-html cannot be resolved

2004-07-15 Thread Bill Siggelkow
Well, I have the TLDs in my WEB-INF/lib -- I haven't tried removing them to see what happens ... Eliot Stock wrote: Hello. I'm trying to do what the Struts docs mention here (scroll down to section 5.4.3.1): http://struts.apache.org/userGuide/configuration.html#dd_config_taglib which is, do away

Re: The absolute uri: http://struts.apache.org/tags-html cannot be resolved

2004-07-15 Thread Bill Siggelkow
Are you using the nightly build (or 1.2.1?) The taglib directive <%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html" %> works fine for me. Maybe you have an old jar or TLD lying around in your classpath or WEB-INF? Eliot Stock wrote: Hello. I'm trying to do what the Struts docs men

RE: calling request.getInputStream() within Action

2004-07-15 Thread Paul McCulloch
Can I ask why you are after the binary content of the request? Paul > -Original Message- > From: Robert Shields [mailto:[EMAIL PROTECTED] > Sent: 15 July 2004 16:02 > To: Struts Users Mailing List > Subject: RE: calling request.getInputStream() within Action > > > Hi Bill > > Thanks fo

The absolute uri: http://struts.apache.org/tags-html cannot be resolved

2004-07-15 Thread Eliot Stock
Hello. I'm trying to do what the Struts docs mention here (scroll down to section 5.4.3.1): http://struts.apache.org/userGuide/configuration.html#dd_config_taglib which is, do away with declaring the struts taglibs in my web.xml altogether and just use an absolute URI for the taglib declaration

RE: [OT] Best practice for background service

2004-07-15 Thread Daniel Perry
Nope, you dont need to start another process - i use a struts plugin to load and initialise Quartz. It will run in other threads, but this will all be done for you behind the scenes. The code for my struts plugin is below (if it's of any help). Add the following entry to the struts-config-defaul

RE: calling request.getInputStream() within Action

2004-07-15 Thread Robert Shields
Hi Bill Thanks for your response. I've tried with a servlet too, but even without calling request.getParameter the stream is still empty: public class TestServlet extends HttpServlet { ResourceBundle rb = ResourceBundle.getBundle("LocalStrings"); public void doGet(HttpServletRequest re

Re: validation wierdness possibly related to multiple struts config files

2004-07-15 Thread Niall Pemberton
Its in the commons-validator.jar that I downloaded with Struts 1.2.1 Fair enough if it works - still the wrong one though. Niall - Original Message - From: "Bryan Hunt" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, July 15, 2004 3:14 PM Subject:

Re: validation wierdness possibly related to multiple struts config files

2004-07-15 Thread Bryan Hunt
h ... if i put that in mine I get a file not found exception the commons-validator jar doesn't include that one. with this definition it seems to be working ok for the time being http://jakarta.apache.org/commons/dtds/validator_1_2_0.dtd";> curse these dtd's :-) --b Niall Pemberton wr

Re: [OT] Editor for Struts/J2ee apps

2004-07-15 Thread Bryan Hunt
I dunno, it's a good product and I really like it but I've never seen any awareness of jsp editing. I've been using it for a while now as well. And cause it hasn't ever indicated that it understands scriptlets I've never used it for debugging. Then again, I'm aiming for zero java code in my jsp

Struts Validator & Date Patterns

2004-07-15 Thread Enrique Medina
Hi, I would like to know if it's possible to indicate a validation of type "date" indicating as a dattePatern/datePatternStrict a key from an application resource message file. I mean, instead of: datePatternStrictMMdd to be able to indicate the "MMdd" dynamically (to be found through a

Re: [OT] Editor for Struts/J2ee apps

2004-07-15 Thread DGraham
NitroX DOES support code completion: http://www.m7.com/appxray.jsp If you get a moment, you should view the video of the demo.  However, I've heard that the new offering from Sun is good as well: http://www.demosondemand.com/clients/m7/001/page/demo.asp To be fair, I'm _still_ using Idea (and _s

RE: [OT] Best practice for background service

2004-07-15 Thread Marco Mistroni
Hello, Sorry for 'OT' for asking questions about Quartz.. Is it so that I have to start a separate 'process' for Quartz to run? So, at the end I will have my application server running as well as a Quartz process running 'outside' the application server? Regards marco -Origin

Re: Struts Sample / Best Practices for Database access

2004-07-15 Thread Hubert Rabago
The mailreader app is included with the 1.2.1 distribution. http://cvs.apache.org/dist/struts/v1.2.1/ --- Richard Reyes <[EMAIL PROTECTED]> wrote: > Thanks Ted. Where can i get the mailreader webapp again? > > Ted Husted wrote: > > >This is kind of a trick question, or at least a trick subject.

RE: [OT] Best practice for background service

2004-07-15 Thread Daniel Perry
Quartz is very easy to use. No need for thread programming. But "Job" classes are created as and when they are needed (so no initialisation and shared object). Create a struts plug-in which initialises quartz, and sets up the jobs (very little code needed). Daniel. > -Original Message-

RE: [OT] Best practice for background service

2004-07-15 Thread Marco Mistroni
Hello, If u r familiar with JMX, there is a Timer service That does exactly what you want (emit notifications at certain Interval) Regards marco -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Siggelkow Sent: 15 July 2004 14:29 To: [EMAIL PROT

Re: validation wierdness possibly related to multiple struts config files

2004-07-15 Thread Niall Pemberton
I got confused recently about validator versions - validator 1.1.3 has just been released and thats what Struts 1.2.1 uses - validator 1.2 is still in development so you need to be using http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd";> Niall - Original Message - From: "B

Re: validation wierdness possibly related to multiple struts config files

2004-07-15 Thread Bill Siggelkow
I am using this DTD declaration in my validation.xml and validator-rules.xml files: "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN" "http://jakarta.apache.org/commons/dtds/validator_1_1.dtd";> It lets me access the new element. Bill Bryan

Re: [OT] Best practice for background service

2004-07-15 Thread Bill Siggelkow
Jan, Bryan's recommendation of Spring and Quartz sounds good though I have not had a chance to work with these yet. If you want to "roll your own" I suggest you look at the java.util.Timer and java.util.TimerTask objects -- they work well for these type of services. See http://java.sun.com/j2se

Re: validation wierdness possibly related to multiple struts config files

2004-07-15 Thread Bryan Hunt
finally solved it. When you have the following DTD definition in your validation.xml file snip= http://jakarta.apache.org/commons/dtds/validator_1_2_0.dtd";> =snip It breaks. When you have the following DTD definition in your validation.xml file * *snip= http://jakarta.apache.org/commons/dtds/valid

RE: [faked-from] RE: [OT] Editor for Struts/J2ee apps

2004-07-15 Thread B.S.Narayana
tell me the url for JDeveloper. -Original Message- From: Amjad Shahrour [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 1:14 PM To: 'Struts Users Mailing List' Subject: [faked-from] RE: [OT] Editor for Struts/J2ee apps I agree JDeveloper 10g is GREAT. Amjad -Original Mess

Re: calling request.getInputStream() within Action

2004-07-15 Thread Bill Siggelkow
Robert, I found the following link that discusses this: http://archives.java.sun.com/cgi-bin/wa?A2=ind0106&L=jsp-interest&F=&S=&P=49196 It sounds like you are correct -- if request.getParameter() has been called you cannot get the input stream -- have you considered using a Servlet instead? Robe

Re: final getter/setter methods in actionform and valueobject classes

2004-07-15 Thread Bill Siggelkow
See section of 8.4.3.3 of the Java Language Specification at http://java.sun.com/docs/books/jls/second_edition/html/classes.doc.html. There is nothing wrong with declaring them as final; it means that the methods cannot be overriden by subclasses. Viral_Thakkar wrote: Hi All, I was wondering if

Best Free Plugins for Eclipse with Struts

2004-07-15 Thread Henrique VIECILI
Hi all Eclipse and Struts fans, What free plugins for eclipse 3 do you recommend to build a complete enviroment to develop J2EE applications using Struts? A complete enviroment includes: UML modeling DataBase connection J2EE development Struts framework Thanks, Henrique Viecili

Re: LabelValueBean and BeanMap with and for indexed properties

2004-07-15 Thread Niall Pemberton
No I see no difficulty in relying on it. I was just saying the same as Joe had already said but I just thought it would give you more comfort to know the principle that the beanutils committers are working on. Just for information, the inconsistency issue currently in beanutils is where you have a

Re: [OT] Best practice for background service

2004-07-15 Thread Bryan Hunt
better idea , integrate the spring framwork and use the built in support for quartz scheduling. http://www.springframework.org/docs/reference/index.html http://www.springframework.org/docs/reference/scheduling.html --b * * Jan Behrens wrote: Hi list, I am coding an app where I rely on a backgroun

[OT] Best practice for background service

2004-07-15 Thread Jan Behrens
Hi list, I am coding an app where I rely on a background service to check regularly for new mail. I want to instantiate my service component (the one checking for mail) when the context is loaded and have it running in a background thread. I have done only very limited coding with threads so far :

Re: LabelValueBean and BeanMap with and for indexed properties

2004-07-15 Thread Michael McGrady
At 03:52 AM 7/15/2004, you wrote: There are currently some discrepencies in beanutils where the above statement isn't followed - but, from the discussion over on commons, its likely that in a future version of beanutils it will be changed so that it is always consistent with the above statement. N

Re: validation wierdness possibly related to multiple struts config files

2004-07-15 Thread Bryan Hunt
Ok , dunno who to report this to but this validator stuff needs to be looked at before this is released to the public cause it's a bit of a mess. Just noticed that the version of validator-rules that is distributed is for the validator_1_1.dtd version. I think somebody needs to take a little lo

Re: [OT] Editor for Struts/J2ee apps

2004-07-15 Thread Bryan Hunt
sorry should have said M7 --b Bryan Hunt wrote: Nitrox from M4 ... best that I've seen (for struts) . Better than MyEclipse but does not support code completion within JSP's or debugging ( from what I can see ) . --b Navjot Singh wrote: hi, I am starting a j2ee app(servlets,jsp.taglibs,ejb,jms,ja

Re: validation wierdness possibly related to multiple struts config files

2004-07-15 Thread Bryan Hunt
Thank you Bill, your answer was correct. I've found that commons-validator as distibuted with the latest 1.2.1 version of struts doesn't include the http://jakarta.apache.org/commons/dtds/validator_1_2_0.dtd file. So despite my specifying the DTD like so snip= "-//Apache Software Found

RE: Easy Struts Eclipse V3

2004-07-15 Thread James Holmes
Struts Console is very similar to Easy Struts and works in ALL versions of Eclipse (but best in 3.0). In fact, Easy Struts is based on Struts Console, so they are very similar. http://www.jamesholmes.com/struts/ -James -Original Message- From: Denis Peyrusaubes [mailto:[EMAIL PROTECTE

Re: examples of struts??

2004-07-15 Thread Bryan Hunt
http://aerlingus.com The finest of Irish airlines, to be sure , to be sure ! --b Lykins Don H Contr AFSAC/ITS wrote: What real-world web sites are using struts? Can someone point me to some sites and do you know which packages/classes are used? also, which is the most popular

Re: [OT] Editor for Struts/J2ee apps

2004-07-15 Thread Bryan Hunt
Nitrox from M4 ... best that I've seen (for struts) . Better than MyEclipse but does not support code completion within JSP's or debugging ( from what I can see ) . --b Navjot Singh wrote: hi, I am starting a j2ee app(servlets,jsp.taglibs,ejb,jms,jaxp) with struts as web framework and i need to

Re: LabelValueBean and BeanMap with and for indexed properties

2004-07-15 Thread Niall Pemberton
I've been doing a bit of work on PropertyUtils bugs recently and discussing some discrepencies with how simple/mapped properties are handled between the different methods with a couple of the other beanutils committers. Quoting from Craig McClanahan "The standard implementations of expression

Re: Struts Sample / Best Practices for Database access

2004-07-15 Thread Richard Reyes
Thanks Ted. Where can i get the mailreader webapp again? Ted Husted wrote: This is kind of a trick question, or at least a trick subject. In a Struts application, the best practice for database access is for Struts to be unaware that there is even such a thing as a database. If you are using the

Re: Struts Sample / Best Practices for Database access

2004-07-15 Thread Ted Husted
This is kind of a trick question, or at least a trick subject. In a Struts application, the best practice for database access is for Struts to be unaware that there is even such a thing as a database. If you are using the Struts best practice, then it shouldn't matter whether the database exampl

Re: Struts Example for standards

2004-07-15 Thread Ted Husted
http://struts.apache.org/learning.html#Examples But, it's not required. This check was made in earlier versions of the Struts Mailreader and justified as "defensive programming". If the ActionForm was missing, the Action created one. Later, the check was removed, since the Action should not be

Easy Struts Eclipse V3

2004-07-15 Thread Denis Peyrusaubes
Hi, I am wondering if somebody tries the easystruts plugin for eclipse V3. http://easystruts.sourceforge.net only talk about eclipse V2 Do u know other plugin for developing struts based application using Eclipse V3 Thank u Denis -Message d'origine- De : Robert Shields [mailto

calling request.getInputStream() within Action

2004-07-15 Thread Robert Shields
Hi Struts Users I'm trying to get the InputStream to read the binary contents of the request within an Action's execute method. E.g. public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request,

RE: [OT] Editor for Struts/J2ee apps

2004-07-15 Thread Amjad Shahrour
FYI, NO JDeveloper10g Does NOT require oracle 10 database. Actually it can work with all JDBC compliant databases (including MS Access). Even more, it doesnât require oracle application server , so you can use with tomcat, weblogic, Jboss.. and others. I suggest before you make the decision to d

RE: [OT] Editor for Struts/J2ee apps

2004-07-15 Thread Oswald Campesato
What the heck, I'll add a few comments as well: 1) Oracle's JDeveloper10G (AFAIK it requires a 10G database) has support for Struts as well as JSF. Since the latter is kinda-sorta the recommended future direction by Craig McLanahan, JDeveloper is probably a very good choice 2) Eclipse supports S

RE: Access to message properties from within application

2004-07-15 Thread Jan Behrens
-Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 6:46 PM To: Struts Users Mailing List Subject: RE: Access to message properties from within application > -Original Message- > From: Jan Behrens [mailto:[EMAIL PROTECTED] > Sent: Wed

RE: [OT] Editor for Struts/J2ee apps

2004-07-15 Thread Erez Efrati
I was using JBuilder, paid too much money and moved to MyEclipse (based on Eclipse) for 30$/year. It's working good, does the job and extremely light on the pocket. Erez -Original Message- From: Amjad Shahrour [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 9:44 AM To: 'Struts Us

RE: [OT] Editor for Struts/J2ee apps

2004-07-15 Thread Amjad Shahrour
I agree JDeveloper 10g is GREAT. Amjad -Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: 28 جمادى الاولى, 1425 10:38 ص To: Struts Users Mailing List Subject: Re: [OT] Editor for Struts/J2ee apps Try Jdeveloper. Great support for Struts. sebastian On Thu, 2004-07

  1   2   >