Re: [Taglib] Testing for null value using

2002-08-30 Thread Eddie Bush
I believe (and could conceivably be wrong) that, if you don't specify a scope, the tags (all of them that deal with scoped variables) will search all scopes for the variable in question. You can override this behavior by specifying a scope in which you expect to find it. Sri Sankaran wrote:

RE: [VOTE] Should this list discontinue it's long, treasured heri tage of "relaxed fridays"?

2002-08-30 Thread Susmita Pati
Do you feel this list should discontinue it's long heritage of "relaxed fridays"? ( ) Yes ( X ) NO --- -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail:

[struts-example.war] Cannot find message resources under keyorg.apache.struts.action.MESSAGE

2002-08-30 Thread Brian Holzer
** High Priority ** Hi all, I tried to find the fix for this in the mail archive but was unsuccessful. I downloaded the nightly build from 20020829 and deployed the struts-example.war successfully. However when I try to access the app I am getting the following exception. javax.servlet.S

Re: [VOTE] Should this list discontinue it's long, treasured heritage of "relaxed fridays"?

2002-08-30 Thread John Averty
A little bit of relaxation in an environment of problems and problem-solving can't hurt... ;-) > > Do you feel this list should discontinue it's long heritage of > > "relaxed fridays"? > > > > ( ) Yes > > ( X ) No > > N. > > --- > > > > Rather than being a jerk, as some

RE: [Taglib] Testing for null value using

2002-08-30 Thread Galbreath, Mark
You don't specify a value with , you specify a property. If it is anything except null (or empty string), it returns true. -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 11:25 AM To: Struts Users Mailing List Subject: RE: [Taglib] Testing f

Re: [Taglib] Testing for null value using

2002-08-30 Thread Eddie Bush
Yep - that would be more along the lines of To be honest, the "best solution" for things of this nature (since we do have the JSTL now) would be to use the JSTL (Java Standard Tag Library - fetch it from the taglibs project). My understanding is the Struts will eventually migrate toward usin

Re: Struts and Many Buttons on Single page

2002-08-30 Thread JEWeaver
Here 'tis. The generic routing action code (edited imports and a few other things for terseness): public class RouteAction extends Action { private static final String submitButtonPrefix = "SubmitButton_"; public ActionForward perform() { String buttonPrefix = getB

RE: [VOTE] Should this list discontinue it's long, treasured heritage of "relaxed fridays"?

2002-08-30 Thread Hemanth Setty
Do you feel this list should discontinue it's long heritage of "relaxed fridays"? ( ) Yes (X ) No Long Live the BEER!!:) -h -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: action mapping question

2002-08-30 Thread Trieu, Danny
1) why would you need a logoff form? 2) what version of struts are you using? You don't have to have a form bean declare for an action mapping. The reason it throw the exception Because you have the input attribute setting. With this setting the controller makes assumsion that your mapping has

[RE] [RE] [FRIDAY] Official DTD Special Offer

2002-08-30 Thread James Mitchell
Who keeps adding those DA#N "RE:" to the subject? ;) Hey, I setup a new filter for the friday topics. #1. If subject contains [BEER] or [Friday] (case insensitive): a.. change to BOLD RED FONT b.. forward to every other address I have (including my phone). c.. mark as High Importance!!!

RE: [VOTE] Should this list discontinue it's long, treasured heri tage of "relaxed fridays"?

2002-08-30 Thread Tiago Nodari
Do you feel this list should discontinue it's long heritage of "relaxed fridays"? ( ) Yes ( x ) No do we still need to keep up the voting or has the point that ppl like Relaxed Friday has been proven?? Did anyone take the time to create filters for the tag in eudora? -- To unsubscribe, e-m

Re: action mapping question

2002-08-30 Thread Darren McGuinness
1) I dont need a logoff form, but if i dont have one then i get errors of type: form bean null. 2) 1.0 "Trieu, Danny" wrote: > 1) why would you need a logoff form? > 2) what version of struts are you using? > > You don't have to have a form bean declare for an action mapping. The > reason i

Re: action mapping question

2002-08-30 Thread Darren McGuinness
this error to be exact javax.servlet.ServletException: Cannot retrieve definition for form bean null "Trieu, Danny" wrote: > 1) why would you need a logoff form? > 2) what version of struts are you using? > > You don't have to have a form bean declare for an action mapping. The > reason it thr

RE: [RE] [RE] [FRIDAY] Official DTD Special Offer

2002-08-30 Thread Mark Kaye
> -Original Message- > From: James Mitchell [mailto:[EMAIL PROTECTED]] > > AND the body contains whiny complaints That's a damned fine filter! How did you manage it? What email package? :DDD -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: [VOTE] Should this list discontinue it's long,treasured heritage of "relaxed fridays"?

2002-08-30 Thread James Mitchell
> Do you feel this list should discontinue it's long heritage of "relaxed > fridays"? > > ( ) Yes > ( ) No > ( X ) Hell No James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://www.open-tools.org/struts-atlanta > -Origin

[VOTE] Poll closes Saturday, August 31, 2002 at 5:00 p.m. CST

2002-08-30 Thread Eddie Bush
I should have posted that in the original message. Please accept my apology for such short-sightedness. Again, for those of you that (possibly) can't see the full subject because of it's length: Poll closes Saturday, August 31, 2002 at 5:00 p.m. CST I will then go through and tally the resul

is it a bug?

2002-08-30 Thread congzhebin
hello idownload the struts1.1-b2 tonight to explore the new feature of the struts.but when i try to deploy the samples to weblogic6.1sp2,i failed.following is the exception when i deploy the struts-example.war.but i can deploy them to tomcat4.0,i don't know if it is a bug?how can i solve the p

RE: [VOTE] Poll closes Saturday, August 31, 2002 at 5:00 p.m. CST

2002-08-30 Thread Day, Michael-IBM/TT
(X) YES GET RID OF THE BULLSHIT. =) -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 12:28 PM To: Struts Users List Subject: [VOTE] Poll closes Saturday, August 31, 2002 at 5:00 p.m. CST I should have posted that in the original message. Ple

RE: [VOTE] Should this list discontinue it's long,treasured heritage of "relaxed fridays"?

2002-08-30 Thread Brandon Goodin
Do you feel this list should discontinue it's long heritage of "relaxed fridays"? ( ) Yes ( X ) No ( ) Hell No Brandon Goodin Phase Web and Multimedia P(406)862-2245 F(406)862-0354 http://www.phase.ws -- To unsubscribe, e-mail: For additional command

RE: action mapping question

2002-08-30 Thread Trieu, Danny
Hmm This sound like it is the way 1.0 of struts was implemented. I haven't use 1.0 for quite sometime so I don't remember. But, there is something you can do. You can set the attribute validate=false, so that the controller don't have to call the validate method on your from bean. You Don'

Re: [OT ARTICLE] JavaServer Faces on theserverside

2002-08-30 Thread Craig R. McClanahan
On Fri, 30 Aug 2002, Emmanuel Boudrant wrote: > Date: Fri, 30 Aug 2002 10:28:03 +0200 (CEST) > From: Emmanuel Boudrant <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: [OT ARTICLE] JavaServer Faces o

[LISTEN UP] Mailing List Usage

2002-08-30 Thread Craig R. McClanahan
Even though it's Friday, I feel compelled to make a comment about "Friday mail" here. Please listen. As many of you have noted, STRUTS-USER has a slightly different feel than a lot of user-support-type mailing lists -- with a little humor and off topic discussions of interesting related stuff (l

[Newbie] Another silly question

2002-08-30 Thread Mark Kaye
Can I use ActionErrors in my actions? Rather than in my ActionForms? I have tried but it causes an error. I want to be able to do some server side validation beyond what I do in the ActionForm. It would make sense to have this in the action - I think. Or am I wrong? Basically I am authentica

RE: is it a bug?

2002-08-30 Thread Trieu, Danny
I think there is something wrong with Weblogic. I didn't have the problem you described, but my was not able to use the struts1.1b2 on weblogic7.0 at all. It keep complain about the servlet is not executable by the container because of some methods not implemented And it works fine on tomca

RE: [Taglib] Testing for null value using

2002-08-30 Thread Sri Sankaran
I going to have to stick with Struts tags for now. JSTL requires Tomcat 4.0.4 or above and I have to deploy to Tomcat 3.x Sri P.S. I know I am developing on 4.0.2 -- I amn't doing anything new/funky and am testing to make sure it works on the target environment. -Original Message-

RE: [LISTEN UP] Mailing List Usage

2002-08-30 Thread Galbreath, Mark
Aye aye, captain! And if thar be any violations, prepare to be keel-hauled and I'll have yer liver fer me dinner, argh! -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 12:35 PM To: Struts Users Mailing List Subject: [LISTEN UP] Mailin

Re: [OT ARTICLE] JavaServer Faces on theserverside

2002-08-30 Thread Eddie Bush
I'm glad that one was there. It corrected my mental-image of you. It's always nice to have a full mental picture of the people behind things. I wonder why it takes them so long to post the interviews ... Craig R. McClanahan wrote: >On Fri, 30 Aug 2002, Emmanuel Boudrant wrote: > >>Date: Fri,

[ANNOUNCE] Struts Console v2.1.1

2002-08-30 Thread James Holmes
Struts Console version 2.1.1 is now available. http://www.jamesholmes.com/struts/ Download Now: http://www.jamesholmes.com/struts/struts-console-2.1.1.zip -- OR -- http://www.jamesholmes.com/struts/struts-console-2.1.1.tar.gz Struts Console is FREE software. This release is a bug fix release

Re: [LISTEN UP] Mailing List Usage

2002-08-30 Thread Eddie Bush
You lost me, bud :-) LOL I plan to get an accurate snapshot of everyones opinion and immortalize it. It's very important to me that it accurately reflects peoples' opinions, as that gives us a leg to stand on when someone says: "There are hundreds of people that don't like this!" My questi

RE: [Newbie] Another silly question

2002-08-30 Thread Mark Kaye
> -Original Message- > From: Mark Kaye > > Can I use ActionErrors in my actions? Rather than in my > ActionForms? I have tried but it causes an error. Actually, I've just tried again and it's still not working but doesn't now cause an error. Hmm. What's wrong with this code in my Ac

Re: [Newbie] Another silly question

2002-08-30 Thread JEWeaver
Yes, you can create and place errors on the request in actions if you feel appropriate: ActionErrors errors = new ActionErrors(); errors.add(propertyString, new ActionError(propertyFileKeyString)); saveErrors(request, errors); Check the struts javadoc for an explanation of the ActionErrors cla

RE: [Newbie] Another silly question

2002-08-30 Thread Mark Kaye
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > ActionErrors errors = new ActionErrors(); > errors.add(propertyString, new ActionError(propertyFileKeyString)); > saveErrors(request, errors); There yah go! Thanks a million. Cheers, M -- To unsubscribe, e

Re: [Newbie] Another silly question

2002-08-30 Thread Eddie Bush
The action form should only be enforcing semantic constraints: * The data is well-formed * The data is a number/whatever * Is the format of the data congruent with what I expect (ie mm/dd/ for a date, etc) The action should be responsible for actually calling business logic:

RE: [LISTEN UP] Mailing List Usage

2002-08-30 Thread Galbraith, Paul
> My question then is, based off the current results: "Oh? Why didn't > they vote to do away with this behavior then?" Maybe because a lot of people just witnessed several people here come down like a ton of bricks on the last guy who said he didn't like all the off-topic posts. And if you'r

RE: [Newbie] Another silly question

2002-08-30 Thread Mark Kaye
> -Original Message- > From: Eddie Bush [mailto:[EMAIL PROTECTED]] > > The action form should only be enforcing semantic constraints: > * The data is well-formed > * The data is a number/whatever > * Is the format of the data congruent with what I expect (ie > mm/dd/ fo

RE: [Newbie] Another silly question

2002-08-30 Thread JEWeaver
The first parameter of your addErrors method should be either ActionErrors.GLOBAL_ERROR (if the error is not associated with a specific form property) or the name of the form property the error is associated with (say "socialSecurityNumber"). It sounds like the error you are trying to create is

Re: [LISTEN UP] Mailing List Usage

2002-08-30 Thread Eddie Bush
Galbraith, Paul wrote: >>My question then is, based off the current results: "Oh? Why didn't >>they vote to do away with this behavior then?" >> >Maybe because a lot of people just witnessed several people here come down like a ton >of bricks on the last guy who said he didn't like all the of

Re: [VALIDATOR] Bad Error Message when Validating a Range

2002-08-30 Thread Ted Husted
It looks right to me, David (and welcome back, BTW). Maybe we need to add a test case to the validator sample app to be sure everything is still working as advertised. Are you using beta 2 or what? -Ted. David Geary wrote: > Sorry to repost this, but it got buried in a bunch of biere message

RE: [LISTEN UP] Mailing List Usage

2002-08-30 Thread Trieu, Danny
Despite how humorous the [OT] subject are it end up in my trash before I can remember it. I am glad you brough this up, and hopefully it will ends here so I don't don't have to click on the delete button so many time during the day. danny -Original Message- From: Craig R. McClanahan [

Re: [LISTEN UP] Mailing List Usage

2002-08-30 Thread Michael Delamere
I agree entirely! This list is enjoyable because it is quite humerous now and then and we all agree that the Friday off-topics can be quite a laugh! I also agree with Craig though that a healthy balance should be maintained. The last couple of days were quite extreme when it comes to off-topic (

Re: [LISTEN UP] Mailing List Usage

2002-08-30 Thread Brian Hickey
Maybe I should bracket [NTTL] for New To This List. I have no idea of "Subject" protocol and posted a question about multiple data sources earlier. Either I posted something entirely lame or I posted something folks have to think about - alot. If this were an EJB list I would post an in depth que

RE: action mapping question

2002-08-30 Thread Bartley, Chris P
You shouldn't have to have a form bean. Here's the global forward I use for the logout action: Here's my action mapping for my logout action (Struts 1.0.2, with Tiles): The action class is short n' sweet (my abstract ActionSupport class overrides Action

[NEWBIE] STRUTS, TC and JDBC Realm

2002-08-30 Thread Dan Payne
Trying to deploy an application with Struts 1.0.1 with Tomcat 4.0.4 using Tomcat's JDBC realm for user authentication. Trying to avoid an "Invalid direct reference to form login page." Need to make a login page available to the Realm (/users/login/index.jsp) but also want to offer the opportunity

Re: [LISTEN UP] Mailing List Usage

2002-08-30 Thread Eddie Bush
LOL - my problem is stupidity. I didn't notice you were responding to Craig. Galbreath, Mark wrote: >Aye aye, captain! And if thar be any violations, prepare to be keel-hauled >and I'll have yer liver fer me dinner, argh! > -- To unsubscribe, e-mail: For additi

Re: action mapping question

2002-08-30 Thread Ted Husted
The html:form tag expects there to be a ActionForm bean associated with the form. If you are using a button-only form, you still need to provide an ActionForm bean, even if it is an empty implementation. I generally keep one of these in my Struts toolkit to use throughout an application. Or, y

No cache custom tag not working

2002-08-30 Thread Schmidt, Carl
I have created a no cache custom tag to be inserted on various page. Here is the specific doStartTag method: public int doStartTag() { HttpServletResponse response = (HttpServletResponse) pageContext.getResponse(); response.setHeader("Cache-Control", "no-ca

Re: [OT ARTICLE] JavaServer Faces on theserverside

2002-08-30 Thread Craig R. McClanahan
On Fri, 30 Aug 2002, Eddie Bush wrote: > Date: Fri, 30 Aug 2002 11:42:58 -0500 > From: Eddie Bush <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: [OT ARTICLE] JavaServer Faces on theserverside > > I

Re: [NEWBIE] STRUTS, TC and JDBC Realm

2002-08-30 Thread Eddie Bush
This was discussed some time ago. There are a couple of solutions: * There is a security-filter project on sourceforge to address this * You can setup a redirect action that is secure (thus it will invoke the CMA) and have it setup so that your redirect action just redirects to wherev

RE: [VOTE] Should this list discontinue it's long,treasuredheritage of "relaxed fridays"?

2002-08-30 Thread Brian Holzer
Do you feel this list should discontinue it's long heritage of "relaxed fridays"? ( X ) Yes ( ) No Actually Fridays I don't care about but like Craig says the rest of the week should be struts stuff.

RE: Same search results in multiple pages

2002-08-30 Thread Walter Fu
Thanks Joe for the suggestion! What I did was: 1. page1.jsp: 2. searchResultsInc.jsp: link -Original Message- From: Joe Barefoot [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 4:49 PM To: Struts Users Mailing List Subject: RE: Same search results in multiple pages hmmm..

Re: [LISTEN UP] Mailing List Usage

2002-08-30 Thread Craig R. McClanahan
On Fri, 30 Aug 2002, Brian Hickey wrote: > > To wit: "Do/did all versions of Struts support multiple datasources?" > > "If so, why can I not get ActionServlet.addDataSource to do anything > other than overwrite the existing GenericDataSource properties?" > You have to specify the "key"

Re: tag help ASAP

2002-08-30 Thread Tiago Nodari
Look at the example application in the subscription.jsp and in the tour.htm has the explanation on how it works... there is a really simple way of doing it, that is the only way I know how to do it... hope it helps..,.. tiago At 03:28 PM 8/29/2002 -0700,

RE: [Core] Setup globals per new session

2002-08-30 Thread Jason Rosen
I assume you are using Struts (although there is no mention of it in your post). You could subclass the RequestProcessor and have the processPreprocess method check your request and setup the session for you. In Struts 1.1 the RequestProcessor intercepts all requests before they are dished off to

RE: [VOTE] Should this list discontinue it's long,treasured heritage of "relaxed fridays"?

2002-08-30 Thread Greg.Reddin
> Do you feel this list should discontinue it's long heritage > of "relaxed > fridays"? > > ( ) Yes > ( X ) No > ( ) Hell No > I almost voted for Pat Buchannon because of the "dis" in front of "continue" :-) -- To unsubscribe, e-mail: For additional

RE: Java Server Faces and Developer Life Comments

2002-08-30 Thread Dan Cancro
I agree. I'm really glad someone finally brought this up. Microsoft products make development a lot easier. All religious bias aside, I think most opensource advocates are pragmatically banking on opensource eventually becoming as easy to use as Microsoft stuff, but without the downsides of Mic

Re: Dynamic name to the text fields

2002-08-30 Thread Ted Husted
Don, Don't hestitate to submit this through Bugzilla when you are ready. -Ted. Donald Ball wrote: >On 8/30/2002 at 7:28 PM Anoop wrote: > >>Hi All, >> >> I am a newbie to struts and taglibs, was trying to display text fields >>dynamically using "html:iterator". Below is the scenario I was

Re: [LISTEN UP] Mailing List Usage

2002-08-30 Thread Brian Hickey
Craig, Thank heaven there are humans out there :o) I do what you describe - here is the snippet: Then, in the Application class I call: public void initDatabase() { // try to get a db handle DataSou

Re: [OT ARTICLE] JavaServer Faces on theserverside

2002-08-30 Thread Eddie Bush
Craig R. McClanahan wrote: >On Fri, 30 Aug 2002, Eddie Bush wrote: > >>Date: Fri, 30 Aug 2002 11:42:58 -0500 >>From: Eddie Bush <[EMAIL PROTECTED]> >>Subject: Re: [OT ARTICLE] JavaServer Faces on theserverside >> >>I'm glad that one was there. It corrected my mental-image of you. It's >>always

RE: [NEWBIE] STRUTS, TC and JDBC Realm

2002-08-30 Thread Dan Payne
Do you know which project it is on sourceforge? Sounds like a good solution. Thanks Eddie. -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 12:25 PM To: Struts Users Mailing List Subject: Re: [NEWBIE] STRUTS, TC and JDBC Realm This was discu

RE: Help me shake the cobwebs out...

2002-08-30 Thread Sri Sankaran
You haven't mentioned if there is *any* form-bean associated with this action mapping. You are forced to specify one only if you use the tag. So, since you are simply refreshing the page it worked. Did I miss something? Sri -Original Message- From: Craig Tataryn [mailto:[EMAIL PROTE

RE: [VOTE] Should this list discontinue it's long,treasured heritage of "relaxed fridays"?

2002-08-30 Thread Hardee, Tony
Do you feel this list should discontinue it's long heritage of "relaxed fridays"? ( ) Yes ( ) No ( X ) Other I vote to keep the topic [BEER] off this list. I think it is everyone's best interest to reduce the number of e-mails on this list. Not only do excessive e-mails flood inb

Re: [Core] Complementary to Action Errors

2002-08-30 Thread Eddie Bush
Using action errors is one possibility. There is also a non-error message-type-thing that I'm not entirely familiar with. You could conceivably use that. Check the docs. Hopefully someone else can flesh out my response, or suggest another (better) alternative. Regards, Eddie Steven Leija

stateful vs. stateless Actions / Struts design question

2002-08-30 Thread Heydtmann, Dirk
Hi, In our company we are thinking of extending the RequestProcessor and overriding processActionCreate(), in order to optionally (based on a custom ActionMapping property) store Actions on the session rather than sharing Action instances across sessions. This is to minimize impact to our existin

RE: [NEWBIE] STRUTS, TC and JDBC Realm

2002-08-30 Thread Dan Payne
Found it. Disregard request. Thanks again. Here's the link for anyone else interested: http://sourceforge.net/projects/securityfilter/ -Dan -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 12:25 PM To: Struts Users Mailing List Subject: Re:

Re: [NEWBIE] STRUTS, TC and JDBC Realm

2002-08-30 Thread Eddie Bush
I don't know the exact name. I'd look for "Security Filter" or "security-filter" - something along those lines. Search the struts-user archive, if you can -- that *might* help (thought I abhor the "functionality" [if you can call it that] of the search engine). Short of that helping, Max (t

Re[2]: [VOTE] Should this list discontinue it's long,treasured herit age of "relaxed fridays"?

2002-08-30 Thread Rick Reumann
On Friday, August 30, 2002, 1:47:41 PM, Tony wrote: HT> Not only do excessive e-mails flood inboxes they also pollute HT> mail archive including the search results. Actually that's the one thing that hurts the most I believe about the off topic posts. Granted if you search on "valida

RE: Java Server Faces and Developer Life Comments

2002-08-30 Thread Joe Barefoot
No flames, but here's my .02: Sure, some M$ development tools shorten the cycle for creating GUI widgets, and apparently web interfaces as well according to the email below. But here's my (different) experience with Visual Studio and MFC whilst creating a windows application a couple of

Re: stateful vs. stateless Actions / Struts design question

2002-08-30 Thread Craig R. McClanahan
On Fri, 30 Aug 2002, Heydtmann, Dirk wrote: > Date: Fri, 30 Aug 2002 12:48:55 -0500 > From: "Heydtmann, Dirk" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: stateful vs. stateless Actions / Struts design question > > Hi, > > In o

text input and style sheets

2002-08-30 Thread Mark Silva
Our HTML/design person has created our text input boxes with the following code I am trying to figure out a couple things... 1. How do I implement the class attribute within a stuts tag. I am assuming this is a CSS thing, since I haven't used it before. anyone know? 2. How do I set a defa

RE: Help me shake the cobwebs out...

2002-08-30 Thread Joe Barefoot
The Struts controller knows what form bean to instantiate because you put a form bean name reference in your action mapping. The mapping must contain the URL for your action. In your JSP tag, you reference an action's URL. The controller simply matches this URL to your form bean reference t

RE: text input and style sheets

2002-08-30 Thread Karr, David
> -Original Message- > From: Mark Silva [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 30, 2002 11:16 AM > To: Struts Users Mailing List > Subject: text input and style sheets > > Our HTML/design person has created our text input boxes with > the following code > > maxlength="10" si

Is having serveral actions mappings to one Action bad design?

2002-08-30 Thread Francis Lui
Hi I've read alot about Ted's thoughts on using one action for serveral different action mappings and using mapping.getParameter to decide which code to execute. He mentions it's uselful for grouping themed operations (eg. operations on a shoppingCart, customer, etc). I like the idea in th

[OT] HttpServletRequest.getParameterMap()

2002-08-30 Thread Eddie Bush
Is this only available in 1.4? I don't see it in the 1.3 docs, but I *want* to! I could make handy use of that functionality. Thanks! Eddie -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: [Buttons] How do i code this in struts

2002-08-30 Thread Susmita Pati
Hi All I have the following in my jsp How do i change <%= proc.getBigBrotherReport()%> to be struts complaint as its giving me an error out there TIA Susmita -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: text input and style sheets

2002-08-30 Thread Brian Hickey
Mark, Check the doc first, but I think you will find the following should work: this assumes you have a form bean with the get/set property named startDate and containing a default value of "01/01/2000". If you don't want to access the bean for a default, simply use the value= attribute to de

Re: [OT] HttpServletRequest.getParameterMap()

2002-08-30 Thread Craig R. McClanahan
On Fri, 30 Aug 2002, Eddie Bush wrote: > Date: Fri, 30 Aug 2002 13:31:57 -0500 > From: Eddie Bush <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users List <[EMAIL PROTECTED]> > Subject: [OT] HttpServletRequest.getParameterMap() > > Is this only avail

Re: [OT] HttpServletRequest.getParameterMap()

2002-08-30 Thread Eddie Bush
Ah - yes it's the servlet specification version I should be looking at - NOT the JDK version. That's an important point, since the problem I'm solving needs to live in a 2.2 spec container (don't ask!). Thanks! Eddie *goes off to re-invent the wheel* Craig R. McClanahan wrote: >On Fri, 30

RE: [Buttons] How do i code this in struts

2002-08-30 Thread Sri Sankaran
What do you mean Struts-compliant? Struts is not involved here since you are using a standard html tag. Make sure that the getBigBrotherReport() method returns a string representation of a URL. Sri > -Original Message- > From: Susmita Pati [mailto:[EMAIL PROTECTED]] > Sent: Friday,

RE: [Buttons] How do i code this in struts

2002-08-30 Thread Susmita Pati
I had used The method does return me a string. I am getting the following error: The request sent by the client was syntactically incorrect (/<%=%20proc.getBigBrotherReport()%>). Susmita -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 2

RE: [Buttons] How do i code this in struts

2002-08-30 Thread Kevin A. Smith
Take out the space between <%= and proc.getBigBrotherReport(). -Original Message- From: Susmita Pati [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 2:54 PM To: 'Struts Users Mailing List' Subject: RE: [Buttons] How do i code this in struts I had used The method does return

RE: [Buttons] How do i code this in struts

2002-08-30 Thread Susmita Pati
didnt work :( -Original Message- From: Kevin A. Smith [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 2:57 PM To: Struts Users Mailing List Subject: RE: [Buttons] How do i code this in struts Take out the space between <%= and proc.getBigBrotherReport(). -Original Message

RE: [Buttons] How do i code this in struts

2002-08-30 Thread Sri Sankaran
Also, my personal preference would be to have the entire value of the onclick attribute generated by the scriptlet instead of embedding a scriptlet. Sri > -Original Message- > From: Kevin A. Smith > Sent: Friday, August 30, 2002 2:57 PM > To: Struts Users Mailing List > Subject: RE: [B

Re: [Buttons] How do i code this in struts

2002-08-30 Thread Brian Hickey
You might also try dropping the single quotes around your scriptlet tag... B - Original Message - From: "Susmita Pati" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, August 30, 2002 2:53 PM Subject: RE: [Buttons] How do i code this in struts > I

Re[2]: [Buttons] How do i code this in struts

2002-08-30 Thread Rick Reumann
On Friday, August 30, 2002, 2:32:50 PM, Susmita wrote: SP> How do i change <%= proc.getBigBrotherReport()%> to be struts complaint as SP> its giving me an error out there What are you doing "struts-wise" that is giving you the error? Can you paste the struts code you are trying to

RE: Re[2]: [Buttons] How do i code this in struts

2002-08-30 Thread Susmita Pati
My struts wise code -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 3:08 PM To: Struts Users Mailing List Subject: Re[2]: [Buttons] How do i code this in struts On Friday, August 30, 2002, 2:32:50 PM, Susmita wrote: SP> How do i cha

RE: Re[2]: [Buttons] How do i code this in struts

2002-08-30 Thread Bartley, Chris P
I think the problem is that you're trying to combine both a static string ("MyWindow=window.open('") with a runtime expression, which doesn't work...at least the way you have it. In general, stuff like this: Won't work and needs to be written as: So, for you, try something like thi

Re: Is having serveral actions mappings to one Action bad design?

2002-08-30 Thread Rick Reumann
On Friday, August 30, 2002, 2:27:25 PM, Francis wrote: FL> Does anybody have any ideas on which design they preferor are FL> there other ways as well to design web apps with struts. I've been using the DispatchAction design now and really like it. I'm actually lazy and use the one

Re: Using Struts in Weblogic & Eclipse [OT]

2002-08-30 Thread Michael Lee
Buddy, this sounds pretty OT. I'll help you, but you should know this isn't a struts question... The way to do this is... Put this line in the start up path of weblogic where java..weblogic.Server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_shmem,address= abconn,server=y,sus

RE: Java Server Faces and Developer Life Comments

2002-08-30 Thread James Higginbotham
I have to agree with your assessment: Struts is a fabulous framework, and now we need a real application development environment to sit on top of it. Kudos to all those writing graphical interfaces to struts, but most of them are just GUI panels on top of the config files. I saw one (can't recall

Re: Help me shake the cobwebs out...

2002-08-30 Thread Craig Tataryn
Yes, there is a form bean associated with my action mapping, as well as an input attribute set to that jsp page I was talking about earlier. I don't believe the file was being loaded from the cache as I had a debug session open in eclipse on my form bean and it tripped the getUserName() method :)

Re: Help me shake the cobwebs out...

2002-08-30 Thread Eddie Bush
The absolute best recommendation I think that could be made to you is: 1) http://www.theserverside.com/ <--- Click here 2) Search for "Struts Book Review" 3) Read 4) http://www.bookpool.com/ <--- Go order it :-) (No, I'm not being paid a commission by Chuck, I just think he did a fine job

Re: Help me shake the cobwebs out... (also http://www.computer-programmer.org/articles/struts/ is back up)

2002-08-30 Thread Craig Tataryn
Thank you for your answer. I actually found the answer in the taglib documentation for html:form, I hadn't seen it before. Craig. - Original Message - From: "Joe Barefoot" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, August 30, 2002 2:10 PM Subj

RE: Help me shake the cobwebs out... (also http://www.computer-programmer.org/articles/struts/ is back up)

2002-08-30 Thread Joe Barefoot
You're welcome. Sorry I was a bit terse/militant, but this list has been spammed with so much crap lately it's starting to overwhelm my usually pacific demeanour. :) peace, Joe > -Original Message- > From: Craig Tataryn [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 30, 2002

Re: Java Server Faces and Developer Life Comments

2002-08-30 Thread David Geary
Elderclei R Reami wrote: >Hi, > >Even though, I'm passionate about Java, I need to recognize: M$ really makes UI >development a lot easier than Sun/Java/Open Source Community. If you ever developed a >VB app and a Swing-based Java app, knows what I mean. > FWIW, I agree that .NET is a great dea

Re: Is having serveral actions mappings to one Action bad design?

2002-08-30 Thread Ted Husted
To be clear, I don't use switch statements or anything like that in my applications. I use the parameter to either call methods (like DispatchAction) or instantiate objects (like ActionForms). I generally use only standard "toolkit" Actions in my apps, and hand off all the business logic to ot

RE: Java Server Faces and Developer Life Comments

2002-08-30 Thread Elderclei R Reami
Hi James, I guess you were talking about Avalon, which is a nice tool to model functional flow, but it's not exactly what we want. Hope we have easier life soon, or M$ will surely dominate other development niche. People using WSAD says it's extremely slow, but I've never used it. Regards,

[ANNOUNCE] Artimus 1.0 beta 2 available

2002-08-30 Thread Ted Husted
Artimus is a sample Struts application for posting news articles that uses JDBC, Lucene, and the Struts Scaffold toolkit. Artimus may be downloaded from the Struts Example Application site on SourceForge http://sourceforge.net/projects/struts Other developers with example applications that th

[ANNOUNCE] MockObjects 0.4 released

2002-08-30 Thread Ted Husted
Unit testing is a hot topic among Struts developers. StrutsTestCase provides a slick mock object for testing Struts Actions with JUnit (or Cactus). The MockObjects projects provides a base API for creating tests for the rest of the objects in your Java

[ANNOUNCE] Struts Book Moves Ahead

2002-08-30 Thread Ted Husted
The publication date for Developing Web Applications with Struts by Ted Husted, Cedric Dumoulin, George Franciscus, and David Winterfeldt (Foreword by Craig R. McClanahan) has been advanced to October 2002. Details about the book are available at Ted Husted's Struts site http://husted.com/strut

newbie question

2002-08-30 Thread anand v
Hi, I could make the strut example work on my server.. Redhat 7.1 My next goal is to just make this exmple work as it is from my site which is say http://mysite.com How can I do that?? Is that I have to copy all the struts-example directory to my site root directory?? I am using Apache webserve

<    1   2   3   >