how to find a value in a list

2004-03-23 Thread sean jones
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

Re: how to find a value in a list

2004-03-23 Thread sean jones
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

Re: Form name from JSP page

2004-03-03 Thread sean
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]

bean:write problem

2004-03-03 Thread sean
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 =

Re: bean:write problem

2004-03-03 Thread sean
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

Iterate of List - need to test if list is null

2004-02-27 Thread sean jones
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

Re: Iterate of List - need to test if list is null

2004-02-27 Thread sean jones
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]

Implementing A Search Dialog - Struts

2004-02-25 Thread sean jones
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

Re: Implementing A Search Dialog - Struts

2004-02-25 Thread sean jones
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

Re: Implementing A Search Dialog - Struts

2004-02-25 Thread sean jones
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

Using a java.util.List with a HTML:SELECT

2004-02-13 Thread sean jones
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);

Re: Using a java.util.List with a HTML:SELECT

2004-02-13 Thread sean jones
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

Re: array iteration

2004-02-13 Thread sean jones
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

corporate hierarchy

2004-02-13 Thread sean jones
Sean - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: stop user from clicking the submit button twice

2004-01-30 Thread Sean Radford
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

[OT] Java printf, fprintf and sprintf classes

2004-01-09 Thread Sean Radford
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

Tiles - Localization possible through tiles-def?

2003-10-12 Thread Sean Dockery
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

Re: Must everything go through an action?...

2003-10-06 Thread Sean Dockery
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

Re: Craig: Tomcat 5.0 WAR Deployment

2003-10-06 Thread Sean Dockery
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

Re: How to use jaas with Struts and Tomcat

2003-10-06 Thread Sean Dockery
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

Re: Struts and user-authentication

2003-10-06 Thread Sean Dockery
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]

Design Question

2003-09-17 Thread sean schofield
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]

RE: Design Question

2003-09-17 Thread sean schofield
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

Re: using struts with filters

2003-09-16 Thread Sean Radford
- 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

Re: filters

2003-07-23 Thread Sean Radford
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

RE: Login Form

2003-07-10 Thread Sean Radford
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

RE: Login Form

2003-07-10 Thread Sean Radford
: 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

RE: Login Form

2003-07-09 Thread Sean Radford
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

RE: Login Form

2003-07-08 Thread Sean Radford
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

Re: [lists-strutsuser] Re: [Workflow] ClassCastException withTilesWorkflowRequestProcessor

2003-06-02 Thread Sean Radford
-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

[Worflow] ClassCastException with TilesWorkflowRequestProcessor

2003-05-31 Thread Sean Radford
$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

Re: [lists-strutsuser] Forwarding problem (.... has been moved to...)

2003-05-31 Thread Sean Radford
- 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

bean:write and scriptlet write

2003-03-17 Thread Cohan, Sean
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.: %=

RE: [OT] Don't beat on James! (was RE: [OT] JavaScript: ActionForm Does Not Contain Dynamically Set Data)

2003-03-05 Thread Sean Chambers
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

RE: Modern Computing (was RE: [OT] Ancient computing)

2003-03-05 Thread Sean Chambers
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

RE: Modern Computing (was RE: [OT] Ancient computing)

2003-03-05 Thread Sean Chambers
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

RE: [OT] RE: Modern Computing (was RE: [OT] Ancient computing)

2003-03-05 Thread Sean Chambers
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

RE: [OT] Simulating Concurrent Users

2003-03-05 Thread Sean Chambers
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

RE: [OT] Simulating Concurrent Users

2003-03-05 Thread Sean Chambers
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

RE: [OT] Simulating Concurrent Users

2003-03-05 Thread Sean Chambers
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

RE: [OT] Text editor usage (was RE: [OT]: What is vim?)

2003-03-03 Thread Sean Chambers
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.

RE: bean:message

2003-02-21 Thread Cohan, Sean
=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

bean:message

2003-02-20 Thread Cohan, Sean
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

RE: Server detection of Javascript enabled?

2003-02-13 Thread Sean Chambers
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

Re: Newbie Question

2003-02-11 Thread Sean Dockery
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

Re: Application Startup

2003-02-11 Thread Sean Dockery
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

Re: html:errors / trouble

2003-02-10 Thread Sean Dockery
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

RE: AW: easy struts 0.6.3 ?

2003-02-05 Thread Sean Chambers
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

Multi-Select List Box

2003-02-01 Thread Cohan, Sean
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]

RE: Multi-Select List Box

2003-02-01 Thread Cohan, Sean
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

Collection within Collection

2003-01-14 Thread Cohan, Sean
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;

RE: Collection within Collection

2003-01-14 Thread Cohan, Sean
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

RE: Collection within Collection

2003-01-14 Thread Cohan, Sean
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

RE: Collection within Collection

2003-01-14 Thread Cohan, Sean
/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

RE: Collection within Collection

2003-01-14 Thread Cohan, Sean
){...}). -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

RE: Collection within Collection

2003-01-14 Thread Cohan, Sean
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

Cannot find bean...

2003-01-12 Thread Cohan, Sean
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

RE: Cannot find bean...

2003-01-12 Thread Cohan, Sean
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

RE: Logic Equals and Interface Constants

2003-01-11 Thread Cohan, Sean
: [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

Logic Equals and Interface Constants

2003-01-10 Thread Cohan, Sean
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

Iterate Index Evaluation

2003-01-03 Thread Cohan, Sean
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:

RE: Iterate Index Evaluation

2003-01-03 Thread Cohan, Sean
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

RE: Iterate Index Evaluation

2003-01-03 Thread Cohan, Sean
: 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

RE: Iterate Index Evaluation

2003-01-03 Thread Cohan, Sean
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

Artimus Tomcat 4

2002-12-11 Thread Sean A. Mandel
in advance, Sean.

problem with startup of 1.1

2002-12-04 Thread Curtis, 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

Newbie question - ActionMapping

2002-12-03 Thread Curtis, Sean
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

TLD in Every Tile?

2002-11-22 Thread Cohan, Sean
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

Index Based Names in Iterate Tag

2002-11-21 Thread Cohan, Sean
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

RE: Index Based Names in Iterate Tag

2002-11-21 Thread Cohan, Sean
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

Parameter

2002-11-13 Thread Cohan, Sean
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

HTML:checkbox question

2002-11-10 Thread Sean Gay
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

Struts 1.1b2, IBM Websphere 4.0

2002-10-23 Thread Sullivan, Sean C - MLG
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

IBM Websphere 4.0.4, Struts 1.1b2, Cannot find message resources under key

2002-10-23 Thread Sullivan, Sean C - MLG
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

Re: [OT] Tomcat not extracting war

2002-10-18 Thread Sean Harrison
/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

alt tags error?

2002-10-15 Thread Cohan, Sean
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]

html:select / option defaultSelected or selected

2002-10-14 Thread Cohan, Sean
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:

FW: Forwarding Back to one Of Many Pages

2002-10-11 Thread Cohan, Sean
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

RE: Forwarding Back to one Of Many Pages

2002-10-11 Thread Cohan, Sean
- Simon P. Chappell [EMAIL PROTECTED] Java Programming Specialist www.landsend.com Lands' End, Inc. (608) 935-4526 -Original Message- From: Cohan, Sean [mailto:[EMAIL

Forwarding Back to one Of Many Pages

2002-10-10 Thread Cohan, Sean
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

RE: ArrayList in Options

2002-10-09 Thread Cohan, Sean
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

RE: IP Address

2002-09-18 Thread Cohan, Sean
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

Automated Site testing

2002-09-18 Thread Sean Gay
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

IP Address

2002-09-17 Thread Cohan, 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]

RE: Two Phase ActionClass

2002-09-12 Thread Cohan, Sean
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

Disable Navigation

2002-09-12 Thread Cohan, Sean
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

RE: FW: Disable Navigation

2002-09-12 Thread Cohan, Sean
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

Recognizing Cancel Button over Submit Button

2002-09-10 Thread Cohan, Sean
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

RE: Recognizing Cancel Button over Submit Button

2002-09-10 Thread Cohan, Sean
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

Tip #1

2002-09-10 Thread Cohan, Sean
(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

RE: Tip #1

2002-09-10 Thread Cohan, Sean
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

html:image pageKey

2002-09-10 Thread Cohan, Sean
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

RE: Two Phase ActionClass

2002-09-09 Thread Cohan, Sean
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

RE: Two Phase ActionClass

2002-09-09 Thread Cohan, Sean
: 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

DB hit from ActionForm Validate method

2002-09-06 Thread Cohan, Sean
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

Two Phase ActionClass

2002-09-06 Thread Cohan, Sean
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

Newbie with App Resources

2002-09-05 Thread Cohan, Sean
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]

Newbie on image

2002-09-05 Thread Cohan, Sean
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

Struts advantages, Struts alternatives

2002-09-04 Thread Sullivan, Sean C - MLG
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

RE: template

2002-09-02 Thread Sean Gay
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   2   >