RE: Does instanceof work?

2004-03-21 Thread Steve Raeburn
An instanceOf tag does exist in the Jakarta Taglibs 'Unstandard' taglib. http://jakarta.apache.org/taglibs/sandbox/doc/unstandard-doc/intro.html That's the only place I know of. Steve -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: March 21, 2004 6:33 AM To:

RE: html:select example

2003-12-30 Thread Steve Raeburn
I have some examples of Struts tags, including html:select, at http://www.ninsky.com/struts Various other examples are listed at http://struts.sourceforge.net/community/examples.html Steve Sorry if this is a duplicate message, sent the first one from the wrong address :-( -Original

RE: Solved super.init() dies silently after migration from struts 1.0 to struts 1.1

2003-12-03 Thread Steve Raeburn
You should really take a look at the Ant xmlvalidate task. http://ant.apache.org/manual/index.html - look under Ant Tasks/Optional tasks. It's free and it will allow you to validate your XML files as part of the build process. Alternatively, use an editor that will validate the files for you as

RE: A Walking Tour of the Struts Example Application does not match the code!

2003-10-30 Thread Steve Raeburn
Unfortunately, this documention *is* out of date with the sample application. It has been noted as something that needs to be done but no-one's found time to do it yet. The tutorials page (http://jakarta.apache.org/struts/resources/tutorials.html) lists some alternatives. Rick Reumann's tutorial

RE: browser cache.

2003-10-25 Thread Steve Raeburn
There is. http://jakarta.apache.org/struts/userGuide/configuration.html#controll er_config Steve -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of kimbuba Sent: October 25, 2003 10:27 AM To: [EMAIL PROTECTED] Subject: browser cache. Hello! is there a way to tell

RE: far reaching db question

2003-10-24 Thread Steve Raeburn
-Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: October 24, 2003 11:21 AM To: Struts Users Mailing List Subject: Re: far reaching db question IMO, Struts isn't applicable to sites less than 5 pages. Coding a Servlet with JDBC is suitable for many small web

RE: [ANN] Struts and JavaServer Faces talk by Craig McClanahan on 11/5

2003-10-23 Thread Steve Raeburn
Craig's just being modest. He's *already* an Internet TV star :-) http://www.theserverside.com/events/library.jsp#mcclanahan Steve -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: October 22, 2003 10:58 PM To: Struts Users Mailing List Cc: 'Ruth, Brice'

RE: Good list for JSTL questions?

2003-10-23 Thread Steve Raeburn
The best place would be the Jakarta Taglibs user list (http://jakarta.apache.org/taglibs/#MailingLists). The guys that wrote JSTL hang out there. I'm sure if it's reasonably Struts related, you'll get some help here too. Steve -Original Message- From: Ruth, Brice [mailto:[EMAIL

RE: Trimming the extra spaces in the output page

2003-10-20 Thread Steve Raeburn
I agree with the Filter suggestion, but I would take a step back and ask whether you *really* need to do this. Trimming the excess whitespace won't really make much difference to the size of the downloaded page and adding the Filter processing could even make it slower, not faster to load. If

RE: Help with form bean [urgent]

2003-10-20 Thread Steve Raeburn
If you've set the Map up in you Action, something like this: Map countries = new HashMap(); countries.put(AF, Afghanistan); countries.put(AL, Albania); countries.put(DZ, Algeria); countries.put(AS, American Samoa); countries.put(AD, Andorra); countries.put(AO, Angola);

RE: Keep Them In the Database Or In the Properties File?

2003-10-20 Thread Steve Raeburn
Either will work. One thing to consider is who will maintain the data. If developers will create / maintain the lists and the data is essentially static, then properties files would be a good bet. If end users maintain the data, then a database and suitable user interface may be better. US

RE: Off Topic: A suitable JVM could not be found

2003-10-20 Thread Steve Raeburn
I can't find the details right now, but I have a vague recollection that the IBM JDK includes an RMI-IIOP implementation that is a requirement for Websphere. So you won't be able to switch to a non-IBM JDK. If you're running just about anything except Windows, you may be able to use an updated

RE: struts-el and messages

2003-10-17 Thread Steve Raeburn
The nightly build has a method that allows you to store messages in the session. They are automatically removed after being displayed. Action: protected void saveMessages(HttpSession session, ActionMessages messages) Steve -Original Message- From: Chris Searle [mailto:[EMAIL

RE: repopulating options of html:select when validation fails

2003-10-17 Thread Steve Raeburn
Set your input parameter to the *action* that prepares the page, not directly to the page itself. Steve -Original Message- From: Marc Dugger [mailto:[EMAIL PROTECTED] Sent: October 17, 2003 1:33 PM To: [EMAIL PROTECTED] Subject: repopulating options of html:select when validation

RE: IMPORTANT: how to tell

2003-10-15 Thread Steve Raeburn
A little bit more than a weeks worth ;-) http://jakarta.apache.org/struts/resources/archives.html Steve -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: October 15, 2003 9:23 AM To: Struts Users Mailing List Subject: Re: IMPORTANT: how to tell The list does

RE: setting application context

2003-10-07 Thread Steve Raeburn
If you have a Servlet 2.3 compatible container (e.g. Tomcat 4.x or later) you can implement a ServletContextListener which will be notified when your context is started and gives you access to the ServletContext. ... import javax.servlet.ServletContextEvent; import

RE: [Article] SoftwareFashion (includes paragraph about Struts)

2003-10-07 Thread Steve Raeburn
'In fact, we'd particularly invite Struts advocates to respond to this article by describing the benefits that they feel Struts provides over vanilla JSP.' Well if they don't get what Struts provides over vanilla JSP, then they never will. Discussing what Struts provides compared to other MVC

RE: [Article] SoftwareFashion (includes paragraph about Struts)

2003-10-07 Thread Steve Raeburn
[EMAIL PROTECTED] Subject: Re: [Article] SoftwareFashion (includes paragraph about Struts) Date: Tue, 7 Oct 2003 12:57:18 -0400 On Tue, Oct 07, 2003 at 09:32:52AM -0700, Steve Raeburn wrote: } 'In fact, we'd particularly invite Struts advocates to respond to this } article

RE: [OT] International telephone number formatter component????

2003-10-02 Thread Steve Raeburn
Disclaimer: The following represents my personal experience - I'm not a phone number expert :-) As an example of the problem, the Oftel website (www.oftel.gov.uk) lists the following *recommended* formats for the UK: Fixed line phone number: * (01XX) XXX * (01XXX) XX *

RE: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Steve Raeburn
#2 - It was I revelation when I realised I didn't need to write ActionForms! (But one day soon I'm going to look at XDoclet to see what that can do for me). Steve -Original Message- From: Mainguy, Mike [mailto:[EMAIL PROTECTED] Sent: September 30, 2003 9:52 AM To: [EMAIL PROTECTED]

RE: Application Resources Error messages

2003-09-30 Thread Steve Raeburn
Take a look at the validator example application that comes in the Struts distribution. There is an example of referencing the variable so you don't define it twice. In your case, it should be: field property=userName depends=required,minlength,maxlength arg0 key=label.userName/

RE: Change the .do extension

2003-09-29 Thread Steve Raeburn
http://jakarta.apache.org/struts/userGuide/configuration.html#dd_config_mapp ing Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: September 29, 2003 7:09 AM To: [EMAIL PROTECTED] Subject: Change the .do extension Hello! Is there a possibility to

RE: default for parameter

2003-09-29 Thread Steve Raeburn
http://jakarta.apache.org/struts/api/org/apache/struts/actions/DispatchActio n.html Take a look at the 'unspecfied' method. Steve -Original Message- From: deepaksawdekar [mailto:[EMAIL PROTECTED] Sent: September 29, 2003 5:17 AM To: Struts Users Mailing List Subject: default for

RE: ApplicationResources.properties

2003-09-24 Thread Steve Raeburn
The exact location is configured in struts-config.xml e.g. message-resources parameter=resources.application/ looks for a file named 'application.properties' in the 'resources' package. - or - message-resources parameter=org.apache.struts.webapp.example.ApplicationResources/ looks for a

RE: Can I have 1 struts jar file for multiple servers/applications

2003-09-23 Thread Steve Raeburn
http://jakarta.apache.org/struts/userGuide/configuration.html#config_a dd For more explanation see: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.htm l Steve -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: September 23, 2003 9:08 PM To:

[OT] Hibernate joins JBoss

2003-09-20 Thread Steve Raeburn
I know a lot of Struts developers use Hibernate as their persistence mechanism so this announcement may be of some interest. http://www.hibernate.org/136.html and more at http://forum.hibernate.org/viewtopic.php?t=515 Steve

RE: [FRIDAY] Save the Servers!

2003-09-19 Thread Steve Raeburn
LOL TLAP, Ar! (For those grogged up land-lubbers who wouldn't know a bilge rat from a beauty - http://tinyurl.com/mguv) Steve -Original Message- From: James Childers [mailto:[EMAIL PROTECTED] Sent: September 19, 2003 7:15 AM To: Struts Users Mailing List Subject: RE: [FRIDAY]

RE: Is it possible to remove *.do or /do/* from the URL

2003-09-19 Thread Steve Raeburn
Sadly, it's flash-based and it doesn't work in Mozilla. Steve -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich Sent: September 19, 2003 5:07 AM To: [EMAIL PROTECTED] Subject: Re: Is it possible to remove *.do or /do/* from the URL The best back

RE: Stackoverflow after DB inactivity

2003-09-16 Thread Steve Raeburn
Try the latest MySQL driver (3.08). I had a similar problem recently with a StackOverflowError that was solved by upgrading. 3.08 lists infinite loop with Connection.cleanup(). as one of the fixed bugs, which is what I suspect was causing the overflow problem. You'll still have to contend with

[OT] RE: Stackoverflow after DB inactivity

2003-09-16 Thread Steve Raeburn
Additional info on why MySQL autoReconnect does not work when autoCommit is false. http://www.mail-archive.com/[EMAIL PROTECTED]/msg70196.html Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: Retrieving the ModuleConfig object

2003-09-13 Thread Steve Raeburn
Look at the Javadoc for o.a.s.Globals.MODULE_KEY With it you can get the current module from the request, or append the module prefix (name) to look up any module in the ServletContext. Steve -Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED] Sent: September 13, 2003

RE: Q : Calling an action via a java URL ?

2003-09-13 Thread Steve Raeburn
I haven't actually used it, but the Commons HttpClient (http://jakarta.apache.org/commons/httpclient/index.html) might of interest to you. Steve -Original Message- From: Henry Voyer [mailto:[EMAIL PROTECTED] Sent: September 13, 2003 8:50 PM To: [EMAIL PROTECTED] Subject: Q : Calling

RE: YASJR, Part Duex

2003-09-11 Thread Steve Raeburn
Who do they sue if the code you've written in-house is faulty? The fact is they pay you a lot of money (not enough I'm sure ;-)) for the benefit of your expertise. There's no difference between the stuff you develop in-house and any open source software you use. You still need to apply the same

RE: YASJR, Part Duex

2003-09-11 Thread Steve Raeburn
PROTECTED] Sent: September 11, 2003 8:51 AM To: Struts Users Mailing List Subject: Re: YASJR, Part Duex On Sep 11, 2003, Steve Raeburn [EMAIL PROTECTED] wrote: |Who do they sue if the code you've written in-house is faulty? Faulty code was not what I was referring to. Malicious code

RE: YASJR (Yet Another Struts Justification Request)

2003-09-10 Thread Steve Raeburn
Congratulations and thanks for evangalising Struts to your organization. How can I guarantee that there are no hacks, bombs, etc. in the Struts code or any OS code for that matter? The clue is in the title - OPEN source :-) If open source has a weakness it certainly is not that anyone

RE: YASJR (Yet Another Struts Justification Request)

2003-09-10 Thread Steve Raeburn
Nope, WLS 6.1SP4. :-( BEA uses Struts compatability as a selling point for WLS 8.1: Enterprise-class architecture - Implement standards-based applications leveraging Model-View-Controller (MVC) architecture and Struts framework http://kr.bea.com/products/workshop/features/features.shtml

RE: Commons Versions bundled with Struts 1.1

2003-09-03 Thread Steve Raeburn
Build requirements (including jakarta-oro) are here: http://jakarta.apache.org/struts/userGuide/installation.html#Prerequisites Steve http://www.ninsky.com/struts/ -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: September 2, 2003 6:41 AM To: Struts Users

RE: [OT] Delays in list posts arriving (was [OT] Scheduling)

2003-09-01 Thread Steve Raeburn
I've been having the same problem. Most messages appear immediately but some can take up to two days to arrive! Craig thinks it's due to the SoBig.F worm and that makes sense, but I still don't get why it only affects a very small number of messages. I guess it's just one of those things. The

RE: Formatting form data inside the *view* (JSP's)

2003-08-28 Thread Steve Raeburn
The Struts bean:write tag offers a format attribute (or formatKey if you want to use a resource file). But JSTL would be a better option if you can use it in your environment. Steve http://www.ninsky.com/struts/ -Original Message- From: Sasha Borodin [mailto:[EMAIL PROTECTED] Sent:

RE: J2EE IDE

2003-08-28 Thread Steve Raeburn
There's a wiki page for this topic that might be a better place to post IDE reviews that on the mailing list. http://nagoya.apache.org/wiki/apachewiki.cgi?MyFavoriteIDEAndWhy Steve -Original Message- From: Butt, Dudley [mailto:[EMAIL PROTECTED] Sent: August 27, 2003 8:15 AM To:

RE: Validator and DispatchAction

2003-08-28 Thread Steve Raeburn
Ok, I see one potential problem. Your methods are declared as throwing ServletException and IOException, but for Struts 1.1 they should be declared as throwing Exception. public ActionForward create( ActionMapping mapping, ActionForm form, HttpServletRequest request,

RE: DynaValidator and two fields with identical content

2003-08-27 Thread Steve Raeburn
Take a look at the examples here http://www.ninsky.com/struts/ The validator example shows one way of doing exactly this. (It's very similar to David's example). If you can use the nightly build, then the validwhen rule can alsoe compare fields. Steve -Original Message- From: Jiri

RE: Validator and DispatchAction

2003-08-27 Thread Steve Raeburn
This is the relevant part of the message: Action[/tr518page1] does not contain method named error Does your DispatchAction class, com.ewd.biztax.actions.Tr518page1Action, contain a method named error? Steve http://www.ninsky.com/struts/ -Original Message- From: Venkat Jambulingam

RE: How to get a String object from request scope.

2003-08-27 Thread Steve Raeburn
Just reference your string by its name. e.g. bean:write name=MY_NAME/ Will display the value of the String. Steve http://www.ninsky.com/struts/ -Original Message- From: Fumitada Hattori [mailto:[EMAIL PROTECTED] Sent: August 27, 2003 9:02 AM To: [EMAIL PROTECTED] Subject: How

RE: J2EE IDE

2003-08-27 Thread Steve Raeburn
There's a wiki page for this topic that might be a better place to post IDE reviews that on the mailing list. http://nagoya.apache.org/wiki/apachewiki.cgi?MyFavoriteIDEAndWhy (I sent this already but it didn't make it to the list. The original may show up in a few hours, so sorry if this is a

RE: Validator and DispatchAction

2003-08-27 Thread Steve Raeburn
The error message you are receiving indicates that DispatchAction is trying to find a method named 'error' in your class and it can't find one. There's really only two reasons that could be: 1. There should be a method named 'error' and there isn't one. 2. There isn't supposed to be one but

RE: Another missing attribute in html-el

2003-08-27 Thread Steve Raeburn
When I try adding it, I get a JSP compiler error - Attribute accesskey invalid according to the specified TLD. I can only suggest that you still have an old copy of struts.jar. Try starting with a fresh copy of struts-blank.war from the Struts 1.1 distribution and try that. Steve

RE: Html-el:hidden tag!?!?!

2003-08-26 Thread Steve Raeburn
That was the first answer that popped into my head, but the styleId attribute generates an (X)HTML id attribute which is not a visual style attribute at all, despite the Struts attribute name, but an element identifier within the (X)HTML document. I think the fact that it's missing is just an

RE: Struts custom tags tutorial : urgent!!

2003-08-26 Thread Steve Raeburn
I do appreciate that when you are completely new to a subject it can be difficult to know where to look. However, you'll get a much more sympathetic response if you demonstrate that you have at least tried to find things out for yourself before asking for help. Start with the Struts web site: -

RE: Struts custom tags tutorial

2003-08-26 Thread Steve Raeburn
In addition to the other resources I listed, you should take a look at JSTL: http://java.sun.com/products/jsp/jstl/ The reference implementation for JSTL is at Jakarta taglibs: http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html In particular, look at the iteration tag c:forEach

RE: Database Pooling and Factory Bean

2003-08-26 Thread Steve Raeburn
This might give you a start, http://jakarta.apache.org/struts/faqs/database.html However, I prefer not to involve Struts in the data access layer, so these are also well worth a look: - Hibernate http://hibernate.bluemars.net/ - Ibatis http://www.ibatis.com/ Rick Reumann has recently added an

RE: Java Question

2003-08-26 Thread Steve Raeburn
This question was asked and *answered* yesterday. http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] he.orgmsgNo=86724 Is there any reason you are repeating the it? Steve -Original Message- From: Kapadia Mitesh-C23457 [mailto:[EMAIL PROTECTED] Sent: August 24, 2003 11:21 AM To:

RE: Checkboxes

2003-08-26 Thread Steve Raeburn
Atachments don't make it through the list, Mike. Best bet would be to make your file available on a publicly accessible website and post the link, or if it's small enough, post the text in the body of your message. Steve -Original Message- From: Mike Jasnowski [mailto:[EMAIL

RE: Another missing attribute in html-el

2003-08-26 Thread Steve Raeburn
accesskey is not a valid attribute for the select element (See http://www.w3.org/TR/html4/sgml/loosedtd.html). It's not on the html:select tag either. Also re your earlier message, I took a look at the html-el:hidden tag for the the styleId attribute. It has already been added to the source since

RE: Another missing attribute in html-el

2003-08-26 Thread Steve Raeburn
To: 'Struts Users Mailing List' Subject: RE: Another missing attribute in html-el -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 2:19 PM To: Struts Users Mailing List Subject: RE: Another missing attribute in html-el accesskey

RE: Another missing attribute in html-el

2003-08-26 Thread Steve Raeburn
The following elements support the accesskey attribute: A, AREA, BUTTON, INPUT, LABEL, and LEGEND, and TEXTAREA. http://www.w3.org/TR/1998/REC-html40-19980424/interact/forms.html#adef-acces skey I'm not quite sure *why* select does not have an accesskey, but it definitely doesn't. Looking back

RE: Struts-example database

2003-08-25 Thread Steve Raeburn
The example application defines a custom plug-in that is initialised at start-up and loads the database and stores it in the ServletContext (application scope). struts-config.xml: plug-in className=org.apache.struts.webapp.example.memory.MemoryDatabasePlugIn set-property property=pathname

RE: How to keep session info??

2003-08-15 Thread Steve Raeburn
But if redirect to another web application your session is lost That's by design. Sessions belong to a single web application. The Servlet Spec says: ... SRV.7.3 Session Scope HttpSession objects must be scoped at the application (or servlet context) level. The underlying mechanism, such

RE: very simple if/else question

2003-08-14 Thread Steve Raeburn
Dude, did you bother to look at the links David gave you? Or ask on the correct mailing list? Or even do some research yourself? Google. Fifth link down. JSTL reference. Steve -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: August 13, 2003 2:50 PM To:

RE: Validation errors display prob in jsp

2003-08-14 Thread Steve Raeburn
This might help: http://www.husted.com/struts/tips/017.html Steve -Original Message- From: Raj Atchutuni [mailto:[EMAIL PROTECTED] Sent: August 9, 2003 3:07 PM To: [EMAIL PROTECTED] Subject: Re: Validation errors display prob in jsp I am using Dynaforms for the form validation.

RE: broken link

2003-08-14 Thread Steve Raeburn
Thanks. I've removed the link. The website will be updated with the next Struts release. Steve -Original Message- From: message message [mailto:[EMAIL PROTECTED] Sent: August 12, 2003 1:55 AM To: [EMAIL PROTECTED] Subject: broken link The example for wireless using struts listed

RE: Struts Validator

2003-08-14 Thread Steve Raeburn
working. Let me know. Jerry Jalenak Team Lead, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 7:30 PM To: Struts Users

RE: Design Question: Forms-and-Validation, which scope to use for dynamic beans?

2003-08-14 Thread Steve Raeburn
In your action configuration set the 'input' URL to point to an action instead of your JSP and then build your lists in the action. Steve -Original Message- From: Gino LV. Ledesma [mailto:[EMAIL PROTECTED] Sent: August 10, 2003 10:28 PM To: Struts Users Mailing List Subject: Design

RE: message resource bundles and client-side validation

2003-08-14 Thread Steve Raeburn
Thanks for the clear and detailed description of your problem. You're not doing anything wrong, this is something that is not currently supported by the html:javascript tag which doesn't have a bundle attribute to enable you to select a custom bundle. There is a bug report relating to this

RE: validation mask for currency

2003-08-14 Thread Steve Raeburn
Unless there's some regional standard that I'm unfamiliar with, currencies (in fact, any numbers) are *always* grouped in threes. Otherwise the commas are meaningless. Steve -Original Message- From: david chan [mailto:[EMAIL PROTECTED] Sent: August 14, 2003 9:12 AM To: Struts Users

RE: Struts Validator

2003-08-14 Thread Steve Raeburn
. David Mark -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 5:02 PM To: Struts Users Mailing List Subject: RE: Struts Validator Time to put up or shut up, Mark. If there are specific bugs you have encountered

RE: [OT] going insane

2003-08-14 Thread Steve Raeburn
Try the Tomcat nightly build. I found the same problem as you with 5.0.7, but I've just tried the nightly and it's fine. Of course that doesn't mean you won't find other problems ;-) Steve -Original Message- From: John Cavacas [mailto:[EMAIL PROTECTED] Sent: August 13, 2003 11:33 AM

RE: Struts 1.1: what's the preferred way to use databases?

2003-08-14 Thread Steve Raeburn
Take a look at Hibernate http://hibernate.bluemars.net/, I found the documentation to be much better than OJB and it was much easier get productive quickly. Steve -Original Message- From: Reinhard [mailto:[EMAIL PROTECTED] Sent: August 14, 2003 9:39 AM To: Struts Users Mailing List

RE: [FRIDAY] Impossible requirements customer expectation management [WAS: method to get new Id to next action when old Id is in request?]

2003-08-14 Thread Steve Raeburn
To be fair to Aussie (and other non-US) developers, in the mid-90s *every* major economy was begging developers to move from anywhere. How I miss those days! We had a lot of good Aussie developers in London at the time. Steve -Original Message- From: Mark Galbreath [mailto:[EMAIL

RE: Struts Validator Javascript

2003-08-14 Thread Steve Raeburn
-Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: August 10, 2003 9:42 AM To: Struts Users Mailing List Subject: Re: Struts Validator Javascript Sgarlata Matt wrote: I like the concept of the validator, but personally I don't have a lot of confidence in it.

RE: [OT] going insane

2003-08-14 Thread Steve Raeburn
The file I downloaded was jakarta-tomcat-5-bin-20030812.zip, running on W2K. Steve -Original Message- From: John Cavacas [mailto:[EMAIL PROTECTED] Sent: August 13, 2003 12:36 PM To: Struts Users Mailing List Subject: RE: [OT] going insane I've give it a shot. I tried yesterdays

RE: Struts Validator-validwhen

2003-08-14 Thread Steve Raeburn
It's not in Struts 1.1 but it's available in the nightly build and will be in the next release. Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: August 14, 2003 8:32 AM To: [EMAIL PROTECTED] Subject: Struts Validator-validwhen Hi, The struts

RE: Struts Validator

2003-08-14 Thread Steve Raeburn
I've included an example of the Two Fields custom validator in the examples at http://www.ninsky.com/struts/ The bundled struts examples are found in the webapps directory of the struts distribution (struts-validator.war). There's lots of good stuff in that directory ;-) Steve

RE: Struts Validator

2003-08-14 Thread Steve Raeburn
Time to put up or shut up, Mark. If there are specific bugs you have encountered with Validator, please report them via Bugzilla so they can be addressed. (Patches would also be nice). Failing that, why not write something yourself and donate it so we can call your hard work crap? Otherwise,

RE: [OT] Interesting JSF info

2003-08-14 Thread Steve Raeburn
You talk as if Sun were in sole control of the destiny of JSF and of Struts. The truth is that Sun in in control of neither. JSF is being developed under the the Java Community Process and the expert group comprises a wide cross section of companies and individuals. You can see for yourself:

RE: Validator

2003-08-14 Thread Steve Raeburn
Are you running Struts 1.1? I think this is a problem that was fixed before 1.1 final was released. Steve -Original Message- From: Adolfo Miguelez [mailto:[EMAIL PROTECTED] Sent: August 11, 2003 8:12 AM To: [EMAIL PROTECTED] Subject: Re: Validator What about replacing reference

RE: Apache Tomcat web servers

2003-08-14 Thread Steve Raeburn
Jason Hunter maintains an ISP list at http://www.servlets.com/isps I don't think it would be appropriate to review ISPs on the Struts site. Steve -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: August 10, 2003 9:16 AM To: Struts Users Mailing List Subject: Re:

RE: Password encryption on http client...

2003-08-14 Thread Steve Raeburn
Have a look at : http://pajhome.org.uk/crypt/md5/index.html You would also need to consider if you want to be reliant on Javascript. Steve -Original Message- From: Keith Pemberton [mailto:[EMAIL PROTECTED] Sent: August 14, 2003 6:41 PM To: [EMAIL PROTECTED] Subject: Password

RE: How to keep session info??

2003-08-14 Thread Steve Raeburn
Redirect causes a new request, not a new session. A few other things to try: - Check that your server is actually sending a session cookie or rewriting the URL (change your browser settings to see when the server sends you a cookie) - If your server supports it, try using an

RE: How to add action errors from action class's execute method

2003-07-31 Thread Steve Raeburn
If you add an error in your action: errors.add(username, new ActionError(error.username.unique,regform.getUsername())); ... saveErrors(request, errors); // And don't forget to save them ;-) You can refer to the error by the property name (e.g. username) in your JSP html:errors

RE: Path Finder

2003-07-31 Thread Steve Raeburn
Place the html:base/ tag in the 'head' section of your JSP. Relative paths will be then be calculated based on the location of your JSP. Alternatively, use the html:rewrite tag to rewrite the value of the URL as a context-relative path. link TITLE=risk style REL=stylesheet HREF=html:rewrite

RE: Could one figure out the context path in Servlet.init() method?

2003-07-31 Thread Steve Raeburn
The ServletContextListener interface has a callback method - contextInitialized() - that passes in a ServletContextEvent parameter. You can get the context from getServletContext() method of ServletContextEvent. This was added in Servlet 2.3 spec. Steve -Original Message- From: Jing

RE: How to show GLOBAL ERRORS in a JSP

2003-07-31 Thread Steve Raeburn
http://jakarta.apache.org/struts/api/org/apache/struts/taglib/html/package-s ummary.html#doc.Other.messages http://www.husted.com/struts/tips/017.html Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: July 31, 2003 6:22 AM To: [EMAIL PROTECTED]

RE: Validator: Is validwhen available ?

2003-07-31 Thread Steve Raeburn
The nightly builds are not working for now because of a problem with the build machine. ValidWhen has been added to the source but, for now, you'll need to check it out from CVS and do your own build. It will be included in the 1.2 release which will come along a lot sooner than the 1.1 release

RE: html:radio..javascript

2003-07-31 Thread Steve Raeburn
html:javascript defaults to true for both dynamic and static parameters so that shouldn't make a difference. Also, location on the page doesn't matter (I stick it in the head section). Steve -Original Message- From: Mainguy, Mike [mailto:[EMAIL PROTECTED] Sent: July 31, 2003 6:03 AM

RE: html:select multiple pre select

2003-07-31 Thread Steve Raeburn
I've put together a set of Struts examples at http://www.ninsky.com/struts, one of which focuses on populating and options. struts-config.xml: form-bean name=optionsForm type=org.apache.struts.action.DynaActionForm form-property name=fruit3 type=java.lang.String[] initial=Banana Orange /

RE: Validator: Is validwhen available ?

2003-07-31 Thread Steve Raeburn
? Hmm. I'm not going to be impatient, but do we have any rough idea how long it will be until the 1.2 release comes out? Just curious. Anyway, thanks for answering my question. - Keith -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31

RE: struts-el example app not working?

2003-07-31 Thread Steve Raeburn
impact does changing the Integration have on development. Thanks, Barry - Original Message - From: Steve Raeburn [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 10:09 PM Subject: RE: struts-el example app not working? Well, I

RE: JSTL in html-el:option

2003-07-31 Thread Steve Raeburn
You need to use varStatus to get the current index: html-el:select property=yearsreferences c:forEach begin=1 end=10 varStatus=status html-el:option value=c:out value=${status.count}/ c:out value=${status.count} / /html-el:option

RE: How to make dynamic SELECT elements?

2003-07-31 Thread Steve Raeburn
shameless-plug You can download an application containing Struts examples, including populating select options, from http://www.ninsky.com/struts /shameless-plug Steve -Original Message- From: Joe Krause [mailto:[EMAIL PROTECTED] Sent: July 31, 2003 3:32 PM To: '[EMAIL

RE: Multiple modules - Please help

2003-07-30 Thread Steve Raeburn
It wouldn't be (easily) possible to change ForwardAction to be configurable between context and module relative because the ActionMapping only has one parameter which is already being used to provide the path. A couple of options would be to create a second version of ForwardAction

RE: Prob:Calling a bean:write inside html:text - Nesting is nice

2003-07-30 Thread Steve Raeburn
Try JSTL. For example: fmt:parseDate var=aDate pattern=dd/MM/ value=26/12/1968 / is equivalent to: fmt:parseDate var=aDate pattern=dd/MM/ 26/12/1968 /fmt:parseDate The content of the second example can even be generated by nested tags. Steve -Original Message-

RE: struts-el example app not working?

2003-07-30 Thread Steve Raeburn
Works fine for me with the 1.1 release version on Tomcat 4.1.24. What container are you running on? Steve -Original Message- From: struts [mailto:[EMAIL PROTECTED] Sent: July 30, 2003 3:52 PM To: [EMAIL PROTECTED] Subject: struts-el example app not working? Hello, When testing

RE: struts-el example app not working?

2003-07-30 Thread Steve Raeburn
The URI is not the problem, it's exactly the same as mine (as it would be if the example hasn't been modified :-)) This is mine: %@ taglib uri=/WEB-INF/struts-html-el.tld prefix=html-el % This may also be valid, depending on what (if anything) you've got configured in web.xml %@ taglib

RE: struts-el example app not working?

2003-07-30 Thread Steve Raeburn
: July 30, 2003 4:06 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: struts-el example app not working? I am running Tomcat 4.0xx (using netbeans 3.5 with Tomcat bundle) Barry - Original Message - From: Steve Raeburn [EMAIL PROTECTED] To: Struts Users Mailing List

RE: struts-el example app not working?

2003-07-30 Thread Steve Raeburn
- From: Steve Raeburn [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 4:27 PM Subject: RE: struts-el example app not working? 4.0.6 works for me. I don't remember the details, but I *think* Netbeans has cropped up as a problem before. If you

RE: struts-el example app not working?

2003-07-30 Thread Steve Raeburn
than WS Studio. Hope this works for you... now where's that uninstall option :-) Steve -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: July 30, 2003 7:12 PM To: Struts Users Mailing List Subject: RE: struts-el example app not working? I'll try to take a look

RE: Subject RE: Multiple modules - Please help

2003-07-29 Thread Steve Raeburn
this, please post back to the user list. Steve -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: July 28, 2003 9:13 PM To: Struts Users Mailing List Subject: RE: Subject RE: Multiple modules - Please help Glad you got it working. I'll take a look at your bug

RE: Multiple modules - Please help

2003-07-28 Thread Steve Raeburn
Can you access the edit or remove actions by entering the URL in your address bar? e.g. http://localhost:8080/myapp/admin/edit.do?parameter=XXX Steve -Original Message- From: Ajay Patil [mailto:[EMAIL PROTECTED] Sent: July 27, 2003 11:21 PM To: [EMAIL PROTECTED] Subject: RE:

RE: modules sessions

2003-07-28 Thread Steve Raeburn
No, the session is associated with the web application and is controlled by the container, not by Struts. You'll need to set cookies in your own application to track per module information. Steve -Original Message- From: Eugen Bushuev [mailto:[EMAIL PROTECTED] Sent: July 27, 2003

  1   2   3   >