Does anyone know if it makes any kind of difference if you use * in your
import statements like:
import java.util.*;
vs.
import java.util.Collection;
Is one better than the other? Does one take longer than the other when
compiling/executing?
Thanks,
NG.
Niall et al
*Assuming* your are using websphere 5.0 or 5.1 (and you are not adverse to
running maven scripts)
this primer on installing PlugIns in Websphere should get you started
http://maven-plugins.sourceforge.net/maven-was5-plugin/
Best,
Martin-
- Original Message -
From: Niall
It makes no difference at runtime. At compile-time a wildcard import
can result in longer compile times, but it's one of those things where
you would probably only notice in the aggregate. The difference, most
of the time I'd say, won't be enough to be of any real concern.
There is of
Actually, I deploy on WAS4. We have a WAS5 environment ready, but it
has no been made available to do deployments on for us yet. For my
next project, we will be using WAS5 though.
On 10/9/05, Martin Gainty [EMAIL PROTECTED] wrote:
Niall et al
*Assuming* your are using websphere 5.0 or 5.1 (and
I'm new to Struts. I've a form asking for customer data with fields
like name, address etc. What I want is this kind of flow/design:
Page1) Customer enters their info. Submit button will take them to Page2.
Page2) They are asked to verify the same info again with read only
fields. Two buttons
I see code for 1.2.8 and code for 1.3. Will anyone be
releasing these soon? I look forward to 1.3 but it
doesn't seem to exist on the Struts page as a
downloadable kind of moving slow. I am just a
patient waiter and eager for any version to make it
out.
Paul
AFAIK, there probably won't be a Struts 1.2.8. The Struts 1.2.7
release made GA grade in May, and, unless something changes, that may
be end of the 1.2.x line.
We're slogging along toward a Struts 1.3.0 distribution. The core code
is ready, and some people are already using it in production. For
Hi All,
I'm new to Struts, so please bear with me :). I've a form asking for
customer data with fields
like name, address etc. What I'm trying to achieve is this kind of flow/design:
Page1) Customer enters their info. Submit button will take them to Page2.
Page2) They are asked to verify the
your path for the customerConfirm forward should be
/customerConfirm.do probably but it might be /do/customerConfirm
depending on what you have in your web.xml.
/Jeremiah
Deep Chand wrote:
Hi All,
I'm new to Struts, so please bear with me :). I've a form asking for
customer data with fields
If I do that then I don't see a jsp page asking me to Confirm the
data. It goes to the ConfirmAction class but as I said, what I want is
Enter info on Page1.
Ask for confirmation on Page2 and then insert the data in DB using
DataAccess object.
Display the data on Page3 that was entered by the
1) input attribute name is misleading. It is not actually an input
page, it is a location where control will be forwarded in case of
error, that is, if ActionForm.validate() returns non-null non-empty
object.
2) Do not navigate directly to JSP page in browser, navigate to
action. Action is
To all,
I have STRUTS serving up PHP pages but I can't get Tiles to deliver the
page to the body, it servers up the wole PHP page by itself.
This is how I got it to work, in my tiles-defs.xml I have,
definition name=site.menu.links.online
path=/tiles/layouts/menuNoStruts.jsp
put
Actually, it's your choice. If you wish you can serve all three pages
from a single JSP. Probably it would be nearest to best practices to
make 2 and 3 one jsp. I think the best way, would be to have Page2
und Page 3 as separate JSPs, but using a common tile for data
presentation.
Regards
Leon
Hi
Thank you for reading my mail.
I used a simple login page + add a session variable after loged in
to check the security of my system . the login page test and if the session
variable be present it shows some other links like : edit profile , orders
,.. and if the session variable is not present
Hi
Thank you for reading my mail.
What is new in struts 1.3 ? will already made application based on struts
1.1 works with new Struts ?
is it based on shale ?
does tag library grown ?
Thank you
Hello all,
I have two submit buttons, one with a value of Continue and the other Back.
How do I check their values?
I've tried request.getAttribute(submit).toString() but I do not get
anything.
My buttons are like this:
html:submit value=backback/html:submit
html:submit
Antunes
I thought it was
PropertyName.getValue() ??
M-
- Original Message -
From: C.F. Scheidecker Antunes [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Sunday, October 09, 2005 6:17 PM
Subject: Submit buttons getting their value
Hello all,
I have two
But where is PropertyName? The only thing passed to the action is request.
Thanks
Martin Gainty wrote:
Antunes
I thought it was
PropertyName.getValue() ??
M-
- Original Message - From: C.F. Scheidecker Antunes
[EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
From: Legolas Woodland [EMAIL PROTECTED]
I used a simple login page + add a session variable after loged in
to check the security of my system . the login page test and if the
session variable be present it shows some other links like : edit profile
, orders
,.. and if the session variable is
See www.michaelmcgrady.com on buttons. This is a fascinating subject.
On 10/9/05, C.F. Scheidecker Antunes [EMAIL PROTECTED] wrote:
But where is PropertyName? The only thing passed to the action is request.
Thanks
Martin Gainty wrote:
Antunes
I thought it was
PropertyName.getValue()
Do you want to create something like this:
http://www.superinterface.com/wizard/signupWizard.do
It would be easier if you switched to event-based action class, like
DispatchAction or LookupDispatchAction. I would humbly suggest to use
SelectAction from my Struts Dialogs library. SelectAction
Hello All,
I have an action that reads from the database and return a rowSet bean
to the request scope.
Then I iterate the bean on my JSP and show the data.
Everything works.
I however have a problem. I can access the JSP straight if I type the URL.
That is, I want the JSP only to be shown
Hi,
Put the following code in your web.xml. This will not allow any of
your user to access your JSPs.
web-app
...
security-constraint
web-resource-collection
web-resource-nameno_access/web-resource-name
url-pattern*.jsp/url-pattern
/web-resource-collection
Hi All,
I have one question.
There is one action
action path=/*actionPath*
name=someForm
forward name=success path=*tileName* redirect=true/
/action
in tiles config file I have written definition for *tileName*.
Now when this action is called it displays proper page, but how redirect to
a
24 matches
Mail list logo