I have a user object in the session
The user object contains a List object that conatins an entry for each role the
person has.
User {
private Roles r = new Roles();
user() {}
(getters setters)..
}
i have a Console.jsp (this is used to show items that need processing by the
user).
the
Pady Srinivasan Pady.Srinivasan at Heroix.com writes:
Assuming you can get a Collection of roles, using jstl,
c:forEach items=${requestScope.ROLES} var=role
c:if test=${role.name == 'myRole'}
Do something...
/c:if
/c:forEach
Thanks
thanks, but this is about what i have now
if you have 1 and only one form on the page you can do
document.all.fieldname
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
a onclick='returnData(bean:write name=xloc property=script /)'
bean:write name=xloc property=locCode/
/a
this a tag should output something like this
onclick = 'returnData(y-2342,234,home office, 10230 your street, nj,
union, 02932, 12fl)
but instead it does this
onclick =
sean sean.jones at ubs.com writes:
a onclick='returnData(bean:write name=xloc property=script /)'
bean:write name=xloc property=locCode/
/a
bean:write name=obj property=getter filter = true/
adding the filter=true did the trick
I have an object named Wizard in the request.
Wizard has a property defined as
pubic Class Wizard {
private List progressBar = null;
public Wizard() {}
public List getProgressBar() { return progressBar; }
}
in JSP i do this
logic:iterate name=wizard property=progressBar
Thanks Tim,
Hopefully the heads of state won't balk at the JSTL code.
thanks again.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Requirements.
Clicking any button on the page must submit any changes the user has made up to
the point of clicking the button.
Problem.
I have a 14 page wizard where some pages require the user to look up values.
IE : instead of typing vendor name and validating the vendor name, let the
Wendy Smoak Wendy.Smoak at asu.edu writes:
From: news [mailto:news at sea.gmane.org] On Behalf Of sean jones
How can i carry the values the user has keyed - onto the
search.jsp - the searchResults.JSP and back to Pagexx.jsp
You listed the two usual solutions. If neither of those
yes, i had a DB solution but that was shot down as i have posted earlier.
if using the pop-up window (window.returnValue) doesn t fly then i will just
create a small object with the values that could have changed (based on the
page in the wizard) and store that in the session.
That object
is it possible to use a java.util.List object with an HTML:SELECT control.
import java.util.List;
import java.util.ArrayList;
public final class Roles extends Ojbect {
public Roles() {}
public static List getRoles() {
List r = new ArrayList();
r.add(ADMIN);
i am aware of this option but DAO only returns a list of Strings and i prefer
that to a list of beans. The reason is i am more interested in the role name
than the role_id.
I plan to delete all the roles then put them back with a batchupdate.
This allows the user to selected all the roles
Niall Pemberton niall.pemberton at blueyonder.co.uk writes:
Why not just try it and see if it works - should do - have and iterate tag
embedded in another iterate tag
- Original Message -
From: LILES, DAVID (CONTRACTOR) DAVID.LILES at DFAS.MIL
To: struts-user at
Sean
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Or use the Struts Workflow extension...
Sean
On Fri, 2004-01-30 at 10:26, Simon McCaughey wrote:
From: Ashish Kulkarni [EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 10:30 PM
Subject: stop user from clicking the submit button twice
Hi
I have a process which takes about 30 seconds, i
Hi,
Anyone know of some (preferably open source) Java implementations of the
good-old C functions printf, fprintf and sprintf?
Regards,
Sean
--
Dr. Sean Radford, MBBS, MSc
[EMAIL PROTECTED]
http://bladesys.demon.co.uk
I am relatively new to Tiles, so forgive me if there's a simple solution to
this...
I came across the following situation:
tiles-defs.xml:
tiles-definitions
definition name=.default.layout path=/WEB-INF/jsp/Default.jsp
put name=title value=Unknown/
/definition
definition
It seems to me that a tiles controller can play the role of view helper. It
is definitely more convenient that writing custom tags. :-)
--
Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com
Ted
I believe that you mean deploy and undeploy. Haven't install and remove
been deprecated under Tomcat 5? I couldn't find an example that uses the
install or remove tasks on the page you cited. :-)
Craig R. McClanahan [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Mark Galbreath
From another recent thread on this subject:
snip
Try this :
http://www.theserverside.com/resources/article.jsp?l=JAAS
/snip
Marcial Atienzar Navarro [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
I need to know how to use jaas with struts in tomcat. Is there some kind
of
You can use tiles to optionally display information based on a user's role.
Another possibility is to use the Struts logic tags to test if the user is
in a given role; the body of the tag will either be rendered or
not--depending on whether or not a use is in a given role.
Ilja [EMAIL PROTECTED]
new form
3.) Compare two forms and store list of changes in new form
4.) Discard copy of old.
Any thoughts, comments?
TIA,
sean
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
original problem from anybody.
Regards,
- sean
-- Original Message --
From: Andrew Hill [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date: Wed, 17 Sep 2003 23:02:41 +0800
oops.
Forget what I said - didnt read it properly. You need to be able to tell
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Dr. Sean Radford, MBBS, MSc
[EMAIL PROTECTED]
http://bladesys.demon.co.uk/
Blade Systems
Struts will work with Container based authentication/authorisation (a+a)
and with Servlet Filters. If you plan/need to use a Filter to do a+a
with a Filter, take a look at http://securityfilter.org/
Sean
On Wed, 2003-07-23 at 14:40, Balaji R wrote:
Am using Struts with tomcat.
Can I use
in the near future within an updated container specification. Any one
know how we could 'force' the issue?
Regards,
Sean
--
Dr. Sean Radford, MBBS, MSc
[EMAIL PROTECTED]
http://bladesys.demon.co.uk/
Blade Systems
On Wed, 2003-07-09 at 15:33, Erez Efrati wrote:
Sean,
many thanks for keeping up with my
:
realm className=com.aegeus.securityfilter.JBossRealmAdapter/realm
Hope that helps,
Sean
--
Dr. Sean Radford, MBBS, MSc
[EMAIL PROTECTED]
http://bladesys.demon.co.uk/
Blade Systems
On Thu, 2003-07-10 at 12:01, Erez Efrati wrote:
Sean,
Thanks for the code. I have downloaded everything and I am
On Tue, 2003-07-08 at 20:34, Erez Efrati wrote:
Thanks Sean,
I looked at it and it does avoid the BIG limitation posed by the
standard spec in fact. Still I cannot use it since it disables the
passing of the principal identity through calls to EJB methods.
That's what it says
Have a look at this (you may find what you want):
http://sourceforge.net/projects/securityfilter/
Sean
-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: July 8, 2003 10:11 AM
To: 'Struts Users Mailing List'
Subject: Login Form
Hi,
My question is a bit
-validator-1.0.jar
commons-resources.jar
commons-logging-1.0.2.jar
commons-lang-1.0.1.jar
commons-digester-1.4.1.jar
commons-beanutils-1.6.jar and commons-collections-2.1.jar are in my ear
file and loaded from there via application.xml (I'm using JBoss3)
Any ideas?
Regards,
Sean
On Mon, 2003-06-02
$PoolThread.run(ThreadPool.java:455)
(If I use the com.livinglogic.struts.workflow.WorkflowRequestProcessor
all seems to work ok)
Regards,
Sean
--
Dr. Sean Radford, MBBS, MSc
[EMAIL PROTECTED]
http://bladesys.demon.co.uk/
Blade Systems
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Dr. Sean Radford, MBBS, MSc
[EMAIL PROTECTED]
http://bladesys.demon.co.uk/
Blade Systems
I have a bean defined on a page. I can write some of the methods using
scriptlet code, but not others. However, I can write the others with
bean:write. For example, the following code causes a cannot resolve
symbol : method getIndexFactor () servlet exception.:
%=
my ZX81 had a 16k RAM pack.
-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
Sent: 05 March 2003 13:45
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: [OT] Don't beat on James! (was RE: [OT] JavaScript:
ActionForm Does Not Contain Dynamically Set
i still have the zx81
-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
Sent: 05 March 2003 16:18
To: Struts Users Mailing List
Subject: Modern Computing (was RE: [OT] Ancient computing)
OK, enough reminising ... what do people currently have?
I have a Mac
Computing (was RE: [OT] Ancient computing)
Sean Chambers wrote:
i still have the zx81
-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
Sent: 05 March 2003 16:18
To: Struts Users Mailing List
Subject: Modern Computing (was RE: [OT] Ancient computing
centrino is out soon of course, so you get longer battery life and built in
wireless.
http://www.intel.com/products/mobiletechnology/index.htm?iid=Homepage+Highli
ght_030127a
-Original Message-
From: Hookom, Jacob John [mailto:[EMAIL PROTECTED]
Sent: 05 March 2003 17:38
To: Struts
dont flame me for this, but you could try micro$ofts web appliaction stress
test tool. it only *runs* on NT x but u can use it to stress anything i
think.. and apparently its pretty simple to use.
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/itsolutio
sorry, should point out that its blatantly not open source. but it is
free-ish
-Original Message-
From: Sean Chambers [mailto:[EMAIL PROTECTED]
Sent: 05 March 2003 19:52
To: 'Struts Users Mailing List'
Subject: RE: [OT] Simulating Concurrent Users
dont flame me
to make this change, even without local admin rights...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 05 March 2003 23:00
To: [EMAIL PROTECTED]
Subject: RE: [OT] Simulating Concurrent Users
Sean, downloaded this software and set it up. Its pretty
who are ginger and mary anne?
-Original Message-
From: Jaye Bass [mailto:[EMAIL PROTECTED]
Sent: 04 March 2003 01:43
To: 'Struts Users Mailing List'
Subject: RE: [OT] Text editor usage (was RE: [OT]: What is vim?)
First off...I'd take Mary Ann any day. Second I love IntelliJ.
=placedOnHWATs
format=%=foo%/
Sri
-Original Message-
From: Cohan, Sean [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 1:39 PM
To: Struts (E-mail)
Subject: bean:message
Is it possible to nest a bean:message tag within a
bean:write tag? I want
Is it possible to nest a bean:message tag within a bean:write tag? I
want to get the format property out of the application.resources file, but I
get an jsp.error.unterminated.tag error.
Here's how I'm trying to do it:
bean:write name=hwa property=placedOnHWATs bean:message
It doesnt really get round the problem of not using javascript on teh
client; but perhaps a better way to do this is to interrogate the DOM. If
you use one of teh standards objects like document.image it returns a
boolean showing whther or not javascript is installed. In addition you
could
Wouldn't that be...
!A || B
- Original Message -
From: Gemes Tibor [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, February 11, 2003 01:29
Subject: Re: Newbie Question
2003. február 11. 09:07 dátummal Ray Madigan ezt írtad:
Thanks for the advice - i
It seems to me that the best place to make the connection in
ServletContextListener.contextCreated. If the application is unavailable,
you can store that in the application context and when requests come in for
that resource, you can display in the response that the resource was
unavailable.
You
What forwards are defined for your action in struts-config.xml?
- Original Message -
From: alexj [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, February 10, 2003 10:56
Subject: Re: html:errors / trouble
(in fact when I run the app and enter bad datas
translation:
thank you for this useful/meaningful? message
-Original Message-
From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]]
Sent: 05 February 2003 13:57
To: Struts Users Mailing List
Subject: Re: AW: easy struts 0.6.3 ?
Hi,
I can speak french, I can speak english, I
If I use a collection to create a multi-select html:select, how do I get
the selected items back to my action class? Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks.
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 01, 2003 11:56 AM
To: [EMAIL PROTECTED]
Subject: Re: Multi-Select List Box
Define a String[] in your form bean with the same name as your select box.
David
From: Cohan, Sean [EMAIL
I have a collection (of ArrayLists) within a collection of (ArrayLists).
That is:
public class HistoryItemImpl implements HistoryItem {
private String objectName;
private List deltaList; ...
}
public class DeltaItemImpl implements DeltaItem {
private String columnName;
Thinks He Knows What He Is Doing
-Original Message-
From: Cohan, Sean [mailto:[EMAIL PROTECTED]]
Sent: January 14, 2003 9:59 AM
To: Struts (E-mail)
Subject: Collection within Collection
I have a collection (of ArrayLists) within a collection of (ArrayLists).
That is:
public class
Excuse my naiveté, how would I refer to collection within a collection?
Thanks
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 10:20 AM
To: 'Struts Users Mailing List'
Subject: RE: Collection within Collection
You can use the Index
/logic:iterate
Mark
-Original Message-
From: Cohan, Sean [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 11:08 AM
Excuse my naiveté, how would I refer to collection within a collection?
Thanks
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e
){...}).
-Original Message-
From: Cohan, Sean [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 3:10 PM
I'm lost with this stuff. I can't seem to get it working. I'm getting the
following error:
[ServletException in:/tiles/cc/cat_history_content.jsp] No selector
attribute (cookie
the indexId unless you want to specifically access an
element (e.g., if( diIndex == 2 ){...}).
-Original Message-
From: Cohan, Sean [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 3:10 PM
I'm lost with this stuff. I can't seem to get it working. I'm getting the
following error
I'm struggling with the exception below trying to figure out how to resolve
it. It appears when I add the following hidden parameter to the form.
html:hidden property=method/
I have the parameter getter and setters in the form class, and as a
parameter in the action mapping. Can someone
anywhere in the servers lib dir?
Ilya
-Original Message-
From: Cohan, Sean [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 12, 2003 11:05 AM
To: Struts (E-mail)
Subject: Cannot find bean...
I'm struggling with the exception below trying to figure out how to
resolve it. It appears when I
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 7:31 PM
To: [EMAIL PROTECTED]
Subject: Re: Logic Equals and Interface Constants
Sean == Sean Cohan Cohan writes:
Sean I'd like to somehow use some final static int's defined in an
interface
Sean within
I'd like to somehow use some final static int's defined in an interface
within logic:equal tags. Something like:
logic:equal name=columnType value=DeltaItem.LONGTEXT
Can I do this or something like it (e.g., using chars instead of int's)?
Thanks.
--
To unsubscribe, e-mail: mailto:[EMAIL
I need to iterate over a collection and be able to tell whether the current
index is odd or even. Any ideas on how I can use the logic tag for this?
logic:match name=index value=odd or even?
Thanks.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
row here
/logic:equal
logic:notEqual name=indexMod2 value=0
markup for odd row here
/logic:equal
/logic:iterate
-Original Message-
From: Cohan, Sean [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 03, 2003 2:40 PM
To: Struts (E-mail)
Subject: Iterate Index Evaluation
I need
:
logic:iterate indexId=index ...
% if ((index % 2) == 0) {%
even row markup here
% } else { %
odd row markup here
% } %
/logic:iterate
But we all know how evil this is!
-Original Message-
From: Cohan, Sean [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 03, 2003 3:05 PM
using scriptlet
for example:
logic:iterate indexId=index ...
% if ((index % 2) == 0) {%
even row markup here
% } else { %
odd row markup here
% } %
/logic:iterate
But we all know how evil this is!
-Original Message-
From: Cohan, Sean [mailto:[EMAIL PROTECTED]]
Sent: Friday
in advance,
Sean.
Hey all..
just trying to get my server started witht the web-example, and Im getting
an initialization error trying to deploy the sample app:
anyone have a similar problem that they could share some insight on?
Thanks
Sean
..
[04/Dec/2002:14:13:59] info ( 3323): Loading IWSSessionManager
the correct action mapping object. I have now resorted to throwing an
exception in the first line of my Action.execute method, which as you can
see, isnt being thrown. Is this just a setup problem?
Has anyone else had this problem and/or know how I can fix this?
thanks
Sean
pretty simple struts
Is there a way to not have to include the struts and tile tlds in each and
every jsp that makeup a layout? Can't we just include it one high level jsp
somehow and have it inherited from every other jsp that makes up a
particular layout?
Thanks.
--
To unsubscribe, e-mail: mailto:[EMAIL
I want to present a collection of beans using the logic:iterate tag. One
of the fields in the collection is another collection of beans. This second
collection of beans I want presented in an html select object. In my Action
Class, I'd like to iterate through the first collection creating http
Where I say indexOf below, I meant to say indexId. Thanks again.
-Original Message-
From: Cohan, Sean [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 8:44 AM
To: Struts (E-mail)
Subject: Index Based Names in Iterate Tag
I want to present a collection of beans using
I'm in one action class and I'm want to forward to another DispatchAction
class. The second DispatchAction class requires a 'method' parameter which
is used to determine which method to call within the DispatchAction. How
can I set the method parameter in the first action class so it can be used
styleClass=inputTxt
style=width:215px /
html:text property=location styleClass=inputTxt style=width:215px
/
html:text property=suburbPostcode styleClass=inputTxt
style=width:215px /
html:checkbox property=serviceArea /
/html:form
Thanks in advance,
Sean
I'm having some trouble deploying Struts 1.1b2 on IBM Websphere 4.0
I am using Websphere 4.0 on Windows 2000
I recompiled everything using IBM's 1.3.0 VM (the came with websphere) and
also the j2ee.jar library that came with Websphere 4.
Still I get a ClassCastException when hitting the
have no problem
because struts-example.war file contains struts.jar in the WEB-INF/lib
directory.
Perhaps I will double-check Websphere's classloader configuration options.
Cheers,
-Sean
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e
/files.
Sean Harrison
Internet Services Administrator
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Could there a problem with the alt tag for html:image or html:img tags?
We see nothing when we hover over them. Thanks.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Is there any way I can specify the defaultSelected or selected property for
an html:select or an html:option? I use the html:options to populate the
options with an ArrayList of beans. I need to also specify the value that
should be initially selected.
Thanks.
--
To unsubscribe, e-mail:
No takers on this one???
-Original Message-
From: Cohan, Sean [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 4:48 PM
To: 'Struts Users Mailing List'
Subject: Forwarding Back to one Of Many Pages
I'm sure this has been asked before. Several pages can link or forward to
my
-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist www.landsend.com
Lands' End, Inc. (608) 935-4526
-Original Message-
From: Cohan, Sean [mailto:[EMAIL
I'm sure this has been asked before. Several pages can link or forward to
my page. My page is mapped to a DispatchAction (because I need to get some
initial data and then process the submitted data.) After submitting, the
user is forwarded to another 'action succeeded' page. I need to know
Very cool. Thanks.
-Original Message-
From: Pavel Kolesnikov [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 4:19 PM
To: Struts Users Mailing List
Subject: Re: ArrayList in Options
On Wed, 9 Oct 2002, Cohan, Sean wrote:
I'll have an ArrayList of beans in my ActionClass
Is that the correct method? I get a 'can;t resolve symbol' compiler error.
Thanks.
-Original Message-
From: Emmanuel Boudrant
To: Struts Users Mailing List
Sent: 9/18/02 6:09 AM
Subject: Re: IP Address
try this:
request.getRemoteXxx();
-emmanuel
--- Cohan, Sean [EMAIL PROTECTED
seem to be able
to adequately do what we are after, or provide further benefit than
performing JUnit tests on our actions?
If anyone has any tried suggestions I would be most appreciative.
Thanks in advance,
Sean
How do I get the referrer's IP address in my action class? Thanks.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
know if that works for you,
Craig.
- Original Message -
From: Cohan, Sean [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, September 09, 2002 2:36 PM
Subject: RE: Two Phase ActionClass
After clicking on continue on the loginWarning.jsp page, I no longer
For our app, if the user logs in for the first time or if the user's
password is 30 days old, we require that they change it immediately logging
in. So from the logon action we send them to a password.jsp. But the user
should also be able to go to password.jsp anytime after logging in from
Navigation
Not possible. You'll have to use javascript to do that ---
or a target
on the link to something other than _top.
Regards,
Eddie
Cohan, Sean wrote:
BTW, how do I make the password page popup in a new window
from an action
class?
Thanks
I am sure this a newbie question, but how can I determine that the cancel
button (html:cancel) was clicked instead of the submit button (html:submit)
using an html:form. They both end up in the same method of my
DispatchAction? Thanks.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
Cohan, Sean wrote:
Thanks, but what if I want to use html:image and don't want the
bean:message
tag to display text on the page?
I should have mentioned that in the first email. What I really is two
image
buttons within the same form. Can I have them go to the same action class
where I can know
(browse the JAR to
find it). I *think* if you look at Ted's tip #1, you'll find what
you're looking for. Maybe I misunderstand your requirements though.
Regards,
Eddie
Cohan, Sean wrote:
Thanks, but what if I want to use html:image and don't want the
bean:message
tag to display text on the page
NeverMind. Brain freeze.
-Original Message-
From: Cohan, Sean [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 2:57 PM
To: 'Struts Users Mailing List'
Subject: Tip #1
Should we be extending ActionForm for this tip?
I'm guessing yes since the sample Action code
I'm having trouble trying to use html:image pagekey=... / Am I using the
correct syntax? In my jsp I have:
html:image pageKey=login.image/
and in my ApplicationResources.properties I have:
login.image=/images/login.gif
In my struts_config.xml I have:
message-resources
Sean, not sure if I would recycle the login page to show the warning,
instead I would have another page called loginWarning.jsp which showed them
a message and then presented a Continue and Cancel button. The Continue
button would send them back to the logon Action class and the Cancel button
: Friday, September 06, 2002 11:01 PM
To: [EMAIL PROTECTED]
Subject: Re: Two Phase ActionClass
Sean, not sure if I would recycle the login page to show the warning,
instead I would have another page called loginWarning.jsp which showed them
a message and then presented a Continue and Cancel button
We need to implement '3 strikes and your out' functionality to our logon
process. If the user is unsuccessful after 3 logon attempts, we disable
their account. I put some of the user id / password functionality in the
validate method of the LogonForm class. However, in between each attempt, I
Within my logon ActionClass, I want to check the user's user id/password and
whether they are currently logged on anywhere else. If they are logged on
elsewhere, I want to go back to the logon page to warn them and give them a
chance to continue or to bail. If they continue, I want to skip over
I'm trying retrieve some text from the AppplicationResources.properties file
and put it on my index.jsp page. How do I do this? I can't find the
answer. Thanks.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
This must be a no-brainer, but I'm not real familiar with where to look for
things yet.
I'd like to use a gif for a submit pushbutton. I think I use the
html:image tag and specify the gif with the src property. Correct? How
do I specify what the action should be when clicked - I want it to
My employer needs to decide if we should choose Struts
as the standard Web/MVC framework for our company.
Jakarta Struts
==
http://jakarta.apache.org/struts/
Struts advantages:
==
1) large user base
2) momentum
3) mindshare
4) has an active development team
5) is
around.
template:put name='content'
INSERT YOUR PAGE CONTENT IN HERE
/template:put
Regards,
Sean
-Original Message-
From: Keven [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 8:48 AM
To: Struts Users Mailing List
Subject: template
Hi, All:
I have a template jsp called
1 - 100 of 192 matches
Mail list logo