cache problem

2005-01-06 Thread Metin Erksan
hi i develop an insert/delete/update struts db application.i use jdeveloper10g and running embedded oc4j of jdeveloper10g.when i click "delete link" in my app, it deletes but when i return i can see that record.when i refresh page i cant see taht record and my delete operation succeed.how can i

RE: Putting a field into the REQUEST

2005-01-06 Thread Krishna Mohan Radhakrishnan
HI David, Moreover when I tried to create a hidden field in this manner It showed up an error. /acctmgmt/updatePlanProfileContent.jsp(159): required attribute 'property' not specified for tag 'hidden' probably occurred due to an error in /acctmgmt/updatePlanProfileContent.jsp line 159: Regards

RE: Putting a field into the REQUEST

2005-01-06 Thread Krishna Mohan Radhakrishnan
Hi David, My problem is that there is a JSP called updatePlanProfileContent.jsp I submit this JSP to a action class named SavePlanProfileAction.java. There is a hidden field called regularPlan in the JSP which is not related to any form. I just want to retrieve the value of this hidden field in th

Nice article...

2005-01-06 Thread Vamsee Kanakala
Hi folks, I found this nice article on TSS about Struts Action Mappings by Michael Jouravlev. http://www.theserverside.com/articles/article.tss?l=StrutsActionMapping Cheers, Vamsee. - To unsubscribe, e-mail: [EMAIL PROTECTE

RE: Putting a field into the REQUEST

2005-01-06 Thread David G. Friedman
Krishan, The error code you gave and the description of the problem do not match. If your code only works when you do this: <% request.setAttribute("regularPlan","true"); %>' Then you cannot be using this tag: But something more like this: Why? Because skipping the "name=..." attribute forc

Generate form fields on fly

2005-01-06 Thread Manisha Sathe
I have a form, whose fields depend on the collection object. I have DealerBean (id, name) stored in an Collection. What i want is display the name and i/p field for each dealer. Now field name will be dynamic (may be combination of "dealer" + id). So i do not know what to put inside struts for

RE: Putting a field into the REQUEST

2005-01-06 Thread Krishna Mohan Radhakrishnan
Hi David, Thanx it is working. But my original problem still exists. The request does not contain this field. But if I am using a java scriptlet like <% request.setAttribute("regularPlan","true"); %> Then it is working I want to do a similar operation in struts. Any idea? Regards, Krishna Mohan

RE: Putting a field into the REQUEST

2005-01-06 Thread David G. Friedman
Try a closing slash so your line: Becomes: ^^^ Regards, David -Original Message- From: Krishna Mohan Radhakrishnan [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 11:55 PM To: Struts Users Mailing List Subject: Putting a field

Putting a field into the REQUEST

2005-01-06 Thread Krishna Mohan Radhakrishnan
Hi all, Could any body tell me why does this error occur? /acctmgmt/updatePlanProfileContent.jsp(159): The TLD description for tag 'hidden' requires that the body be empty. probably occurred due to an error in /acctmgmt/updatePlanProfileContent.jsp line 159: I wanted to set a hidden field in th

RE: formatting of strings

2005-01-06 Thread Krishna Mohan Radhakrishnan
No erik, I didn't use any format key bundles as such. I used the format property and not formatKey. I don't know how to create a bundle called "TelephoneFormatResources" This is how I used the bean. Regards Krishna Mohan R -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED]

Re: Please explain Struts Chain

2005-01-06 Thread Frank W. Zammetti
Joe Germuska wrote: Well, the sequence itself is fairly static, although technically you could probably modify the chain catalogs. However, what I think you're actually asking isn't so complicated; you just want to be able to execute the chain differently, or execute different chains based on t

Re: Please explain Struts Chain

2005-01-06 Thread Joe Germuska
At 9:35 PM -0500 1/6/05, Frank W. Zammetti wrote: Question: Can you dynamically alter the chain sequence on a per-request basis? Well, the sequence itself is fairly static, although technically you could probably modify the chain catalogs. However, what I think you're actually asking isn't so co

Re: Please explain Struts Chain

2005-01-06 Thread Frank W. Zammetti
Question: Can you dynamically alter the chain sequence on a per-request basis? The reason I ask is with regard to my Struts Web Services project... Currently, it uses a custom request processor to recognize a WS request, does some preprocessing and then essentially forwards the request on to i

Re: ActionHelpers with FZLISTS

2005-01-06 Thread Frank W. Zammetti
Cool :) Frank Dakota Jack wrote: Frank, Frank You can get the ActionServlet from any Action getActionServlet() and in ActionServlet you will find this. Notice that the method is protected. Jack // - Processing Methods /** * Return an

RE: Displaytag, number formatting, and sorting

2005-01-06 Thread Barnett, Brian W.
Use a column decorator. And create your decorator class something like this: public class MoneyDecorator implements ColumnDecorator { public MoneyDecorator() { super(); } public String decorate(Object value) { String decoratedVal

Re: formatting of strings

2005-01-06 Thread Erik Weber
Are you sure it's not formatKey="format1" instead of formatKey="###-##-"? For example: (assuming the bundle exists, has the key "format1" which has the value "###-##-") instead of: Makes more sense to me . . . Erik Krishna Mohan Radhakrishnan wrote: Sorry Tommy, The thing that u said s

Re-sizing button/label with ?

2005-01-06 Thread john . chesher
Sorry for the newb question. I am getting better with Struts, but remain very weak on HTML.. The pages I have created with simple HTML and Struts tags have a larger font/element size to them than most sites I frequent, so I wanted to make them smaller. I haven't learned CSS yet (soon!) so I i

RE: Attributes Initialization

2005-01-06 Thread David G. Friedman
Eli, Where is the throws clause to match the proper signature? Regards, David -Original Message- From: Eli Segev [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 7:38 PM To: Struts Users Mailing List Subject: RE: Attributes Initialization David, Here it is: public ActionFo

Re: Attributes Initialization

2005-01-06 Thread Eli Segev
Jason, I tried your idea without any success. I start with the init page without any validation. Thanks. Jason Lea <[EMAIL PROTECTED]> wrote: 1. From what I see here you redirect from index.jsp to submit.do. 2. The submit.do action is defined to have validation. 3.*My guess* is that validat

ActionHelpers with FZLISTS

2005-01-06 Thread Dakota Jack
Frank, Frank You can get the ActionServlet from any Action getActionServlet() and in ActionServlet you will find this. Notice that the method is protected. Jack // - Processing Methods /** * Return an Action instance that will

Re: Please explain Struts Chain

2005-01-06 Thread Joe Germuska
At 12:43 PM -0700 1/6/05, Wendy Smoak wrote: Can someone explain what Struts Chain is or point me to some documentation? I see it mentioned occasionally, but I can't find anything that sets out what it is, how it works, and why I might want to use it. Geez, you want documentation? Actually, I was s

RE: Attributes Initialization

2005-01-06 Thread Eli Segev
David, Here it is: public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { Any comments? "David G. Friedman" <[EMAIL PROTECTED]> wrote: Eli, Can you provide the method signature for your execute()

Re: Attributes Initialization

2005-01-06 Thread Jason Lea
1. From what I see here you redirect from index.jsp to submit.do. 2. The submit.do action is defined to have validation. 3.*My guess* is that validation fails, and you are returned to your input page (input="submit.jsp") and the execute method is *not* executed 4. You submit a form from submit.

Displaytag, number formatting, and sorting

2005-01-06 Thread Andy Engle
Hi all, I am using displaytag, and I would like to have a sortable column of large numbers. I want to format these numbers (they're going to be dollar amounts, like 1,400.00, 6.99, and the like), but it seems that I cannot have the fancy number formatting and have that column sortable all at the

RE: Attributes Initialization

2005-01-06 Thread David G. Friedman
Eli, Can you provide the method signature for your execute() method? The only time I've ever had execute() get skipped was when I used the wrong parameters to it so I was, essentially, creating a dummy execute method. Regards, David -Original Message- From: Eli Segev [mailto:[EMAIL PROT

Re: Attributes Initialization

2005-01-06 Thread Eli Segev
Wendy, I know that the method is not executed, because I put a 'print' statement as the first line in the method. The 'print' statement does not appear initially in Tomcat. It does appear only after submitting the form. I also added a no-arg constructor for the action class. It is used onl

Re: Attributes Initialization

2005-01-06 Thread Wendy Smoak
From: "Eli Segev" <[EMAIL PROTECTED]> > index.jsp redirect to 'submit', which is defined as a global forward as 'submit.do'. If you're redirecting to submit.do, given the configuration you've posted, SubmitAction should be executing. What do you have in execute()? Why do you think it _isn't_ ex

RE: Attributes Initialization

2005-01-06 Thread Eli Segev
Jim, The 'execute' method of 'SetupSubmitAction' is never called. The 'execute' method of 'SubmitAction' is called after pressing the 'submit' button. I think that you are suggesting to have two 'actions' with the same form. One to initialize and one to process. For some reason the first a

RE: ValidWhen validation

2005-01-06 Thread Betty Koon
Matt, Have you tried putting just white spaces in the field for first name in the third test case. It will pass which is incorrect, that's the part I don't understand and got stucked on. It looked like validwhen treated all whitespace string value for a field the same way as the field is null.

RE: Switching across multiple web application

2005-01-06 Thread David G. Friedman
Ashutosh, What is your container? Tomcat? JBoss? I know in Tomcat you can set your application to be accessible to all webapps on the server. So, you could store a token in the application scope, use that as part of a link to another struts webapp (not module), then pull up the other webapp's

RE: Attributes Initialization

2005-01-06 Thread Jim Barrows
Okay, let's see if I can try You type into the browser: /context/setupSubmit.do Which you have mapped to: Which should struts-forward to /submit.jsp. Then when you click the submit button, the form has as it's url: /submit.do Which will forward to your successful submit page. Which of

RE: ValidWhen validation

2005-01-06 Thread Betty Koon
You mean the validator xml file? non_whitespace ^\S+$ test ((b == 'false') or (*this* != null)) mask ${non_whitespace} Field B is a check box. Field A is a textbox.

Re: Attributes Initialization

2005-01-06 Thread Eli Segev
The property in this particular case is a list of beans. I have not yet found how to initialize a list in struts-config.xml. Janarthan Sathiamurthy <[EMAIL PROTECTED]> wrote: Hi, In the form bean definition in struts-config.xml, when u r defrining a property, you can use - So whenever the f

Re: Attributes Initialization

2005-01-06 Thread Eli Segev
I am aware that my 'redirect' does not make sense. But, this is a different issue. My question is why the initial action does not invoke the 'execute' method. It has to do with redirect, but how? Having two actions, one for initialization and one for submit will not resolve this situation, s

Re: Dynamic html input tag generation and form validation

2005-01-06 Thread Hubert Rabago
It can be done. Familiarize yourself with indexed properties and the iterate tags. Search through the archive for "indexed" properties, or "arrays" in forms, or questions about the "iterate" tags. (If you're feeling adventurous, check out the thread for when Rick Reumann's encountered a similar

Re: ValidWhen validation

2005-01-06 Thread Matt Bathje
Betty Koon wrote: It's Server side. -Betty -Original Message- From: Matt Bathje [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 2:15 PM To: Struts Users Mailing List Subject: Re: ValidWhen validation Betty Koon wrote: My question is even if I type 123 in the field, it still com

Re: Attributes Initialization

2005-01-06 Thread Wendy Smoak
From: "Eli Segev" <[EMAIL PROTECTED]> > Here is the portion that defines the action: > > type="segev.SubmitAction" > input="/submit.jsp" > name="submitForm" > scope="request" > validate="true"> > >

RE: ValidWhen validation

2005-01-06 Thread Betty Koon
It's Server side. -Betty -Original Message- From: Matt Bathje [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 2:15 PM To: Struts Users Mailing List Subject: Re: ValidWhen validation Betty Koon wrote: > My question is even if I type 123 in the field, it still complains > abo

Dynamic html input tag generation and form validation

2005-01-06 Thread meena r
Hi, Based on some database coutn I have to render a certain dynamic number of html:text tags and render it on the html page. And based on the values entered in the html:text(which have been generated) I need to do form validation and render the page back to the user in case of errors Is there an

Re: ValidWhen validation

2005-01-06 Thread Matt Bathje
Betty Koon wrote: My question is even if I type 123 in the field, it still complains about the field is required?? I am really confused now ... Ahh, missed that one - is it Javascript or server-side validation doing the complaining? Matt -

RE: ValidWhen validation

2005-01-06 Thread Betty Koon
My question is even if I type 123 in the field, it still complains about the field is required?? I am really confused now ... -Betty -Original Message- From: Matt Bathje [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 2:03 PM To: Struts Users Mailing List Subject: Re: ValidWh

Re: [validator] indexed properties

2005-01-06 Thread William Ferguson
Thanks for the explanation Matt, I sure wasn't expecting the validator to be looking for a 'quantity' property on the elements of the array. Seems totally inconsistent to me. I expected to be able to signify the validation field as an array of elements or indexed etc and have the validator iterat

Re: ValidWhen validation

2005-01-06 Thread Matt Bathje
Betty Koon wrote: Matt, I have also tried to match a different mask like ^123$ for a test. And it always complains about the field is required. Any idea? It is the same basic problem, you are saying now that the field is required and that it must be the string "123". I was thinking about this a

Re: Attributes Initialization

2005-01-06 Thread Eli Segev
Wendy, Here is the portion that defines the action: Obviously this definition does not make the initial action go through the 'execute' method. I don't know what changes are necessary here. Any suggestions? The starting page is index.jsp that looks like

RE: ValidWhen validation

2005-01-06 Thread Betty Koon
Matt, I have also tried to match a different mask like ^123$ for a test. And it always complains about the field is required. Any idea? -Betty -Original Message- From: Matt Bathje [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 1:38 PM To: Struts Users Mailing List Subject:

Re: [OT] WinCVS problem (free beer!)

2005-01-06 Thread Frank W. Zammetti
Yep, TortoiseCVS is what I'm using, as it was the only one I got working :) Does the job though. I was under the impression that you could browse a CVS repository with most of these tools, and that doesn't seem to be the case. Maybe the one in Eclipse can do it, but most don't seem to have tha

Re: ValidWhen validation

2005-01-06 Thread Matt Bathje
Betty Koon wrote: That's originally what I have (without mask), the non-whitespace check is not performed by validwhen. I wasn't sure if I can use validwhen together with mask. I was able to use validwhen in conjunction with email validator though. You can use validwhen and mask together. The probl

Re: Best tutorial

2005-01-06 Thread Janarthan Sathiamurthy
Hi, I feel struts-documentation.war has all for a good tutorial. Best Regards, Janarthan S Vamsee Kanakala <[EMAIL PROTECTED]> wrote: uma.k wrote: >Where can I get the best tutorial on struts? > > > http://www.reumann.net/struts/main.do -VK

Re: Best tutorial

2005-01-06 Thread Janarthan Sathiamurthy
Hi, I feel struts-documentation.war has all for a good tutorial. Best Regards, Janarthan S Vamsee Kanakala <[EMAIL PROTECTED]> wrote: uma.k wrote: >Where can I get the best tutorial on struts? > > > http://www.reumann.net/struts/main.do -VK

RE: ValidWhen validation

2005-01-06 Thread Betty Koon
That's originally what I have (without mask), the non-whitespace check is not performed by validwhen. I wasn't sure if I can use validwhen together with mask. I was able to use validwhen in conjunction with email validator though. -Betty -Original Message- From: Matt Bathje [mailto:[EMAI

Re: ValidWhen validation

2005-01-06 Thread Matt Bathje
Betty Koon wrote: Hi all, I am trying to do the form field A and B. Here is the example: Field A will be required and should contain a non-whitespace string if B is true. Here is the rule segement I defined in the validation.xml. I can't get it work correctly. Can someone tell me what I am doing

Re: How to implement OR functionality in STRUTS

2005-01-06 Thread Janarthan Sathiamurthy
Hi Guys, Don't reinvent the wheel. I am sure this AND and OR functionality is already done by Niall pemberton. I am unable to get the link for the download though. Regards, Janarthan S Neil Erdwien <[EMAIL PROTECTED]> wrote: I agree that if the "..." is long, or if there are lots of them, then

ValidWhen validation

2005-01-06 Thread Betty Koon
Hi all, I am trying to do the form field A and B. Here is the example: Field A will be required and should contain a non-whitespace string if B is true. Here is the rule segement I defined in the validation.xml. I can't get it work correctly. Can someone tell me what I am doing it wrong. Tha

Re: Attributes Initialization

2005-01-06 Thread Janarthan Sathiamurthy
Hi, In the form bean definition in struts-config.xml, when u r defrining a property, you can use - So whenever the form bean will be used, for the field 'myField', struts will populate its value as 'THIS_VALUE_WILL_BE_DISPLAYED' Best Regards, Janarthan S Richard Yee <[EMAIL PROTECTED]> wr

Re: Install Struts

2005-01-06 Thread Janarthan Sathiamurthy
Hi, To get started, copy the struts-blank.war file(available in the distribution) to the webapps directory of tomcat and start tomcat. Best Regards, Janarthan S Vijaya S <[EMAIL PROTECTED]> wrote: Hello, I downloaded the source version of the Struts software. How do I start the Struts applic

RE: Partial Validations

2005-01-06 Thread Janarthan Sathiamurthy
Hi, Hint - DynaValidatorActionForm Best Regards, Janarthan S Jim Barrows <[EMAIL PROTECTED]> wrote: > -Original Message- > From: Apte, Dhanashree (Noblestar) [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 06, 2005 12:20 PM > To: 'Struts Users Mailing List' > Subject: Partial Valid

RE: Please explain Struts Chain

2005-01-06 Thread Jim Barrows
> -Original Message- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 06, 2005 12:43 PM > To: Struts Users Mailing List > Subject: Please explain Struts Chain > > > Can someone explain what Struts Chain is or point me to some > documentation? > I see it mentioned

Please explain Struts Chain

2005-01-06 Thread Wendy Smoak
Can someone explain what Struts Chain is or point me to some documentation? I see it mentioned occasionally, but I can't find anything that sets out what it is, how it works, and why I might want to use it. Thanks, Wendy Smoak -

RE: Partial Validations

2005-01-06 Thread Jim Barrows
> -Original Message- > From: Apte, Dhanashree (Noblestar) [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 06, 2005 12:20 PM > To: 'Struts Users Mailing List' > Subject: Partial Validations > > > > I have a UserForm which holds data for two wizard-type data > entry pages, > meaning,

Partial Validations

2005-01-06 Thread Apte, Dhanashree (Noblestar)
I have a UserForm which holds data for two wizard-type data entry pages, meaning, a user enters half the information on one page, hits NEXT, enters the remaining information on the next page and hits SUBMIT. Example: UserForm has name, id, dob, countryOfResidence being populated from the first pa

Re: isRequestedSessionIdValid is returning false for the first time

2005-01-06 Thread ans
Thanks Craig for the reply. --- Craig McClanahan <[EMAIL PROTECTED]> wrote: > On Wed, 5 Jan 2005 17:16:46 -0800 (PST), ans > <[EMAIL PROTECTED]> wrote: > > Hi, > > I am in the process of converting a webapp written > > using servlets in to struts actions. > > > > When I open the browswer and when

Re: Attributes Initialization

2005-01-06 Thread Wendy Smoak
From: "elisegev1" <[EMAIL PROTECTED]> > Can anyone suggest why the 'execute' is never called before the > initial display of the form? What URL do you use to get the initial display of the form? It sounds like you're allowing direct access to the JSP rather than forcing everything to go through a

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread J . Patterson Waltz III
On 6 janv. 05, at 18:13, Guillaume Cottenceau wrote: I also have another filter, the ResponseOverrideFilter used by displaytag, which appears before the SetCharacterEncodingFilter in my web.xml. I wonder if it could be interfering with the SetCharacterEncodingFilter? Yes, if it reads the request pa

Re: Attributes Initialization

2005-01-06 Thread Eli Segev
Richard, Thanks for the suggestion. An action is already defined in struts-config.xml with two 'forward' definitions - 'success' and 'failure'. Is there an 'initialize' forward? Richard Yee <[EMAIL PROTECTED]> wrote: It is because the action class execute method is only executed when the

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread Guillaume Cottenceau
J.Patterson Waltz III writes: > On 6 janv. 05, at 17:44, Guillaume Cottenceau wrote: > > > J.Patterson Waltz III writes: > > > >> Notice in the third line of the form data: > >> &personTO.comments=%C3%A9t%C3%A9 > >> That's 'été' URLencoded as UTF-8. > >> > >> So I'm still stumped. :-( > > > > B

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread J . Patterson Waltz III
On 6 janv. 05, at 17:44, Guillaume Cottenceau wrote: J.Patterson Waltz III writes: Notice in the third line of the form data: &personTO.comments=%C3%A9t%C3%A9 That's 'été' URLencoded as UTF-8. So I'm still stumped. :-( But that's exactly what you want. The SetCharacterEncodingFilter will set the c

Re: Bean Write formatKey/Bundle problem

2005-01-06 Thread Craig McClanahan
If the server you are running on is in Denmark, then it's likely that the server's default Locale is in fact Danish instead of English. Therefore, when the user attempts to use a Locale you don't have a bundle for, it will fall back to the Danish version of your resources. If you really want Engl

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread Guillaume Cottenceau
J.Patterson Waltz III writes: > Notice in the third line of the form data: > &personTO.comments=%C3%A9t%C3%A9 > That's 'été' URLencoded as UTF-8. > > So I'm still stumped. :-( But that's exactly what you want. The SetCharacterEncodingFilter will set the character encoding of the HttpServletRequ

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread J . Patterson Waltz III
On 6 janv. 05, at 17:17, Guillaume Cottenceau wrote: J.Patterson Waltz III writes: On 6 janv. 05, at 15:52, J.Patterson Waltz III wrote: Now, I guess I'll just have to try using the character encoding filter Guillaume recommended. Ack! I'm about to pull my hair out over these encoding issues. I a

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread Guillaume Cottenceau
J.Patterson Waltz III writes: > On 6 janv. 05, at 15:52, J.Patterson Waltz III wrote: > > > > > > Now, I guess I'll just have to try using the character encoding > > filter Guillaume recommended. > > Ack! I'm about to pull my hair out over these encoding issues. I added > the SetCharacterEncodin

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread J . Patterson Waltz III
On 6 janv. 05, at 15:52, J.Patterson Waltz III wrote: Now, I guess I'll just have to try using the character encoding filter Guillaume recommended. Ack! I'm about to pull my hair out over these encoding issues. I added the SetCharacterEncodingFilter from the Tomcat 5 distribution to my web appl

Re: [validator] indexed properties

2005-01-06 Thread Matt Bathje
William - The problem here is that validator is expecting quantityArray to contain a property called quantity for each element it contains. (For example: quantityArray[0].quantity, quantityArray[1].quantity etc.) Since quantityArray is an array of Integer, it obviously does not contain a proper

Re: Character encoding problems after 1.1 to 1.2.4 upgrade

2005-01-06 Thread J . Patterson Waltz III
On 5 janv. 05, at 13:30, J. Patterson Waltz III wrote: in article [EMAIL PROTECTED], Josh Cronemeyer at [EMAIL PROTECTED] wrote on 4/01/05 18:02: J. Patterson Waltz III wrote: Merci Guillaume, I had actually seen the references to the Filter solution in the comments of Struts bug 16191 in Bugzil

Out of Memory when compiling JSP (Struts app on Tomcat 4.1.27/Windows)

2005-01-06 Thread David Johnson
Hi all (I forgot to mention this is all happening on a Windows 2000 server) I'm working on an application currently that is experiencing some intermittent memory problems when installed onto our "integration test" server, but not on the development staff's local laptops. I have attempted to incre

Re: How to avoid "Missing message for key "my.key" exception...

2005-01-06 Thread Guillaume Cottenceau
"Ilja Smoli" writes: > Thx for reply: > but problem is that I'd like to check it in jsp at runtime... Create an ActionMessage object. -- Guillaume Cottenceau - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Fwd: Out of Memory when compiling JSP (Struts app on Tomcat 4.1.27)

2005-01-06 Thread chachany
Hi all I'm working on an application currently that is experiencing some intermittent memory problems when installed onto our "integration test" server, but not on the development staff's local laptops. I have attempted to increase the maximum memory available to Tomcat by creating a global envir

Re: 2 Q abort renderen a options collection

2005-01-06 Thread Jeff Beal
First one: 1) set multiple="true" on your tag. 2) Create a product_id property on your form bean that is a String array: public String[] getProduct_id() { } public void setProduct_id(String[] newValue) { } (I think so, anyway. I haven't done this for a while, but I think this is the way it w

2 Q abort renderen a options collection

2005-01-06 Thread marc
First one: Have do I collect multiple choice's from a options group? *CODE* *CODE END* If I have the above. Then have do I collect the choice into an array, when I submit?? Second: I wanna do something fancy with my options box's. I wanna have one options box with the

RE: formatting of strings

2005-01-06 Thread Krishna Mohan Radhakrishnan
Sorry Tommy, The thing that u said simple didn't not work out.. Do u have any other ideas. Are u sure that it is # only. Or is it any other character.. INFOSYS TECHNOLOGIES LIMITED 3rd Floor | "Bhavani" Technopark | Trivandrum 695 581 | India Phone +91 471 2700888 Extn 7365 | Mobile: +91

Re: How to avoid "Missing message for key "my.key" exception...

2005-01-06 Thread Ilja Smoli
Thx for reply: but problem is that I'd like to check it in jsp at runtime... "Guillaume Cottenceau" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Ilja Smoli" writes: > > > Hi > > How to check is a message present for particular key in message resources > > before displaying it? T

Re: Struts Jar file error

2005-01-06 Thread Derek Broughton
On Thursday 06 January 2005 03:52, Vijaya S wrote: > Struts.jar file exist in Jakarta-struts-1.2.4\lib folder. When I execute > this jar file, I get the following error. > > “Failed to load Main-Class manifest attribute from > c:\Jakarta-struts-1.2.4\lib\struts.jar” And you expected what? It's no

Re: How to avoid "Missing message for key "my.key" exception...

2005-01-06 Thread Guillaume Cottenceau
"Ilja Smoli" writes: > Hi > How to check is a message present for particular key in message resources > before displaying it? To avoid exception? Use null="false" in

RE: [OT] WinCVS problem (free beer!)

2005-01-06 Thread Daniel Perry
Give tortoisecvs a try. I personally prefer it to wincvs. http://www.tortoisecvs.org/download.shtml After trying both (and eclipse), i came up with the conclusions: eclipse is the easiest (so use it if using eclipse) tortoise provides nice shell integration that gives an almost 'human' perspec

How to avoid "Missing message for key "my.key" exception...

2005-01-06 Thread Ilja Smoli
Hi How to check is a message present for particular key in message resources before displaying it? To avoid exception? Thx in advance.. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: JBoss configuration for struts

2005-01-06 Thread James Mitchell
jboss-4.0.1\server\default\deploy\jbossweb-tomcat50.sar\server.xml ... ... -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "sachin" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thurs

Re: JBoss configuration for struts

2005-01-06 Thread sachin
thanks for ur assistance . i am able to deploy the application on JBoss. Now i want to know if i want to change the default port of 8080 to something else where can i do that ? there are so many xml files that i am confused .. Regards, Sachin Hegde Software Developer Paradyne Infotech Limited ,

Re: formatting of strings

2005-01-06 Thread Pavel Kolesnikov
On Thu, 6 Jan 2005 13:37:47 +0530, Krishna Mohan Radhakrishnan <[EMAIL PROTECTED]> wrote: > The below mentioned is the code. But from the address class we will > retrieve it as 10 digit string. > > > > For example if 9845612345 is the number I want to display it as > follows. > 984-561-2345 W

SV: formatting of strings

2005-01-06 Thread Tommy Holm - TELMORE
Hi It's actually very simple. A better solution would be to create a ressource bundle - lets say TelephoneFormatResources.properties and create an entry in that file- something like format1=###-###- The use the bundle instead It will then take the format from the bundle instead of the jsp

Bean Write formatKey/Bundle problem

2005-01-06 Thread Tommy Holm - TELMORE
Hi everybody. I have a problem with the bean:write tag. I have a jsp page with the following text and I have create two ressource bundles FormatResources.properties and FormatResources_da.properties. The idea here is that there is a defualt bundle that holds the currencyformat for the smsMessagesP

Re: JBoss configuration for struts

2005-01-06 Thread HG
Hi It's no different from a Tomcat installation. Checkout http://struts.apache.org/userGuide/installation.html In JBoss (depending on version, I use 3.2.6) you find the web deployment descriptor in the deploy dir of you JBoss server. The directory is called something like "jbossweb-tomcat50.sar",

RE: JBoss configuration for struts

2005-01-06 Thread Marco Mistroni
Hello, I suppose it's enough to drop your war file in the deploy dir... Regards marco -Original Message- From: sachin [mailto:[EMAIL PROTECTED] Sent: 06 January 2005 08:37 To: Struts Users Mailing List Subject: JBoss configuration for struts hi , i am using jboss an

JBoss configuration for struts

2005-01-06 Thread sachin
hi , i am using jboss and struts , and no ejb .. For this please tell me 1. how do i configure the server and start the application ? 2. where do i store my files ? Regards, Sachin Hegde Software Developer Paradyne Infotech Limited , Mumbai 09324546711 "I can see clearly now, the brain is gon

formatting of strings

2005-01-06 Thread Krishna Mohan Radhakrishnan
Hi all, I have a class called address. I want to display the the telephone number from it. The below mentioned is the code. But from the address class we will retrieve it as 10 digit string. For example if 9845612345 is the number I want to display it as follows. 984-561-2345 Is there any ide