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
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
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
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
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
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
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
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
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
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
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
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
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)
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
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
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
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
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
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
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
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
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
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
23 matches
Mail list logo