Re: Struts Sample / Best Practices for Database access

2004-07-14 Thread Van
On Thu, 15 Jul 2004 14:16:29 +0800, Richard Reyes <[EMAIL PROTECTED]> wrote: > Newbie question, where can i get struts sample application using > database components like DAO, JDO or Hibernate samples. I never quite get around to downloading it and taking a look at it myself, but, I hear good thin

final getter/setter methods in actionform and valueobject classes

2004-07-14 Thread Viral_Thakkar
Hi All, I was wondering if all the getXXX methods in the Value Objects could be declared as final. Regards, Viral - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts Sample / Best Practices for Database access

2004-07-14 Thread Richard Reyes
Hi Guys, Newbie question, where can i get struts sample application using database components like DAO, JDO or Hibernate samples. Thanks Richard

RE: Struts Example for standards

2004-07-14 Thread Apurva Goswami
Check http://www.ibatis.com/jpetstore/jpetstore.html -Original Message- From: Viral_Thakkar [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 3:41 PM To: Struts Users Mailing List Subject: Struts Example for standards Hi All, Is there place where I can find struts example projec

RE: Struts Example for standards

2004-07-14 Thread Kommineni, Sateesh \(GE Consumer & Industrial\)
http://struts.sourceforge.net/ -Original Message- From: Viral_Thakkar [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 11:11 AM To: Struts Users Mailing List Subject: Struts Example for standards Hi All, Is there place where I can find struts example projects? I need to see the c

Struts Example for standards

2004-07-14 Thread Viral_Thakkar
Hi All, Is there place where I can find struts example projects? I need to see the coding style and whether null checking in Action class is required or not. I am not using ActionForm in my project. Regards, Viral - To unsub

Re: [OT] Editor for Struts/J2ee apps

2004-07-14 Thread Michael McGrady
Emacs? VIM? The IDE people are nuts about Eclipse. At 10:10 PM 7/14/2004, you wrote: hi, I am starting a j2ee app(servlets,jsp.taglibs,ejb,jms,jaxp) with struts as web framework and i need to decide on the IDE that i should use. May i have your inputs on pros/cons on IDEs that you are using. An

Re: [OT] Editor for Struts/J2ee apps

2004-07-14 Thread Yi Wang
JBuilder is pretty good, except it's expensive. WSAD 5 is also good if you use Websphere. On Thu, 15 Jul 2004 10:40:00 +0530, Navjot Singh <[EMAIL PROTECTED]> wrote: > hi, > > I am starting a j2ee app(servlets,jsp.taglibs,ejb,jms,jaxp) with struts > as web framework and i need to decide on the ID

[OT] Editor for Struts/J2ee apps

2004-07-14 Thread Navjot Singh
hi, I am starting a j2ee app(servlets,jsp.taglibs,ejb,jms,jaxp) with struts as web framework and i need to decide on the IDE that i should use. May i have your inputs on pros/cons on IDEs that you are using. Any specific inputs on IDEA/MyEclipse are most welcome. -- regards Navjot Singh walking

Re: LabelValueBean and BeanMap with and for indexed properties

2004-07-14 Thread Michael McGrady
Thanks, Joe. I expect you are right, but it is comforting to hear it. Michael At 04:06 PM 7/14/2004, you wrote: Michael: This is ultimately a function performed by commons-beanutils, not Struts itself. Specifically, o.a.c.beanutils.PropertyUtils has a method, "getProperty(Object, String) which

Re: struts.apache.org has not been updated to reflect the 1.2.1 release

2004-07-14 Thread Paul Spencer
Ted, I do not think it is a "cache" problem. I was expecting a "1.2.1 BETA IS NOW AVAILABLE" type message on the Struts home page, struts.apache.org, along with a "Other news from Jakarta and Elsewhere" item on jakarta.apache.org and announcement posting on [EMAIL PROTECTED] Other observations

REDIRECT=TRUE and switching from HTTPS to HTTP

2004-07-14 Thread Struts
I have Apache running HTTP and HTTPS (with SSL enabled and mod_rewrite is used to rewrite HTTP to HTTPS) at web tier and Resin 2.1.10 running behind. My goal is to secure the whole site. I am able to configure Apache/SSL so when the first page is hit, it gets redirected to https from there on. Howe

Re: Question concerning struts-config and app constants

2004-07-14 Thread Joe Germuska
At 7:14 PM -0400 7/14/04, Erik Weber wrote: Thanks Joe, that is indeed what I am doing. I am handling a few actions in a single Action class, but parameterizing on my own rather than using the MappingDispatchAction. The reason is that the O'Reilly Struts book led me to believe that if you want t

Re: How to repopulate main page after returning from lookup page

2004-07-14 Thread Wendy Smoak
From: "Rick Reumann" <[EMAIL PROTECTED]> > All these posts lately about people scared of the Session, I don't get > it:) (well I get some concern if you're storing huge lists for drop > downs etc). I think the Session is your friend in this case. LOL... to the consternation of certain network adm

Re: LabelValueBean and BeanMap with and for indexed properties

2004-07-14 Thread Joe Germuska
Michael: This is ultimately a function performed by commons-beanutils, not Struts itself. Specifically, o.a.c.beanutils.PropertyUtils has a method, "getProperty(Object, String) which returns the object value of the bean property. (Internally, that's actually forwarded to getNestedProperty(Obj

Re: How to repopulate main page after returning from lookup page

2004-07-14 Thread Rick Reumann
(Sorry if this post comes through twice.. not sure why it never made it this morning when I thought I sent this out). Mazen, Tamer S wrote: My question is: when user clicks on the add button I want to submit main page's form so I can preserve all user's entered data so when he come back to the ma

RE: Question concerning struts-config and app constants

2004-07-14 Thread Jim Barrows
> -Original Message- > From: Erik Weber [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 4:32 PM > To: Struts Users Mailing List > Subject: Re: Question concerning struts-config and app constants > > > D'oh! This from > http://struts.apache.org/api/org/apache/struts/actions/M

Re: Question concerning struts-config and app constants

2004-07-14 Thread Erik Weber
D'oh! This from http://struts.apache.org/api/org/apache/struts/actions/MappingDispatchAction.html "Also, a request parameter, which would be visible to the application user, is not required to enable selection of the handler method." Looked right at that and didn't see it! Thanks again, Erik J

Re: Question concerning struts-config and app constants

2004-07-14 Thread Erik Weber
Ah, sorry I read that doc but didn't understand it until you pointed it out. Perfect! Time to upgrade to 1.2 I suppose. Thanks, Erik Jim Barrows wrote: -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 4:15 PM To: Struts Users Mailing List Subjec

RE: Question concerning struts-config and app constants

2004-07-14 Thread Jim Barrows
> -Original Message- > From: Erik Weber [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 4:15 PM > To: Struts Users Mailing List > Subject: Re: Question concerning struts-config and app constants > > > Thanks Joe, that is indeed what I am doing. I am handling a > few actions >

Re: Question concerning struts-config and app constants

2004-07-14 Thread Erik Weber
Thanks Joe, that is indeed what I am doing. I am handling a few actions in a single Action class, but parameterizing on my own rather than using the MappingDispatchAction. The reason is that the O'Reilly Struts book led me to believe that if you want to use the DispatchAction class, or the Look

Re: struts.apache.org has not been updated to reflect the 1.2.1 release

2004-07-14 Thread Ted Husted
It was updated earlier this week, Paul. Perhaps something is being cached for you. On Wed, 14 Jul 2004 17:17:07 -0400, Paul Spencer wrote: > The Struts web site, http://struts.apache.org, has not been updated > to reflect the release of v1.2.1. This includes the announcements > and download links.

LabelValueBean and BeanMap with and for indexed properties

2004-07-14 Thread Michael McGrady
I am using my version of a BeanMap built for instrumentation, cf. http://wiki.apache.org/struts/StrutsCatalogMappedBeans, and am putting a series of java.util.LinkedLists holding org.apache.struts.util.LabelValueBeans into the BeanMap via setProperty(Object key,Object value). I am then accessi

Re: Question concerning struts-config and app constants

2004-07-14 Thread Joe Germuska
> I am parameterizing an Action via the "parameter" attribute to the action element in struts-config.xml. The Java code in the Action class refers to the possible parameter values using String constants instead of using literal values. However, these same parameter values are simply hardcoded

Re: Question concerning struts-config and app constants

2004-07-14 Thread Hubert Rabago
This is one of the enhancements Ted Husted (Struts Committer) is proposing. Personally, I wouldn't know if this is possible in the current version of Struts. If anybody knows how to do this on the current version, do share the how. Hubert --- Erik Weber <[EMAIL PROTECTED]> wrote: > I am parame

Question concerning struts-config and app constants

2004-07-14 Thread Erik Weber
I am parameterizing an Action via the "parameter" attribute to the action element in struts-config.xml. The Java code in the Action class refers to the possible parameter values using String constants instead of using literal values. However, these same parameter values are simply hardcoded in

RE: RE [OT]: onsubmit form ERROR

2004-07-14 Thread Isaac Mosquera
thanks so much, it worked -isaac At 01:26 PM 7/14/2004 -0700, you wrote: Also be sure you don't have another object named "submit" in your form. It's common to see . Change its name to something else. This will kill any form of document.{form}.submit(); -Original Message- From: Barnett,

struts.apache.org has not been updated to reflect the 1.2.1 release

2004-07-14 Thread Paul Spencer
The Struts web site, http://struts.apache.org, has not been updated to reflect the release of v1.2.1. This includes the announcements and download links. Paul Spencer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

RE: onsubmit form ERROR

2004-07-14 Thread dhay
You don't have a submit button on the page do you? If so, there's the infamous submit bug to watch out for. Try renaming the button to something other than submit... cheers, David |-+> | | Isaac Mosquera | | | <[EMAIL

RE: RE [OT]: onsubmit form ERROR

2004-07-14 Thread Glenn Wilson
Also be sure you don't have another object named "submit" in your form. It's common to see . Change its name to something else. This will kill any form of document.{form}.submit(); -Original Message- From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 1:08

RE [OT]: onsubmit form ERROR

2004-07-14 Thread Barnett, Brian W.
Hmm. I've never seen that syntax, but that doesn't mean much. Here are the syntaxes I've seen: document.MonitorForm.submit() document.forms[0].submit() document.forms["MonitorForm"].submit() I've seen something as simple as a semi-colon at the end of javascript work wonders too :) -Origina

RE: Struts Tag Lib VS JSTL Tag Lib

2004-07-14 Thread Jim Barrows
> -Original Message- > From: PREETAM Balijepalli [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 1:13 PM > To: Struts Users Mailing List > Subject: RE: Struts Tag Lib VS JSTL Tag Lib > > > Have you ever compared JSTL and Struts Tag In performance...? I think the immediate ques

RE: Struts Tag Lib VS JSTL Tag Lib

2004-07-14 Thread PREETAM Balijepalli
Have you ever compared JSTL and Struts Tag In performance...? Like page generation SQL access Request and response handling Architecture benefits Thanks Preetam -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 4:02 PM To: Struts Users

Javascript-Code in validator-rules.xml

2004-07-14 Thread J. Fiala
hi there, I've noted an issue with the validator-rules.xml: Right now Javascript validation is done sequentially for each datatype. e.g. formValidationResult = formValidationResult = validateRequired(form) && validateByte(form) && validateShort(form) ...; This means first all required fields ha

RE: onsubmit form ERROR

2004-07-14 Thread Isaac Mosquera
thanks, but that didn't work, it seems as though i'm getting a valid form object because if use: alert( document.forms.MonitorForm.name ) and alert( document.forms.MonitorForm.action ) they both return the right output, however its just the submit() function which gives me errors. -isaa

Re: Struts Tag Lib VS JSTL Tag Lib

2004-07-14 Thread Hubert Rabago
AFAIK, the Struts tags aren't competing with JSTL tags. I believe the recommended approach is to use JSTL tags when you can, and use the Struts tags when you need functionality not provided by the JSTL tags. In short, if you're looking at writing a block of code and you can go either way, use JST

Struts Tag Lib VS JSTL Tag Lib

2004-07-14 Thread PREETAM Balijepalli
Hi Has any one ever compared Struts Tag Lib and JSTL Tag Lib and drawn any comparison. On Performance, Architecture, Developer comfort. Thanks Preetam Attempt May Be Failure Failure In Attempt~No!

RE: onsubmit form ERROR

2004-07-14 Thread Barnett, Brian W.
Try document.MonitorForm.submit() -Original Message- From: Isaac Mosquera [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 1:47 PM To: [EMAIL PROTECTED] Subject: onsubmit form ERROR i have the following piece of HTML/JavaScript and this problem happens quite frequently but i don

onsubmit form ERROR

2004-07-14 Thread Isaac Mosquera
i have the following piece of HTML/JavaScript and this problem happens quite frequently but i dont know how to fix it. although there is a valid form with the name "MonitorForm" in the html page i get this error: "object doesn't support this property or method" -isaac ---

Re: How to use dynamic values in html:radio

2004-07-14 Thread Michael McGrady
Look at my last answer to you. At 05:51 AM 7/14/2004, you wrote: could SO perhaps tell me why (or rather, what is the reight expression to use, instead of ${...} ... ) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

How to use dynamic values in html:radio

2004-07-14 Thread ron piterman
Hi, I am trying to write a form with radio buttons, whos values source is a database, so I wrote this one, and it does not run: --- type="tutim.general.beans.data.CategoriesTree.Category"> ==> problem is here and so on --- could SO

Re: Re: validation wierdness possibly related to multiple struts config files

2004-07-14 Thread bryan
I am using a nightly build from about 1 week ago. I never updated my dtd for validator though. Im going to do that and check out your suggestion. Never occured to me that it mightnt be backwards compatatable. --b On Tue, 13 Jul 2004 15:52:41 -0400, Bill Siggelkow <[EMAIL PROTECTED]> wrote: > Are

multi-properties in validator support in struts 1.2.1?

2004-07-14 Thread Cliff
I have traced the code in the JavascriptValidatorTag.java and found that the defeat bundle is used to select the message resources. Anyone can tell me more?? Thanks a lot !! Cliff

Re: Javascript Validation staticJavascript - Best Practices

2004-07-14 Thread J. Fiala
hi bill, I am using struts-1.1 and the ...-tags show up in the jsp-generated source code. Anyway, it works though - thx for your help! J. Fiala Bill Siggelkow <[EMAIL PROTECTED]> Sent by: news <[EMAIL PROTECTED]> 14.07.2004 21:03 Please respond to "Struts Users Mailing List" <[EMAIL PROTEC

Re: Javascript Validation staticJavascript - Best Practices

2004-07-14 Thread Bill Siggelkow
I am not following you, here. I thought maybe you were thinking that the 'staticJavascript.jsp' page generated the tags around JS functions -- however, this is not the case AFAIK. I am using the nightly build. J. Fiala wrote: hi bill, the solution you've lined out works greatly, but I'm wonder

RE: More fun with forms...

2004-07-14 Thread Jim Barrows
> -Original Message- > From: Andrew Close [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 11:53 AM > To: Struts Users Mailing List > Subject: Re: More fun with forms... > > > > > > > i do know what fields will be returned, just not how many. so i > > > wasn't sure if i cou

Re: More fun with forms...

2004-07-14 Thread Andrew Close
> > i do know what fields will be returned, just not how many. so i > > wasn't sure if i could use ActionForms or if i had to come up with a > > custom solution. > > i'll see if i can find info on MapBackedForm. > > Thanks Jim > > Oh, you mean rows, not columns. In that case you want a list of

Re: Javascript Validation staticJavascript - Best Practices

2004-07-14 Thread J. Fiala
hi bill, the solution you've lined out works greatly, but I'm wondering why it is not possible to turn off the -tag, because inside an .js file it doesn't make sense to have the html tags included. thx J. Fiala Bill Siggelkow <[EMAIL PROTECTED]> Sent by: news <[EMAIL PROTECTED]> 14.07.2004

RE: More fun with forms...

2004-07-14 Thread Jim Barrows
> -Original Message- > From: Andrew Close [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 10:09 AM > To: Struts Users Mailing List > Subject: Re: More fun with forms... > > > i do know what fields will be returned, just not how many. so i > wasn't sure if i could use ActionF

Re: More fun with forms...

2004-07-14 Thread Andrew Close
i do know what fields will be returned, just not how many. so i wasn't sure if i could use ActionForms or if i had to come up with a custom solution. i'll see if i can find info on MapBackedForm. Thanks Jim andy On Wed, 14 Jul 2004 10:01:05 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote: > > >

Re: More fun with forms...

2004-07-14 Thread ron1
Look at this HowTo: http://struts.apache.org/faqs/indexedprops.html Maybe it will bring you further, Cheers, Ron Andrew Close wrote: Hi all, i've looked through a couple articles detailing the use of ActionForm and DynaActionForm, but i haven't found anything that explains how to build a dynamic fo

RE: examples of struts??

2004-07-14 Thread Josh Holtzman
>Very good point. Some folks don't even use the suffix, rather they >configure that requests to anything under a directory called "do" be >treated as a Struts request. (And again, that directory name is >configurable). We generally us ".html" as the URL suffix for all our struts apps. With that s

RE: More fun with forms...

2004-07-14 Thread Jim Barrows
> -Original Message- > From: Andrew Close [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 9:58 AM > To: [EMAIL PROTECTED] > Subject: More fun with forms... > > > Hi all, > > i've looked through a couple articles detailing the use of ActionForm > and DynaActionForm, but i hav

More fun with forms...

2004-07-14 Thread Andrew Close
Hi all, i've looked through a couple articles detailing the use of ActionForm and DynaActionForm, but i haven't found anything that explains how to build a dynamic form. dynamic meaning i don't know how many elements will be on the form since it will vary based on the amount of data returned in t

RE: examples of struts??

2004-07-14 Thread Chappell, Simon P
>-Original Message- >From: Van [mailto:[EMAIL PROTECTED] >Sent: Wednesday, July 14, 2004 11:33 AM >To: Struts Users Mailing List >Subject: Re: examples of struts?? > > >On Wed, 14 Jul 2004 12:16:51 -0400, Lykins Don H Contr AFSAC/ITS ><[EMAIL PROTECTED]> wrote: >> wowcool.. >> i see y

RE: examples of struts??

2004-07-14 Thread Chappell, Simon P
Hello. The only use of Struts at Lands' End is currently on internal systems. I don't know if it will ever be used on the existing customer facing website, because I don't know if that needs re-writing. It currently works quite well and wonderful as Struts most certainly is, it would make littl

RE: Access to message properties from within application

2004-07-14 Thread Jim Barrows
> -Original Message- > From: Jan Behrens [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 9:44 AM > To: 'Struts Users Mailing List' > Subject: RE: Access to message properties from within application > > > Thanks Jim, > > RTFM I did (yoda would say ;) What I want to do though

RE: Access to message properties from within application

2004-07-14 Thread Hubert Rabago
See if this works: getResources(request).getMessage(request.getLocale(),"test.me"); getResources(request) is a method of Action. Hubert --- Jan Behrens <[EMAIL PROTECTED]> wrote: > Thanks Jim, > > RTFM I did (yoda would say ;) What I want to do though, is access the > localized messages from w

RE: Access to message properties from within application

2004-07-14 Thread Jan Behrens
Thanks Jim, RTFM I did (yoda would say ;) What I want to do though, is access the localized messages from within my application code - not from within my JSP's or Servlets but out of my logic. I could not find anything on this in the manual yet. Am I beeing completely ignorant not seeing the obvio

Re: how to use dynamic values in html:radio

2004-07-14 Thread ron1
ron1 wrote: Thanx, I Just posted it, but somehow it did not post... In the docu, the "property" attribute is missing :-( No it isn't ;-) But I guess thats what I'm looking for... Thanx, Ron Michael McGrady wrote: Have you checked out LabelValueBeans, another Ted Husted slam dunk. Cf., http://www.

Re: how to use dynamic values in html:radio

2004-07-14 Thread ron1
Thanx, I Just posted it, but somehow it did not post... In the docu, the "property" attribute is missing :-( But I guess thats what I'm looking for... Thanx, Ron Michael McGrady wrote: Have you checked out LabelValueBeans, another Ted Husted slam dunk. Cf., http://www.jguru.com/faq/view.jsp?EID=1

RE: how to use dynamic values in html:radio

2004-07-14 Thread Robert Taylor
Yes, you should. Otherwise, the doesn't "know" how to digest ${bean.prop} expression. robert > -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of ron1 > Sent: Wednesday, July 14, 2004 12:04 PM > To: [EMAIL PROTECTED] > Subject: Re: how to use dynamic values in html:ra

Re: examples of struts??

2004-07-14 Thread Van
On Wed, 14 Jul 2004 12:16:51 -0400, Lykins Don H Contr AFSAC/ITS <[EMAIL PROTECTED]> wrote: > wowcool.. > i see you work for lands end...doesn't their customer site use it? > ((landsend.com)) > > how do you know your list of sites actually use struts (by the .do)? Part of this is the honor sy

Re: how to use dynamic values in html:radio

2004-07-14 Thread Michael McGrady
Have you checked out LabelValueBeans, another Ted Husted slam dunk. Cf., http://www.jguru.com/faq/view.jsp?EID=1028442 Michael P.S. You might also see my inquiry just posted as "::: ::: guaranteed behavior? " in the email subject. At 09:14 AM 7/14/2004, you wrote: I'm not using EL, should I

Re: how to use dynamic values in html:radio

2004-07-14 Thread ron1
I'm not using EL, should I ? there is no raw HTML because the html:radio tag does not digest the ${bean.prop} expression. Cheers, Ron Robert Taylor wrote: Can you be more descriptive as to what doesn't work? Are you including the Struts-EL taglib? What does the raw HTML look like? Is there a stack

Re: how to use dynamic values in html:radio

2004-07-14 Thread ron1
I'm not using EL, should I ? there is no raw HTML because the html:radio tag does not digest the ${bean.prop} expression. Cheers, Ron Robert Taylor wrote: Can you be more descriptive as to what doesn't work? Are you including the Struts-EL taglib? What does the raw HTML look like? Is there a stac

RE: Access to message properties from within application

2004-07-14 Thread Jim Barrows
> -Original Message- > From: Jan Behrens [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 9:20 AM > To: 'Struts Users Mailing List' > Subject: RE: Access to message properties from within application > > > Anyone? If the solution is to obvious, give me a hint. Obnoxious hint:

RE: Access to message properties from within application

2004-07-14 Thread Jan Behrens
Anyone? If the solution is to obvious, give me a hint. Thanks, Jan -Original Message- From: Jan Behrens [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 11:14 AM To: Struts Users Mailing List Subject: Access to message properties from within application Hi List, is there a way

RE: examples of struts??

2004-07-14 Thread Lykins Don H Contr AFSAC/ITS
wowcool.. i see you work for lands end...doesn't their customer site use it? ((landsend.com)) how do you know your list of sites actually use struts (by the .do)? and do you know which struts packages/classes are most widely used? -Original Message- From: Chappell, Simon P [mailto:[

::: ::: guaranteed behavior?

2004-07-14 Thread Michael McGrady
Hello, all, I am not sure whether this is a dev or a user question, so, I am double posting. If that is wrong, s'cuse, please! I am my version of a BeanMap, cf. http://wiki.apache.org/struts/StrutsCatalogMappedBeans, and am putting a series of java.util.LinkedLists holding org.apache.struts.u

RE: How to repopulate main page after returning from lookup page

2004-07-14 Thread Lykins Don H Contr AFSAC/ITS
I agree with you Erik... maybe its a security concern storing session variables?? isn't the use of session variables how you prevent folks from typing in the URI directly?,, that is you set a session parameter then check it in each JSP? -Original Message- From: Erik Weber [mailto:[EMAIL

RE: examples of struts??

2004-07-14 Thread Chappell, Simon P
I have a list on my website. I think it's somewhat up to date. http://www.simonpeter.com/techie/java/struts/sites.html If I'm missing anything, let me know and I'll make the appropriate changes. Simon >-Original Message- >From: Lykins Don H Contr AFSAC/ITS [mailto:[EMAIL PROTECTED] >Sen

RE: examples of struts??

2004-07-14 Thread Hubert Rabago
Consider also that in large organizations, there are several web applications (several dozens in the ones I've been in the past three years), only a few of which are available to the public. I've been involved in over half a dozen web apps in different large corporations, all using Struts, none av

Re: How to repopulate main page after returning from lookup page

2004-07-14 Thread Erik Weber
Hmm, I'm not sure why you want to avoid storing a key to the user's "shopping cart" data as a Session attribute. That is the only sensible way I can think of. I suppose you could craft some scheme using dynamically written hidden variables. Erik Mazen, Tamer S wrote: Hi All, I have question abo

RE: how to use dynamic values in html:radio

2004-07-14 Thread Robert Taylor
Can you be more descriptive as to what doesn't work? Are you including the Struts-EL taglib? What does the raw HTML look like? Is there a stack trace? robert > -Original Message- > From: ron piterman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 11:45 AM > To: [EMAIL PROTECT

RE: how to use dynamic values in html:radio

2004-07-14 Thread Jim Barrows
> -Original Message- > From: ron piterman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 8:45 AM > To: [EMAIL PROTECTED] > Subject: how to use dynamic values in html:radio > > > Hi - > I try to use html:radio inside an iterate. The values of the radios > should be dynamica

Re: MessageResources Question

2004-07-14 Thread Ken Pullin
Yeah - I've reviewed that package but it doesn't appear to solve the real issue. The getMessage() call in the OJBMessageResources class clears the cache of the MessageResources class. That's fine, but as soon as you return the value back up to MessageResources, it's going to put it on the cach

how to use dynamic values in html:radio

2004-07-14 Thread ron piterman
Hi - I try to use html:radio inside an iterate. The values of the radios should be dynamically read from the iterated bean. I am using ... which does not work. Can some one please :-) tell me the right way to do this? Cheers, Ron -

RE: examples of struts??

2004-07-14 Thread Jim Barrows
> -Original Message- > From: Lykins Don H Contr AFSAC/ITS [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 8:22 AM > To: 'Struts Users Mailing List' > Subject: RE: examples of struts?? > > > good list. but the only one I recognize is www.travelocity.com > and they are using PHP

RE: examples of struts??

2004-07-14 Thread Jim Barrows
> -Original Message- > From: Lykins Don H Contr AFSAC/ITS [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 7:55 AM > To: '[EMAIL PROTECTED]' > Subject: examples of struts?? > > > What real-world web sites are using struts? > > Can someone point me to some sites and do you know

RE: examples of struts??

2004-07-14 Thread Lykins Don H Contr AFSAC/ITS
good list. but the only one I recognize is www.travelocity.com and they are using PHP as the View. Any other struts examples that folks are working,, preferably using JSP's. Also, since its struts, I was expecting to see a ".do" someplace in the URI. -Original Message- From: Hubert Raba

Re: MessageResources Question

2004-07-14 Thread Bill Siggelkow
http://sourceforge.net/project/showfiles.php?group_id=49385&package_id=76369 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: examples of struts??

2004-07-14 Thread Hubert Rabago
Take a look at these: http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsWebLinks http://wiki.apache.org/struts/PoweredBy --- Lykins Don H Contr AFSAC/ITS <[EMAIL PROTECTED]> wrote: > What real-world web sites are using struts? > > Can someone point me to some sites and do you know which packag

Re: MessageResources Question

2004-07-14 Thread Nick Heudecker
Hi Ken: A JDBCMessageResources class already exists. I believe that James Mitchell wrote it. After a quick search, I couldn't find any additional links to it, however. Ken Pullin wrote: I've been looking into extending the MessageResources class and providing my own MessageResourcesFactory.

examples of struts??

2004-07-14 Thread Lykins Don H Contr AFSAC/ITS
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/beneficial class in use today? Don Lykins AFSAC 937-257-4295 x4539 [EMAIL PROTECTED] ---

Re: Please HELP with HARD problem: STRUTS-tags VS Proxy, Weblogic loadbalancing, and BASE tag

2004-07-14 Thread John Brayton
> Accessed through the proxy, the RequestUtils.getActionMappingURL() that > (it > appears) does the real work inside those tags produces wrong servername / > port combinations (correct would be the Proxy's name on port 80). You could write a filter to create a ServletRequestWrapper to override rel

MessageResources Question

2004-07-14 Thread Ken Pullin
I've been looking into extending the MessageResources class and providing my own MessageResourcesFactory. The end goal is to house the ApplicationResource files in a database table. The issue I'm noticing is that the MessageResources class maintains a HashMap of key/values called 'formats'.

How to repopulate main page after returning from lookup page

2004-07-14 Thread Mazen, Tamer S
Hi All, I have question about passing form between pages: I have two pages 1- main page ==> main.jsp contains list of order's products and two buttons (add, save) 2- lookup page ==> lookup.jsp contains all the products in the system and select button In Main page when user needs to add new prod

Re: webapp deployment

2004-07-14 Thread Phyl
Hi, Thanks for your replies! Pardon the obvious, but just in case you're WEB-INF should be: /home/virtual/sitexyz/fst/var/www/html/WEB-INF/struts-config.xml yes, that's right. If that's it again, pardon the obvious, but how is the struts-config.xml coded in the web.xml? This is how stru

Re: Javascript Validation staticJavascript - Best Practices

2004-07-14 Thread Bill Siggelkow
Create a file called "staticJavascript.jsp" with the following content: <%@ page language="java" %> <%-- set document type to Javascript (addresses a bug in Netscape according to a web resource --%> <%@ page contentType="application/

Re: strut-config.xml parse error issue - Urgent!!

2004-07-14 Thread Chandra Obul Reddy Mummadi
hi follow this order u will get answer (icon?,display-name?,description?,set-roperty*,exception*,forward*)". (action path="/CCMCmtsConfig" type="com.test.ui.action.CCMCmtsConfAction" name="ccmCmtsConfForm" scope="session" parameter="method">

RE: strut-config.xml parse error issue - Urgent!!

2004-07-14 Thread James Holmes
Hi, You may want to look into a tool like Struts Console that performs config file validation and ensures that your config file stays in compliance with the DTD as you modify it. http://www.jamesholmes.com/struts/ -James -Original Message- From: Ashutosh Satyam [mailto:[EMAIL PROTECTED]

Javascript Validation staticJavascript - Best Practices

2004-07-14 Thread J. Fiala
hi there, I've used the html:javascript tag to have the javascript code generated for my form. I found out that using staticJavascript="false" I can prevent the static javascript code from messing up the html head. To my mind it would be the cleanest solution to refer to the static javascript

NoClassDefFoundError on a class file that does exists

2004-07-14 Thread Ding Lei
Hello all, I am working on a Web application on Jboss 3.2.4 with Struts 1.1. It reports NoClassDefFoundError on class com/embisoft/dvb/user/DVBUser,which stays in a jar file under WEB-INF/lib. I'v double checked the jar file, and sure that the class file is just fine. the problem doesn't occurs

Access to message properties from within application

2004-07-14 Thread Jan Behrens
Hi List, is there a way to access the language specific messages stored in my resource file from within my logics java code? I understand that I will probably need to specify the locale that I need - that should not be the problem though. TIA, Jan ---

Re: Initialization stuff

2004-07-14 Thread Martin I. Levi
Got it. Thanks! On Tue, 2004-07-13 at 15:44, Emmanouil Batsis wrote: > Martin I. Levi wrote: > > > Is this a better solution than mine? > > Although I often use servlets for initialization, Paul's suggestion is > better because ServletContextListener was designed exactly for > initialization/f

Re: strut-config.xml parse error issue - Urgent!!

2004-07-14 Thread Craig McClanahan
Ashutosh Satyam wrote: Thnx a million Erik. It worked but still couldn't make out how DTD is enforcing this particular behaviour. In the DTD, look at the definition of the "struts-config" element ... you'll see that it explicitly lists the order of the various subelements. The same thing happ

help me installing struts generator

2004-07-14 Thread Shiva Narayana
plz help me in installing Karapan Sapi Struts Generator i tried but unable to install.plz find the link for installation.. http://sourceforge.net/projects/strutsgenerator/ -- Regards Shiva -