We have a web.xml whose <servlet-mapping>s need to be in a certain order (so that *.do) is last. If I copy the correct web.xml to where JBuilder resides, as soon as I start running tomcat to do testing, tomcat (or maybe JBuilder) changes web.xml so that *.do is no longer last. And I even have...
Dear Bangers,
Thank you for your reply.
Actually accum is a primitive, so I can't do the myFloat = accum;
Consider this:
Float myFloat = new Float(textbox.getText()); // get number to be added
accum = accum + myFloat.floatValue(); // add to running total
// How do...
This is a very simple question.
I know I can set the value of a Float at constructor time. E.g.,
Float myFloat = new Float(accum); (where accum is a float)
but once myFloat has been created, how can I change its value? E.g., suppose the value of accum has changed and now I want to set the...
Dear Nebuchednezzar,
Thank you for your creative reply. I guess I am hoping that perhaps there is some property of TDBGrid that I have overlooked that will cause it to act the way I want it to act so that I won't have to write any fancy code. I guess I am a bit stunned that the TDBGrid tells...
I am presenting a TDBGrid to the user. I want him to select one and only one record. If he does not select a record, I want to put out an error message saying 'select a record'. The DataSource for the TDBGrid is a TQuery.
If I use the TDBGrid with the default values, if the user does not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.