You shouldn't have to do that. If your form already has all of the values
coming in, unless you reinitialize your form, it will still have them going
out. The only things you may have to fool with are values that where not
submitted with the form.
Am I missing something?
-Original Message--
Most likely the web browser isn't sending the value of the disabled drop
down. Try enabling it via javascript before posting the data to the
servlet.
-Original Message-
From: Swaroop George [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 10:00 AM
To: Struts Users Mailing List
Subj
form redisplay again)
_CJ
On Tuesday 29 July 2003 04:45 am, Mainguy, Mike wrote:
> You shouldn't have to do that. If your form already has all of the values
> coming in, unless you reinitialize your form, it will still have them
going
> out. The only things you may have to fool w
My angle on this is to only load the data from the database when the user is
submitted a request to "read" data. If they are submitting an "update"
action, I don't load the data from the database.
-Original Message-
From: Matt E [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 12:
gs like Radio buttons could be "preselected"
based on what I loaded from the database.
Cheers.
--- "Mainguy, Mike" <[EMAIL PROTECTED]> wrote:
> My angle on this is to only load the data from the
> database when the user is
> submitted a request to "read"
he
same form redisplays again reflecting the updated information.
It just seems that the session still holds on to the previous information
(before the update).
_CJ
On Tuesday 29 July 2003 09:05 am, Mainguy, Mike wrote:
> So you're saying the form that is used to update the data is differ
Whoops, I completely missed that, Red Herring alert!
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 12:56 PM
To: 'Struts Users Mailing List'
Subject: RE: Form Bean Help?
Matt wrote:
> I had been using the value property of the struts-html
> ta
If you have these errors...
> [javac] file org\xml\sax\helpers\DefaultHandler.class not found
Make sure you have xerces.jar in your classpath
Ignore the time warnings or set your clock.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003
All,
I have a question about extended path info. It seems like
an increasingly common way of passing additional information (action/read/update
type info) to the servlet context. Is there any move to suggest this (or has
it been suggested) as an improvement to the framework? It seems
#1 you could just include javascript in the jsp
#2 you could use validator to create a rule (I believe) that could do that
for you.
-Original Message-
From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 7:59 AM
To: Struts Users Mailing List
Subject: Buttons
I my html:javascript looks like this
don't know if those other two attributes matter or not...
In addition, I put the html:javascript tag at the bottom of my page.
For What It's Worth
-Original Message-
From: Prashant Samant [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 7:1
I'll agree, if you're already using Turbine, then struts is really a waste
of time and effort. Just use the turbine framework (it's more complete
anyway IMHO).
If you really want to use struts for portlets, I'd recommend using struts in
a different servlet context and then wrapping it in a port
You should be able to go to cramerLoad.do and all will be well. I put my
.jsp files in WEB-INF with not problems... I Noticed that you didn't
capitalize WEB-INF, that could be a potential problem.
-Original Message-
From: Tridev Kodamasingh [mailto:[EMAIL PROTECTED]
Sent: Thursday, July
I'm in a quandary. We're examining a way
to do simple formatting of our model data. For example, when currency
data comes out of the database, it needs to be rendered as $1,000.00 or
whatever. This is a very common thing and we where going to do it using a
custom formatting object to do
and Struts
One way is to localize inside the getter of the formbean.
.V
Mainguy, Mike wrote:
> I'm in a quandary. We're examining a way to do simple formatting of our
> model data. For example, when currency data comes out of the database,
> it needs to be rendered as $1
r yourself exactly what "this
functionality" really means.
> -Original Message-
> From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 31, 2003 7:44 AM
> To: 'Struts Users Mailing List'
> Subject: RE: JSTL and Struts
>
> I did
: JSTL and Struts
Hey Mike,
Why would you need the formatting inside of an input tag? You are only
processing the data on the server side and that doesn't require formatting
or am I missing something here?
Chuck
-Original Message-
From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
Sent: Th
exactly
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 12:16 PM
To: Struts Users Mailing List
Subject: Re: JSTL and Struts
Mainguy, Mike wrote:
> When I return a currency or date value, the client has a specific format
> they want
Or rather, the value stored in my database
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 12:16 PM
To: Struts Users Mailing List
Subject: Re: JSTL and Struts
Mainguy, Mike wrote:
> When I return a currency or date value, the client ha
My gut reaction would be to use a depends=required on both fields. This
should give you the behavior you desire.
-Original Message-
From: Jones, Marty B. [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 5:37 PM
To: [EMAIL PROTECTED]
Subject: DynaValidatorForm question
I have a
I believe on the apache site there is a "full mbox archive" or something
like that.
-Original Message-
From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 11:01 AM
To: Struts Users Mailinglist
Subject: [OT] Retrieve all messages ever sent to this list
Hi,
he
>>ones registered to a servlet)
>>
>>#2 - I'll have to check with the sysadmin. Where is the number of
>>request processors defined?
>>
>>#3 - I'm using the Jakarta Commons PoolingDataSource. I have used this
>>before without any problems
&
Is the ActionForm in session scope?
-Original Message-
From: Swati [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 4:37 AM
To: [EMAIL PROTECTED]
Subject: How to maintain data b/w pages?
Hi,
I have a wizard to add objects, each wizard screen has
back/next/cancel/finish buttons
Action class (or another class that it contains). Your taglibs should be
for display and format only. They should be a consumer of data, not a
producer.
-Original Message-
From: Seyhan BASMACI (Internet Yazilimlari Yetkilisi)
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 4:5
I usually do it exactly as you described, with a hidden field that is called
"Command" or "Action". There seems to be a split on whether this is a good
practice or not. I, for one, like this way of doing it because you get to
reuse code from the action class and you can very often do your CRUD lo
Crap!
Sorry, I forgot outlook formatted my email as HTML (don't use outlook at
home).
Accept my apologies.
-Original Message-
From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 11:45 AM
To: [EMAIL PROTECTED]
Subject: Struts design consideration
Hello f
I'll certify it for $1000
-Original Message-
From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 12:02 PM
To: [EMAIL PROTECTED]
Subject: J2EE certified
A colleague mentioned to me something about getting J2EE certified. I
could only find getting an app
Hello fellow struts-users.
I have a quick question. In what manner is everyone mapping
their actions?
Do you have multiple actions per action class or just one
action per action class.
We're working on a demo application and extension framework,
but are rather undecided on whethe
The closest I ever came to this sort of problem involved the following:
#1 Sending static content (and lots of it) through the servlet engine
instead of using the web server.
#2 Not having enough request processors and listeners configured.
#3 Not using pooling for my connections and killing th
Hmmm, and I thought all the trolls lived in Slashdot...
;)
-Original Message-
From: Jitesh Sinha [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 10, 2003 11:08 AM
To: Struts Users Mailing List
Subject: Struts is incomplete
I guess Struts development is not yet complete.
Since one of the
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
MyDynaValidatorActionForm ourForm = (MyDynaValidatorActionForm)
form;
...
Do all our magic to get th
1.1 is no longer beta. It has been released since the end of July. I
haven't heard of any show stopping problems with it and am fairly confident
it is a good choice for any projects going forward. I think the document
you are referring to is a bit dated.
-Original Message-
From: [EMAIL
The short answer is, you cannot always depend on javascript. There is a
small percentage (Probably less than 1% I would expect) of users who either
disable javascript or don't have it in their browser (e.g. lynx). In these
cases you will have no validation. Also there are differences between how
I will put money on the fact that nobody on this list wants to read about
your idiotic conspiracy theories. Please amuse yourself by trolling on
Slashdot or usenet and stop wasting our time.
-Original Message-
From: object worlds [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003
while, and just wanted to double check that
conspiracy theorys were still tolerated on fridays...
> -Original Message-
> From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 19, 2003 2:19 PM
> To: 'Struts Users Mailing List'
> Subject: RE
For those of us who think "outside the box" could you elaborate on what you
are asking? My copy of struts was downloaded from the internet, it came
with no box ;)
-Original Message-
From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 10:37 AM
To: 'Struts Us
Have been bitten by the design bug lately.
Mohan
-Original Message-----
From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 8:26 PM
To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]'
Subject: RE: Struts as a framework
For those of us who thi
I would have said netbeans a year ago, but now I'm an eclipse 2 (2.1) fan.
Haven't tried any recent (last 6 months) IDEs other than eclipse.
-Original Message-
From: Greg Reddin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 5:09 AM
To: Struts Users Mailing List
Subject: Re: J
I have had this problem too. I'm not sure why this happens, but, at home I
very often get messages that are far into the future (or past). I'm
thinking it's an Evolution problem because I don't have the same problem
under outlook.
-Original Message-
From: Keith Pemberton [mailto:[EMAIL P
>>If you are using scriptlets, move the scriptlet code to an Action class.
>>Then link through the Action class to run that code first. If the code
>>created scripting variables before, use request properties instead.
>>Likewise, any place where you were using request parameters, start using
>
It looks like your webapp is named "taglib", if so, change your action
mapping to 'path="/jsp/submit" ' and all should be well. The action mapping
path is relative to your webapp (or module, but, that's for a later date).
-Original Message-
From: Bradley Handy [mailto:[EMAIL PROTECTED]
S
Are those typos in your jsp?
===>>>mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 5:38 AM
To: [EMAIL PROTECTED]
Subject: populating Drop down -pls help
Hello,
I have a JSP in which there are number of dropdown along with text boxes. I
am using struts tag lib for getting the value whe
They left out a very import piece... the struts piece!
Add a file called hello-world/WEB-INF/struts-config.xml (you should have
gotten an error that it was missing I would think) and put the following
content in it...
http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>
BeanUtils.copyProperties (but I'd use a DynaBean instead).
-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 1:22 PM
To: 'Struts Users Mailing List'
Subject: Copying DynaActionForm to Map DTO
Hi all,
I am using both DynaActionForm and a DT
I'm interested in folks response to this also. This is the approach I have
used on 2 different projects and seems to work very nicely. In addition, I
modified the signature of my abstract method (in this case executeTask) to
take a custom ActionForm with some additional functionality. It seems t
Hide your .jsp files in /WEB-INF/foo (I use /WEB-INF/pages) so that the user
cannot navigate directly to them. Alternatively hide them ANYWHERE so they
cannot directly link to them.
-Original Message-
From: Marco Tedone [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 07, 2003 2:03 PM
T
I'm kinda in the middle of this whole process too and this is what I'm
leaning toward
MyProject
|- source(doesn't get deployed)
|- documentation (doesn't get deployed)
|- static (webserver stuff)
|- styles
|- javascript
|- images
|
I think, however that this proposed solution (almost) entirely defeats the
purpose of having a multithreaded environment. If you try and synchronize
all responses and disregard duplicates, you will most likely end up with a
slow and cumbersome application.
I would say to achieve the sort of eff
It might be that \n is interpreted as a char(13) and only 1/2 of the crlf
pair is getting replaced.
-Original Message-
From: Chawla, Yogesh [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 1:22 AM
To: 'Struts Users Mailing List'
Subject: Bug :: Replace \n Character with #
Hi
Perhaps, I have also seen this if you start the server as root then try to
shut it down as a different user...
-Original Message-
From: Suresh Addagalla [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 8:44 AM
To: [EMAIL PROTECTED]
Subject: [OT] Problem stopping Tomcat 4.1.18
1st, Thank you, I didn't realize the logic:Iterate tag had those two
properties, so you've indirectly saved me some effort.
2nd, After looking at the source code for the iterate tag, it looks like it
tries to look up those two values straight out of the pageContext. This
would imply to me, that i
This is by design. If you want to ensure this will not happen, you need to
set all the values to "" or null beforehand for fields that should be empty.
The short answer is "change the field name". Especially if you are going to
store data in a form in the session you will have a big mess on your
I'm not sure what you mean by backwork, but it is accessible from the Action
Class by overridding the setServlet Method..
E.g.
ModuleConfig moduleConfig =
(ModuleConfig)
servlet.getServletContext().getAttribute(
Globals.MODULE_KEY);
The "property" attribute of the tag should point to a boolean property of
the FormBean. If that property is "true" the box will be checked.
...unless you're using an old(er) version of the checkbox tag... I know in
the older (<1.0x) versions this was rather broken (i.e. only a string of 'T'
or 'F
Maybe we could use Struts Technical Forum Users [STFU]
Errr, maybenot.
This message and its contents (to include attachments) are the property of Kmart
Corporation (Kmart) and may contain confidential and proprietary information. You are
hereby notified that any disclosure, copying, or distribu
Can any one explain,What does one mean by Connection Pooling? Is it
advisable to prcatice Connection Pooling and if so,in WHAT CIRCUMSTANCES and
Is there any aspect which should be kept in mind/taken care of while using
Connection Pooing & how connection
pooling changes the working of an Web Appl
Just so I'm clear, the problem is you have 2 different actions that link to
the same jsp and your intent is to have the jsp map to itself under BOTH
paths?
That's an interesting question, you could probably use the href attribute
instead of the action attribute...
Href="show.do" instead of action=
I also would like other's opinion on this. Right now, use a service locator
style class to stuff all my lookup stuff into the request object manually.
I have, however, used collections in the formbeans for this. I can't, off
the top of my head, think of any significant advantages to using a form
Hmmm, that could be entertaining... Change the extension to .asp and sell it
to a microsoft shop...
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 12:34 PM
To: Struts Users Mailing List
Subject: Re: Is it possible to remove *.do o
ending this message, I
guess I'll just dump it out there and see what people think...
Joe
At 12:35 -0400 9/18/03, Mainguy, Mike wrote:
>I also would like other's opinion on this. Right now, use a service
>locator style class to stuff all my lookup stuff into the request
I would use the synchronizertoken and just perform the "read" action if they
are submitting a duplicate.
-Original Message-
From: Shane Mingins [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 10:26 PM
To: 'Struts Users Mailing List'
Subject: RE: Refreshing Form Submission an
I.E. in your Action Class
Public ActionMapping execute
...
boolean isValidSynchronizerToken= isTokenValid(request);
this.saveToken(request);
if (request.getMethod().equals("POST"))
if (isValidSynchronizerToken) {
I haven't tried it, but I've been told that, in tomcat, if you create a file
with that exact name it will work properly. Evidently you cannot specify a
servlet path as a welcome file.
-Original Message-
From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 7:0
}
> }
>
> -Original Message-
> From: Adam Hardy [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 23, 2003 9:05 AM
> To: Struts Users Mailing List
> Subject: Re: .do as welcome-file
>
>
> I can confirm that this hack works for tomcat. Create the dummy file
&
Thread.currentThread()???
-Original Message-
From: Menke, John [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 10:49 AM
To: Struts (E-mail)
Subject: getting the current thread inside an action
Is there a way to get reference to the current thread from within an Action?
---
I have yet another opinion poll for struts-user...
What are folks currently doing for action mappings in relation to CRUD
operations?
Are you:
#1 creating a unique Action mapping for each atomic operation
(potentially mapped to the same action class)
/createUser.do ->> UserAc
Just call the setters on the ActionForm from your Action class and fill the
form with data.
-Original Message-
From: EL AKARI Mehdi [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 6:58 AM
To: Struts Users Mailing List
Subject: How to make a form pre-filled from an action clas
ssage-
From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 11:06 AM
To: [EMAIL PROTECTED]
Subject: [Poll] action mappings
I have yet another opinion poll for struts-user...
What are folks currently doing for action mappings in relation to CRUD
operations?
Ar
all. Is there some reason multiple action
mappings are needed for the same Action?
Matt
- Original Message -
From: "Mainguy, Mike" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, September 25, 2003 9
I personally would assign that value in the Action or somewhere else in the
java code (even default it in the form bean perhaps), not in the jsp. I'm
not sure that you can use a scriptlet variable in a CustomTag.
-Original Message-
From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED]
Sent:
its methods don't return or take as parameters
anything directly from the javax.servlet.* API, but it does return
references to things like the ActionServlet which clearly are dependent on
the servlet API. Thoughts?
Matt
- Original Message -
From: "Mainguy, Mike" <[EMAIL
n 2 votes to #2 including
myself..
-Original Message-
From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 3:47 PM
To: 'Struts Users Mailing List'
Subject: RE: [Poll] action mappings
So far the results are as follows:
#1 5
#2 1
#3 2
#4 0
I added my
factory or 'business delegate') plus a host of mappings.
On 09/25/2003 03:59 PM Mainguy, Mike wrote:
> You don't have to create a different ActionClass for every Operation
> with the same display/FormBean... I.E. If you use the same formbean
> and display component, you don
Whoops!, I goofed up my response, let me clarify.
> From: Sgarlata Matt [mailto:[EMAIL PROTECTED]
>I just find it naturally easier to grasp what is going on with one
>Action and one form bean for each object in my model (and normally one
>factory or 'business delegate') plus a host of mappings.
o me earlier, and will be adding this to my API in the next few
minutes.
Matt
- Original Message -----
From: "Mainguy, Mike" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, September 25, 2003 10:28 AM
Subject: RE
You know, this is an enhancement I've been thinking about. You could
certainly add it as a parameter in the action mapping.
And then you're all set... Of course, then you don't really need a dispatch
action, you need to create your own version that reads this para
Next in my series of struts-user polls (please complain if this gets old).
What sort of ActionForms does everyone use?
#1 ActionForm
#2 DynaActionForm
Personally, I'm an advocate of the DynaActionForm as it seems to be able to
do 80-90% of everything I need to do and everything else can be done
BeanUtils.copyProperties also works with DynaForms (They implement DynaBean
and BeanUtils treats them (for the most part) as POJB's (c).
I will concede that code completion is a definite plus. My only counter to
that would be that, if I'm simply copying all my properties to another class
(Torque
I've not had ANY problems in struts-1.1 that where websphere specific
(mostly they where me not exactly knowing what I was doing). Have you tried
to go directly to welcome.do in your browser?
It could be a problem with the logic:redirect tag in you index.jsp (I've
personally never used it).
--
Original Message-
From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 10:23 AM
To: 'Struts Users Mailing List'
Subject: RE: any known issues with WAS 4.0?
I've not had ANY problems in struts-1.1 that where websphere specific
(mostly they where me not exact
I noticed it contains dtds for struts 1.0 AND struts 1.1 in it. Do you
think I installed the wrong release maybe? I'll hunt down the right jar
file and see if that fixes it...
-Original Message-
From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 10:27 AM
To:
action]
>
> I am totally new to this. It sounds like I'm just doing
> something wrong.
> Does this error help guess what I might need to change? Thanks!,
>
> Jim
>
> -Original Message-
> From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
> Sent: Friday
Generally this means you did not specify the name properly i.e.
Where MyForm= your formbean "name" property (or any bean stuffed in your
request for that matter)
-Original Message-
From: Pat Young [mailto:[EMAIL PROTECTED]
Sent: Friday, October 10, 2003 11:22 AM
To: [EMAIL PROTECTED]
S
Here's my weekly(ish) question:
For the purposes of this discussion, ActionForms also mean DynaActionForms
and the like...
Where does everyone cast their (String) request parameters to the 'proper'
datatype?
#1 My ActionForms only have Strings, I manually cast stuff somewhere else.
#2 My ActionF
That does not compute Your servlet HttpSession is associated with a set
of requests that a specific user makes to a particular servlet. You will,
at any point have many sessions for 1 instance of your servlet.
I believe a session will be created when you call getSession() if one does
not a
Javaservice will do this for you... Check out the tomcat distribution, they
have an example.
worse is better
-Original Message-
From: Vicky [mailto:[EMAIL PROTECTED]
Sent: Monday, November 10, 2003 6:17 PM
To: [EMAIL PROTECTED]
Subject: How to Run Java App. as an NT Service?
Hello All
Although, I don't really see a major problem with storing the options in the
form itself (just to make things simple). Anybody have a compelling reason
NOT to do this?
i.e. I put my statesCollection as a property on my ActionForm with a List
datatype. Then I can just use the form property to pop
Cool, my wife uses that stuff all the time... However, just in case you're
interested...
HTTP Status 400 - Invalid path /US/crafts/crafts/category was requested
type Status report
message Invalid path /US/crafts/c
Call saveToken() in GET (or read)
Test isTokenValid() in the POST (or write) to see if it is a dupe (duplicate
returns false [bad token])
worse is better
-Original Message-
From: Gurpreet Dhanoa [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2003 11:19 PM
To: Struts Users Mai
Also check $CATALINA_HOME/logs and see if there is more information in one
of the log files.
It is certainly not a struts specific problem and the tomcat-user list is
probably a more appropriate location for this query.
worse is better
-Original Message-
From: Gurpreet Dhanoa [mailto:[
Perhaps you don't have a session timeout set in JBoss and you are hitting an
upper limit (65K sessions or something)?
worse is better
-Original Message-
From: Brian McSweeney [mailto:[EMAIL PROTECTED]
Sent: Friday, November 21, 2003 6:11 AM
To: 'Struts Users Mailing List'
Subject: Actio
Excellent! I've not seen that before, can we get that put on in a web form?
Hmmm, maybe that's a weekend project
worse is better
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Friday, November 21, 2003 5:16 AM
To: Struts Users Mailing List
Subject: Re: Lazy que
ver?
Cheers,
Brian
-Original Message-
From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
Sent: 21 November 2003 13:48
To: 'Struts Users Mailing List'
Subject: RE: Actions which create sessions seem to hang
Perhaps you don't have a session timeout set in JBoss and you are hitt
I agree with Richard and Wendy, you probably don't need to actually
instantiate the form, get your bean from somewhere (the ether?) and do a
BeanUtils.copyProperties(dest,source). This will allow a nice decoupling of
your business code from your web application code Alternatively, I would
reco
Welll,
The way I've done this before is to wrap all Exceptions in a Custom type
and throw it all the way back to struts. This seems to work well for
trivial business style apps, I'm not sure how it would hold up in something
with more complexity in the business layer. For example, My CRUD code
I use Jmeter for this. Works very nicely. Assuming your application is
easily scriptable, you can record a series of actions (via the built in
proxy) and replay them in a very short time. It is much easier to use than
QA load and about as easy to use as M$ webcat. It is, however about as
flexib
Same thing, beanutils is designed to work with DynaBeans...
worse is better
-Original Message-
From: Franck [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 4:15 PM
To: 'Struts Users Mailing List'
Subject: Copy properties from DynaActionForm
Hi,
With an ActionForm, there
Welll,
Common misconception, but, technically all java calls are "by value".
That is, there is no such thing in java as passing something "by reference".
The hook is, the value passed in when something is an Object is actually a
reference (aka a pointer) to the existing object.
While you can ma
Yes, you can't use '&' for the same reason you can't use '<' or
(potentially) '>'. They are special characters. There are ways around
this, for a (very) little more info:
http://www.xml.com/pub/a/2003/02/26/qa.html
Kmart Tech News
news://uskihsvtfinsys
The essence of knowledge is, having it
IMHO Schoefferhoffer hefe-weisen is probably one of the best beers in the
world... Of course it is impossible to get in the states so I'm stuck with
JW Dundee's Honey brown lager. Note, anyone in the Heidelberg/ area who
could fax me a few Schoefferhoffers I'll reimburse you the long distance
char
1 - 100 of 114 matches
Mail list logo