RE: what will happen if I have Data Types other than java.lang.String in my formbean - say java.util.date?

2002-02-09 Thread Krueger, Jeff
Kevin, Check out a formatting class that Ron Smith has developed. http://www.rpsenterprises.com/struts/index.html Jeff Krueger -Original Message- From: Kevin Wang [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 4:02 PM To: struts Subject: what will happen if I hav

RE: HTML tags - WHY?

2002-02-07 Thread Krueger, Jeff
One thing is it will populate the tag with the value from your formBean. Jeff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 3:00 PM To: Struts Users Mailing List Subject: HTML tags - WHY? Can someone help me understand why st

RE: Jsp in another Jsp using struts

2002-02-05 Thread Krueger, Jeff
I think you want to use templates. That should solve your problem Jeff Krueger -Original Message- From: Kalpana RamiReddy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 11:01 AM To: Struts Users Mailing List Subject: RE: Jsp in another Jsp using struts I want to add a j

RE: Is there a global constructor I can use to initialise application wide beans?

2001-12-24 Thread Krueger, Jeff
Create a class that extends javax.servlet.http.HttpServlet. In the init method create your beans and put them in session. Then in your web.xml add another servlet entry specifying the class that you just created and give it a number less than the one you have for your struts controller. That s

RE: Adding a button

2001-12-24 Thread Krueger, Jeff
Did you try to add the extra form like Jeff Martin had talked about. The code inside your jsp would look something like this. Jeff Krueger -Original Message- From: George White [mailto:[EMAIL PROTECTED]] Sent: Monday, December 24, 2001 7:43 AM To: Struts Users Mailing List Subject

RE: possible to keep old and new values inside of a form bean

2001-12-14 Thread Krueger, Jeff
One way is to have a old and new variable in your form bean. Leave all the old variables empty when the form bean is sent to the jsp for the first time. When the user makes their changes and submits them check in the set method of the form bean to see if the data changed. If it did then save t

Transaction Token without a struts form?

2001-12-07 Thread Krueger, Jeff
All, I am working on implementing transaction token so my app can handle when the user click the back button on the web browser. Our application doesn't always use a struts form because we often have to display unknowen number of rows of data, so that doesn't map well to a form bean. So sen

RE: Formatting a float for display

2001-11-14 Thread Krueger, Jeff
Open Solutions www.neosllc.com "You supply the vision, we'll do the rest." -----Original Message- From: Krueger, Jeff [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 11:04 AM To: '[EMAIL PROTECTED]' Subject: Formatting a float for display All, My guess

Formatting a float for display

2001-11-14 Thread Krueger, Jeff
All, My guess is there is some easy way to do this. I have a formBean that has a get and a set for a value that is a float. I want to display this float in a format of #,###.##. I am using java.text.DecimalFormat and that works pretty good except it returns a String. So if I change my get

RE: Silverstream, struts and UTF-8 Encoding

2001-11-02 Thread Krueger, Jeff
Russell, This comes from the SilverStream admin guide on page 90. It tells you how to change it in the httpd.props file, but you might be able to get it to work via the web.xml. _ Specifying character set e

RE: SilverStream 3.5.2

2001-10-25 Thread Krueger, Jeff
Brian, I have built several struts apps on top of Release3.7.2 Build (010502-01) and don't have any problems with losing session information. If you want to send me some examples of your action classes and pages I would be happy to look at them. You can e-mail then directly to me at [EM

RE: multibox and reset() "ERIK"

2001-10-02 Thread Krueger, Jeff
in the case you are navigating directly to the JSP page rather than going through a Struts action to get to the JSP page. So more succintly, initialize values in reset and that should fix the issue you described. Did you try that? Erik - Original Message - From: "Krueger, Je

RE: Thanks ....... AgStream & Struts

2001-10-02 Thread Krueger, Jeff
One other minor issue that I have seen is if your database name that you added to the server is the same name as the url for you application (web.xml) then the appserver will have some problems. So if your database name in the server is testapp (the name you have in your web.xml file for the url)

RE: multibox and reset() "ERIK"

2001-10-02 Thread Krueger, Jeff
led - this is all assuming you are going through a Struts action for that request. My patch has been committed to Struts CVS, so its available in the nightly builds (I presume, unless those builds are running on a different branch or something). Erik - Original Message ----- From: &quo

RE: Thanks ....... AgStream & Struts

2001-10-02 Thread Krueger, Jeff
Joey, Most the time that I have seen this problem in AG373 it is because there is problem finding the dtd for the struts config file, therefore the controller servlet won't be setup correctly. Is there any errors on your appserver saying that it can't find the struts-config_1_0.dtd. Oft

RE: Struts with SilverStream

2001-10-02 Thread Krueger, Jeff
Wolfgang, Can you please send me more info on your war and what version of SilverStream that you are using. I have developed several apps on SilverStream with struts that all run on tomcat as well. Are you using the Workbench tool? It helps with deployment a lot. You can also use ant

RE: multibox and reset() "ERIK"

2001-10-02 Thread Krueger, Jeff
Erik, I believe your patch will solve my problem but I'm not sure. I have a page with many multibox tags on it. When I select several of them my form bean is correctly populated with a string array. If I come back to the page all the correct boxes are checked. If I remove all the chec

RE: Any idea why this form is not being submitted.

2001-08-30 Thread Krueger, Jeff
Title: RE: Any idea why this form is not being submitted. end your form tag -Original Message- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 2:35 PM To: Struts Subject: Any idea why this form is not being submitted. Hi I have a form that has one t

RE: STRANGE: session.invalidate() is not invalidating the session

2001-08-30 Thread Krueger, Jeff
Title: RE: STRANGE: session.invalidate() is not invalidating the session You have to go through a action class before your welcome.jsp, but there is a thing called a transaction token.  Is what this does is generates a unique number and puts it in a hidden field on you page if your using a st

RE: Downloading a file from a action class

2001-08-16 Thread Krueger, Jeff
Title: RE: Downloading a file from a action class Dave,     Thanks for the response.  I am going to be writing this today.  I will let you know how it goes, but were no using frames, just templates. Thanks Jeff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE

RE: logic:iterator indexId?

2001-07-10 Thread Krueger, Jeff
Lucas, I'm not 100% sure of what your asking, but maybe this will help. Jeff Krueger <%int i=0;%> "/> -Original Message- From: Mimpin Halim [Lucas] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001

RE: File Upload Problem

2001-06-26 Thread Krueger, Jeff
I just got done fighting this problem for the last week. Upgrade to struts 1.0 and that will solve your problem. Jeff Krueger -Original Message- From: Darryl Pentz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 26, 2001 4:38 AM To: [EMAIL PROTECTED] Subject: File Upload Problem Hi al

RE: select options doesn't work

2001-06-15 Thread Krueger, Jeff
In your Form bean change your set method to take a string. public void setMarketList(String marketList) { } You will only get the item the user selected back in your bean, not the whole list. -Original Message- From: Kiet Nguyen To: '[EMAIL PROTECTED]' Sent: 6/15/2001 11:10 A