Re: Html:image

2003-11-10 Thread David Graham
--- Ben Anderson [EMAIL PROTECTED] wrote: Shishir, you cannot nest tags within tags. Just to be clear, you can nest tags but you cannot use a tag as the value of another tag's attribute. David You probably want to use html-el:image http://jakarta.apache.org/struts/faqs/struts-el.html

Re: Eclipse Sysdeo Tomcat Plugin Problem

2003-11-07 Thread David Graham
Make sure you haven't added any of your projects to Tomcat's classpath via the plugin. That will always cause problems. David --- Madrid, Jeffrey [EMAIL PROTECTED] wrote: Hello, I'm having a problem running Tomcat from Eclipse using the Sysdeo Tomcat plugin when I have a Struts webapp

Re: [FRIDAY] Why people want to know who read their msg?

2003-11-07 Thread David Graham
--- Adam Hardy [EMAIL PROTECTED] wrote: On 11/07/2003 09:13 PM Yansheng Lin wrote: That's not the point. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: November 7, 2003 12:48 PM To: Struts Users Mailing List Subject: Re: [FRIDAY] Why people want

Re: [OT - Design] Needing Fast Access to 300,000 Records

2003-11-06 Thread David Graham
--- Jerry Jalenak [EMAIL PROTECTED] wrote: Hi All - I've been trying to figure out a good way of handling something, and just can't quite seem to get a grip on the best approach. Here's what I've got: Two database tables - Table 1 has a BILLING_CODE and an ACCOUNT_CODE. Table 2 has

Re: Which version of Commons Digester released with Struts 1.1

2003-11-06 Thread David Graham
--- Philip Mark Donaghy [EMAIL PROTECTED] wrote: I would like to debug a problem that I have with Digester. The error is : java.lang.NoSuchMethodException: No such accessible method: addFormBeanConfig() on object: java.lang.String How can I get the version number that is distributed

Re: logic:equal using form bean property?

2003-11-06 Thread David Graham
If you're using a Servlet 2.3 container you should use the JSTL's c:forEach and c:if tags instead of the Struts tags. What do your getter and setter method for pid look like? David --- Greg Hess [EMAIL PROTECTED] wrote: Hi All, I am iterating over a collection and want to display only a

Re: Help - Looping with iterate without collection is possible?

2003-11-05 Thread David Graham
--- Henrique VIECILI [EMAIL PROTECTED] wrote: Hi, can i make a loop using logic:iterate (or any other tag) without defining a collection to iterate? I just wanna have a 'for' behavior... The JSTL has a c:forEach tag that does this. http://java.sun.com/products/jsp/jstl/ David thanx

Re: free ftp utils

2003-11-05 Thread David Graham
--- Rachid Drissi [EMAIL PROTECTED] wrote: Hi All, Is any free java utils to send mails , aatchements, ftp files using java ? http://java.sun.com/products/javamail/ David Thanks, Rachid. - To

Re: [ANNOUNCE] Visual Tags for Struts 2004 Released

2003-11-05 Thread David Graham
--- Ted Husted [EMAIL PROTECTED] wrote: Vic Cekvenich wrote: If anyone redevelops and old app, they might as well upgrade to a new container, not like we have to upgrade each workstation in the Client/Server days. Take advantage of EL, other features. It's very easy for us to say

Re: nested iterate

2003-11-04 Thread David Graham
Here's how you can display the groups using the JSTL http://java.sun.com/products/jsp/jstl/ c:forEach var=group items=${salesGroup} c:out value=${group.groupName}/ /c:forEach That should get you started. David --- struts [EMAIL PROTECTED] wrote: Hi all, Question: I've two

Re: struts and filters

2003-11-04 Thread David Graham
--- jeff [EMAIL PROTECTED] wrote: will struts work with filters ? i am using filters now, and want to start using struts. The two topics are not really related. You can use one without the other or together. David thanks, jeff

[OT] Re: What's the best choice for connection pooling with Struts and PostgreSQL

2003-11-02 Thread David Graham
--- ZYD [EMAIL PROTECTED] wrote: Dear all, I'm writing my Struts application using PostgreSQL as the backend database. Could you give me some advice on choosing the connection pooling framework/methods? I wrote my own connection pooling classes, but if there are some good frameworks

Re: more than one condition using logic tags...

2003-10-29 Thread David Graham
--- [EMAIL PROTECTED] wrote: Hello, I asked this before - Is it possible to have more than one condition using struts logic tags...like If A B C then { do something... } The JSTL provides this capability: c:if test=${A B C} do something /c:if

Re: Design decision for Globals class

2003-10-29 Thread David Graham
In general, constants should be defined in the class they're relevant in. The Struts Globals constants used to be defined in Action; however, they're used in many places other than Action so it made sense to move them to the new Globals class. David --- Justin Mahoney [EMAIL PROTECTED] wrote:

Re: Antwort: [OT] Re: far reaching db question

2003-10-28 Thread David Graham
two SQL statements with a ; in between and see if both get executed. If the driver is doing its job, you'll get an SQLException. David Regards, Manuel David Graham [EMAIL PROTECTED] 24.10.2003 17:47 Bitte antworten an Struts Users Mailing List An: Struts Users

Re: Deprecation - DataSource

2003-10-27 Thread David Graham
--- Mathieu Grimault [EMAIL PROTECTED] wrote: First hello everyone !!! This is my first answer and i'm learning struts now... I'm using this method but it's deprecated...Did someone knows the right call ? thx. DataSource dataSource =

[OT] Re: far reaching db question

2003-10-24 Thread David Graham
I create DB-Inserts from my struts application. But If an user types in the sign ' any dynamicly created inserts fail. This ist because of the sql-syntax which divides the string which will be saved with '. For example: insert into table test (name, number) values ('mr burns',

Re: far reaching db question

2003-10-24 Thread David Graham
--- Vic Cekvenich [EMAIL PROTECTED] wrote: Best practice is not to code to JDBC. (Just like do not code to servlet but to Struts). JDBC is a perfectly suitable technology to use for persistence. Not every project requires an O/R mapping tool. Best practice is to USE a DAO, like iBatis or

Re: Commenting JSP code?

2003-10-24 Thread David Graham
--- Ruth, Brice [EMAIL PROTECTED] wrote: How do I go about putting comments in my JSP code that I don't want sent out to the browser? http://java.sun.com/products/jsp/tags/12/syntaxref12.html David -- Brice D. Ruth Sr. IT Analyst Fiskars Brands, Inc.

Re: far reaching db question

2003-10-24 Thread David Graham
--- Vic Cekvenich [EMAIL PROTECTED] wrote: David Graham wrote: Not every project requires an O/R mapping tool. iBatis is *not* O/R, it is SQL based DAO. I recommend it (as did Ted Husted recently) iBatis is a promising technology that I'm considering using. I'm only considering

RE: far reaching db question

2003-10-24 Thread David Graham
--- Steve Raeburn [EMAIL PROTECTED] wrote: -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

RE: HAPPY DIWALI!

2003-10-23 Thread David Graham
Mark, There are people asking legitimate questions on this list that aren't getting answered because of the flood of spam we're receiving from this thread. You are abusing the laid back nature of this list and turning it into Slashdot level discussions. Please be more considerate of people who

Re: Running struts without servlet

2003-10-22 Thread David Graham
You can map the ActionServlet to /do* and use any other extension (or none) on the url. Your urls would look like http://host.com/context_root/do/index.whatever David --- Roland Carlsson [EMAIL PROTECTED] wrote: Hi! I'm in the begining of developing a site to a customer. The customer has

Re: Bug tracking software

2003-10-20 Thread David Graham
--- Srinivas Gunturu [EMAIL PROTECTED] wrote: Is there any web based open source/free bug tracking software available? We are using struts, but it doesn't have to be struts based as long as it is Java. :-) Bugzilla is the most popular: http://www.bugzilla.org/ David Thanks

Re: Deprecating ActionError/ActionErrors

2003-10-18 Thread David Graham
--- Wendy Smoak [EMAIL PROTECTED] wrote: I don't know if this work is still ongoing, but I notice that ActionError and ActionErrors are deprecated, yet the validate method of DynaValidatorForm still returns an ActionErrors object. Only ActionError is deprecated right now. However, most of

Re: OT: Managing Modifications to Struts

2003-10-14 Thread David Graham
--- Greg Reddin [EMAIL PROTECTED] wrote: I've only submitted a very small amount of code to this group so I'm preaching to the choir :-) But, now that I'm learning, there are only a few reasons why I would not submit code back to the community: 1) The code was written under a

RE: ugly ugly ugly [SOLVED]

2003-10-14 Thread David Graham
--- Fenderbosch, Eric [EMAIL PROTECTED] wrote: I finally got it to work like this: fmt:message key=message.benefits fmt:parambean:message key=href.shippingToolkit//fmt:param /fmt:message Why are you using bean:message and fmt:message? Wouldn't this work: fmt:message

Re: Request Scope Lifetime Propagation

2003-10-14 Thread David Graham
--- [EMAIL PROTECTED] wrote: Hello, Is there anyway to propagate data from request to request? That is I have some data used in one request (which renders a JSP) which I want included into the next request. The data in question is in the request scope and is not really appropriate for the

RE: ugly ugly ugly

2003-10-10 Thread David Graham
--- Derek Richardson [EMAIL PROTECTED] wrote: Is fmt:message a complete replacement for b:message? What do I have to know to use it? Yes. fmt:message is part of the JSTL http://java.sun.com/products/jsp/jstl/ David -Original Message- From: David Graham [mailto:[EMAIL PROTECTED

RE: ugly ugly ugly

2003-10-10 Thread David Graham
-namejavax.servlet.jsp.jstl.fmtlocalizationContext/param-name param-valuecom.yourcorp.Resources/param-value /context-param David Knew it is a part of the JSTL, didn't know it's a drop-in replacement for b:message. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 5:48 PM

Re: [OT] JSTL Taglib Definition in WEB.XML

2003-10-08 Thread David Graham
--- Jerry Jalenak [EMAIL PROTECTED] wrote: All, After reading the JSTL docs on the Jakarta web site, and googling for about an hour, I can't seem to find a answer. So, for all of you JSTL guru's out there, here's the question: In WEB.XML, do I need to specify the '-rt' taglibs?

Re: Any good Struts/SQL Server tutorials?

2003-10-08 Thread David Graham
--- Jayson Falkner [EMAIL PROTECTED] wrote: Hi Godfrey, I can't think of any, but I'm positive you would get some pointers if you asked the Struts user list. I'll send a copy this to the list. Does anyone know of a good Struts tutorial that also deals with using SQL Server? They are

Re: Struts/SQL Server rephrased

2003-10-08 Thread David Graham
database specific questions. David --- David Graham [EMAIL PROTECTED] wrote: --- Jayson Falkner [EMAIL PROTECTED] wrote: Hi Godfrey, I can't think of any, but I'm positive you would get some pointers if you asked the Struts user list. I'll send a copy this to the list

Re: Struts/SQL Server rephrased

2003-10-08 Thread David Graham
and my database is SQL Server. Can someone point me in the correct direction where to find out how to set up an environment that utilizes these two to build an application? --- David Graham [EMAIL PROTECTED] wrote: --- Jayson Falkner [EMAIL PROTECTED] wrote: Hi Godfrey, I can't

Re: Struts/SQL Server rephrased

2003-10-08 Thread David Graham
--- Mark Lowe [EMAIL PROTECTED] wrote: On Wednesday, October 8, 2003, at 07:30 PM, David Graham wrote: --- Mark Lowe [EMAIL PROTECTED] wrote: Godfrey I think what folks are trying to say is that the SQL stuff is separate to the struts stuff, and this is kind of what its about

Re: Struts/SQL Server rephrased

2003-10-08 Thread David Graham
together because they arent supposed to know about each other! Sounds like a catch22 to me. --- David Graham [EMAIL PROTECTED] wrote: --- Mark Lowe [EMAIL PROTECTED] wrote: On Wednesday, October 8, 2003, at 07:30 PM, David Graham wrote: --- Mark Lowe [EMAIL PROTECTED] wrote

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

2003-10-07 Thread David Graham
The author comes to the surprising conclusion that any particular technology isn't suited for every application! There seems to be an increasing number of internet postings designed to garner a lot of attention without actually saying anything worth reading. They generally attack some popular

Re: merging webwork and struts

2003-10-04 Thread David Graham
Different people have different ideas on how to accomplish the same thing. It's good to have multiple implementations so that we can learn the best from each. If you look at JSF, you will see features taken from Struts and WebWork. On a side note, there are a couple of frameworks similar to

Re: Reasons for using Struts

2003-09-27 Thread David Graham
--- Martin Gainty [EMAIL PROTECTED] wrote: What are the reasons for using Struts? That is what are the Reasons for which Struts would be a more suitable choice than say plain JSP/Servlet? This has been discussed many times on the list so you can find a lot of reasons in the archives. You

Re: LabelValueBean - 3 fields?

2003-09-24 Thread David Graham
--- [EMAIL PROTECTED] wrote: Hi, is it possible to store 3 fields in LabelValueBean instead of 2? i.e. value, label description? You could subclass LabelValueBean and add the description field. David __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web

RE: LabelValueBean - 3 fields?

2003-09-24 Thread David Graham
If you need a class that stores 10 Strings, you should be using an array instead of 10 different variables. David --- Varun Garg [EMAIL PROTECTED] wrote: I created a StringsClass with upto 10 variables. package com.xxx.valueobjects; import java.io.Serializable; import

RE: LabelValueBean - 3 fields?

2003-09-24 Thread David Graham
nightmare. David -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 3:23 PM To: Struts Users Mailing List Subject: RE: LabelValueBean - 3 fields? If you need a class that stores 10 Strings, you should be using an array

Re: Tiles feature required - Struts friendly exception handling.

2003-09-22 Thread David Graham
The InsertTag exception handling issue has been fixed for 1.2. David --- Robert Leland [EMAIL PROTECTED] wrote: Richard Tomlinson wrote: I don't use tiles but this does sound like a bug. If your aren't looking at the nightly Struts 1.2 source code grab a copy from CVS

Re: Tiles excessive memory usage

2003-09-22 Thread David Graham
I've reopened this bug recently since it was scheduled for fix in Struts 1.2, please add your comments and suggestions (or votes ;-) ): http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18237 It's not scheduled for a fix in 1.2, only for further review. It appears that it would require a

Re: Tiles implements Controller does not work with execute()

2003-09-19 Thread David Graham
--- Yann Cébron [EMAIL PROTECTED] wrote: I just had a look at the current code and perform() is still present in the interface for backwards-compatibility - that's why you must provide a (dummy empty) method implementing it in your class. perform() will be removed from the interface after

Re: [OT] Subject line filter tag

2003-09-16 Thread David Graham
--- Adam Levine [EMAIL PROTECTED] wrote: Generally, yes, redundant and unecessary. With lovely services like hotmail, however, you don't get much say in the way of header information being displayed before you actually open the email.. which makes mass deletions, folder filtering, and

Re: Validator, DynaForms, and Collections

2003-09-13 Thread David Graham
the entire HTTP conversation instead of getting lost on the first response. David David Graham wrote: Make sure your collection is stored in the session. If it's in the request you will lose it when returning to the input page. David --- Joe at Team345 [EMAIL PROTECTED] wrote

Re: Validator, DynaForms, and Collections

2003-09-12 Thread David Graham
Make sure your collection is stored in the session. If it's in the request you will lose it when returning to the input page. David --- Joe at Team345 [EMAIL PROTECTED] wrote: Hi, I'm using the Struts Validator (version 1.1 release) on DynaValidatorForms. Everything seems to work just

Re: xhtml, html:javascript tag ![cdata]

2003-09-12 Thread David Graham
Use html:javascript cdata=false/ to disable the CDATA printing. Current browsers are broken in their handling of xhtml and CDATA sections. David --- Adam Hardy [EMAIL PROTECTED] wrote: I have a problem trying to get XHTML to work with the ![CDATA[ tag around the javascript from the

Re: Could not find Java 1.4 encode method. Using deprecated version.

2003-09-10 Thread David Graham
--- Puneet Agarwal [EMAIL PROTECTED] wrote: I get the following error. I searched in the mail-archives and found that I am not the first one to encounter this problem. But I was unable to find the solution to this. Would be great if someone could help me on this. This is not an error.

Re: bean:message not parse HTML tags?

2003-09-10 Thread David Graham
--- Michael Remijan [EMAIL PROTECTED] wrote: Hello forum: If I have a string defined in my resources file that looks like this: some.key some bvalue with html characters/b is it possible for bean:message to NOT parse the characters so that when it is written to the html page you

Re: YASJR (Yet Another Struts Justification Request)

2003-09-10 Thread David Graham
--- Gregory F. March [EMAIL PROTECTED] wrote: I seem to have successfully pushed Struts in my company (a big Wall St. bank). However, today, I was asked the following question: How can I guarantee that there are no hacks, bombs, etc. in the Struts code or any OS code for that

Re: YASJR (Yet Another Struts Justification Request)

2003-09-10 Thread David Graham
--- David Graham [EMAIL PROTECTED] wrote: --- Gregory F. March [EMAIL PROTECTED] wrote: I seem to have successfully pushed Struts in my company (a big Wall St. bank). However, today, I was asked the following question: How can I guarantee that there are no hacks, bombs, etc

Re: YASJR (Yet Another Struts Justification Request)

2003-09-10 Thread David Graham
--- Gregory F. March [EMAIL PROTECTED] wrote: On Sep 10, 2003, Steve Raeburn [EMAIL PROTECTED] wrote: |If they're worried about rogue committers -- and I'd say we're probably all |rogues ;-) -- you can monitor the struts-dev list and be notified of every |single change to the

Re: [validator] maxlength not reading from resource bundle

2003-09-09 Thread David Graham
Try: arg0 name=maxlength key=${var:maxlength} resource=false/ The number after arg is the position in the message to replace so you need a 0. David --- Sgarlata Matt [EMAIL PROTECTED] wrote: I'm having some trouble using the maxlength validation and I was hoping someone could give me some

Re: [validator] maxlength not reading from resource bundle

2003-09-09 Thread David Graham
var-namemask/var-name var-value^[0-9][0-9][0-9]$/var-value /var /field David Graham [EMAIL PROTECTED] wrote: Try: arg0 name=maxlength key=${var:maxlength} resource=false/ The number after arg is the position in the message to replace

Re: Tiles html-taglib producing XHTML

2003-09-09 Thread David Graham
Add html:xhtml/ to each of your tiles. Each page fragment must decide how it will be rendered, not the containing page. David --- Adam Hardy [EMAIL PROTECTED] wrote: I'm using the struts html taglib, well actually the html-el taglib but the problem is with both, and I am outputting XHTML,

Re: [validator] maxlength not reading from resource bundle

2003-09-09 Thread David Graham
--- Sgarlata Matt [EMAIL PROTECTED] wrote: David Graham wrote: I'm confused by your setup: arg0 name=fieldname key=label.bin.title/ Yeah, I was trying random stuff. The final thing that worked was: field property=description depends=maxlength arg0 key=label.bin.title

Re: Tiles html-taglib producing XHTML

2003-09-09 Thread David Graham
. Please open an enhancement request with the details so it doesn't get forgotten. David Thanks Adam On 09/09/2003 06:26 PM David Graham wrote: Add html:xhtml/ to each of your tiles. Each page fragment must decide how it will be rendered, not the containing page. David

Re: Plug-in API

2003-09-08 Thread David Graham
--- Mohan Radhakrishnan [EMAIL PROTECTED] wrote: Hi I am just trying to learn about the Plug-in API. When exactly is this useful ? How would it be helpful if I want to plug-in a custom-user authentication facility instead of using the vendorspecific XML file ( JDBC realm in tomcat

Re: Plug-in API

2003-09-08 Thread David Graham
--- Joe Germuska [EMAIL PROTECTED] wrote: At 7:40 -0700 9/8/03, David Graham wrote: Plugins are really only helpful to people using a Servlet 2.2 container. If you're using Servlet 2.3 you should use a ServletContextListener. I don't know (but I doubt) that there is a determinate order

Re: [Validator] E-Mail Verification

2003-09-08 Thread David Graham
--- Jerry Jalenak [EMAIL PROTECTED] wrote: Is there a published specification on e-mail addresses? I believe it's RFC 822. The reason I ask is that we are using the 'email' validator, and it's accepting as valid e-mail addresses such as 'u-+-+%^_/[EMAIL PROTECTED]'. I didn't think

Re: [Validator] E-Mail Verification

2003-09-08 Thread David Graham
--- Robert Leland [EMAIL PROTECTED] wrote: David Graham wrote: --- Jerry Jalenak [EMAIL PROTECTED] wrote: Is there a published specification on e-mail addresses? I believe it's RFC 822. The reason I ask is that we are using the 'email' validator, and it's

RE: [Validator] E-Mail Verification

2003-09-08 Thread David Graham
--- Paananen, Tero [EMAIL PROTECTED] wrote: +1 on the new option but I think the allowed characters should be a-zA-Z0-9_.- -999 That's missing several perfectly valid characters in Email addresses, like a space, +, single quote, etc. The RFC

Re: Struts performance tips???

2003-09-05 Thread David Graham
--- Pete Serafin [EMAIL PROTECTED] wrote: All, I have a Struts1.1.3 based application running on Jrun4 and Iplanet Enterprise 5 servers. I was wondering if there were any guidelines, faq's, or help in any of the Struts books on how to improve application performance. Any help is

Re: closing tag for html tags...

2003-09-05 Thread David Graham
Place html:xhtml/ at the top of your page. David --- Pady Srinivasan [EMAIL PROTECTED] wrote: I was wondering why Struts doesn't put closing tags on the html generated. Like html:text property=name / Generates input type=text name=name value= Where is the / or /input ? Is

Re: struts-tags to jstl on resin

2003-09-04 Thread David Graham
What does Tomcat do? Print the tag code? Throw an error? Is your taglib URI correct? Do other JSTL tags (like fmt:message/) work? David --- Richard Raquepo [EMAIL PROTECTED] wrote: hello everyone. i have been using struts tags and struts-el tags for sometime now. my application works

[OT] Re: How to Proper Debug Struts Actions and stuff with the Eclipse plataform

2003-09-04 Thread David Graham
--- José_Gustavo_Zagato [EMAIL PROTECTED] wrote: Hi Folks !! I'm Experiencing to much trouble to debug a web/Struts application with the Eclipse (not WSAD !). Im trying to use the Sysdeo TomCat plugin but so far I just get exceptions while tring to debug. So, does anyone

RE: [OT] Re: How to Proper Debug Struts Actions and stuff with the Eclipse plataform

2003-09-04 Thread David Graham
into the tomcat classPath the plugin can't start the tomcat, because it dosen'tfind the standartServerClass of the Catalina. Tks ! Cheers ! José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] -Original Message- From: David Graham [mailto:[EMAIL

Re: JSTL and Struts tag nesting?

2003-09-03 Thread David Graham
You can use the struts-el taglib in the contrib directory. That allows you to use EL in the Struts tags. David --- Denis @ Betterway [EMAIL PROTECTED] wrote: Hey everyone, I have a problem where I want to use a map backed form and I basically want to do this:

RE: Subject: Re: Struts html tags and XHTML 1.0....Again

2003-09-03 Thread David Graham
--- James Childers [EMAIL PROTECTED] wrote: Does this cause an html tag to be rendered in the output HTML for every html:xhtml / tag contained in a tile? No, it only turns on XHTML mode. http://jakarta.apache.org/struts/userGuide/struts-html.html#xhtml David -= J -Original

Re: Subject: Re: Struts html tags and XHTML 1.0....Again

2003-09-03 Thread David Graham
--- [EMAIL PROTECTED] wrote: My experience with the html/xhtml quandary is that if the html:xhtml / tag is used, then all the tags except form are valid xhtml 1.0+ dtd tags. This is because the form tag insists on using the 'name=foo' attribute. The name attribute has been deprecated in

Re: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread David Graham
I don't believe there is currently a way to remove messages from the session. How would Struts know when to remove them? I have written a small subclass of ActionMessages that only returns its messages once. This allows me to store messages in the session without them being displayed multiple

RE: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread David Graham
- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 5:21 PM To: Struts Users Mailing List Subject: Re: ExceptionHandler storing ActionErrors in session I don't believe there is currently a way to remove messages from the session. How would Struts know when

RE: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread David Graham
that idea some time ago and the consensus seemed to be that custom tags shouldn't be altering session state. David robert -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 5:21 PM To: Struts Users Mailing List Subject: Re

RE: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread David Graham
then call the removeXXX() method. Mike Jasnowski -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 5:34 PM To: Struts Users Mailing List Subject: RE: ExceptionHandler storing ActionErrors in session --- Mike Jasnowski [EMAIL

Re: Struts + JSTL integration

2003-09-02 Thread David Graham
--- Carlos_Sánchez [EMAIL PROTECTED] wrote: Hi Have messages been integrated with JSTL so I don't needed to declare them in web.xml for JSTL and in struts-config.xml for Struts? You still need to declare them in both places. The Struts 1.x series is based on Servlet 2.2 which prevents

Re: Commons Versions bundled with Struts 1.1

2003-09-02 Thread David Graham
--- Adam Hardy [EMAIL PROTECTED] wrote: On a related subject, what criteria does one use to decide whether to put these in tomcat's commons/lib directory, or in the webapp's own lib directory when deploying? Place all jars that come with Struts in your app's WEB_INF/lib directory. Struts

RE: Commons Versions bundled with Struts 1.1

2003-09-02 Thread David Graham
--- Wendy Smoak [EMAIL PROTECTED] wrote: Adam wrote: On a related subject, what criteria does one use to decide whether to put these in tomcat's commons/lib directory, or in the webapp's own lib directory when deploying? I've never considered putting them in a common area. I like my

Re: html:base renders an invalid XHTML 1.0 output

2003-09-02 Thread David Graham
Nest the tag within html:html xhtml=true/html:html or put html:xhtml/ before the base tag. David --- Marco Tedone [EMAIL PROTECTED] wrote: Hi, I found myself visiting the following site: http://validator.w3.org/ I'm using JSP with tiles and actually running the validation through this

Re: Struts html tags and XHTML 1.0....Again

2003-09-02 Thread David Graham
Place this at the top of your page: html:xhtml/ David --- Marco Tedone [EMAIL PROTECTED] wrote: Hi, I discovered that not only the html:base tag doesn't render a tag closure but also all the html:..input elements (text, password and so on). This unfortunately results in a document which is

Re: Struts html tags and XHTML 1.0....Again

2003-09-02 Thread David Graham
--- Mark Lowe [EMAIL PROTECTED] wrote: I guess this bug was fixed , at least with the html:base tag. So it will be a matter of upgrading struts to a version where this has been fixed. Struts 1.1 shipped with this functionality. David Likewise the form elements, the source that appends /

RE: XML Parsing Dilemma

2003-08-29 Thread David Graham
--- Mark Galbreath [EMAIL PROTECTED] wrote: This is my real dilemma. I think an XML parsing engine should be able to take a validated XML file and output: tag_name = tag_value and understand where one record stops and another record begins. For crying out loud, I can write the thing

Re: Suggestion of a java package hierarchy for a Struts project

2003-08-29 Thread David Graham
--- Jean-Michel Garnier [EMAIL PROTECTED] wrote: My company is going to use Struts for all its web applications and we have defined a standard java package hierarchy. I submit the result of our work to the community so any company new to Struts could use it. If you are currently using

RE: J2EE IDE

2003-08-28 Thread David Graham
--- Paul Jackson [EMAIL PROTECTED] wrote: Sounds like you need to upgrade your machine. I have a standard PC (2 years old) and eclipse works fine on this... Either that or you need to upgrade your Eclipse and/or JRE version. Startup time is under 20 seconds, I don't know what Refresh time is,

Re: XML Parsing Dilemma

2003-08-28 Thread David Graham
I've only used Digester but it's super easy to setup and use. It literally requires under 5 lines of code to turn an XML file into a full object graph. Of course, this requires that you define the Digester rules in an XML file but that's pretty easy too. Check out Commons Validator's (your

RE: J2EE IDE

2003-08-27 Thread David Graham
--- Mark Galbreath [EMAIL PROTECTED] wrote: Martin Fowler ripped all the patterns in that book from previous authors. It's completely irrelevant who came up with the patterns and he doesn't claim to have thought of all of them. What is important is that he published a well written and

Re: Validator with property String array problem

2003-08-26 Thread David Graham
the correct syntax in the strut-config.xml and validation.xml and my jsp or do I need to change it? Are there any online notes as to how to correctly use the fixed commons-validator for validating propety String arrays ? Thanks and regards Suhel - Original Message - From: David Graham

Re: GenericDataSource best practise?

2003-08-22 Thread David Graham
--- Andy Cheng [EMAIL PROTECTED] wrote: Hi, currently I have something like the code below on every action, is this the normal way of getting the connection? And how would normal people do if they want to make some data access objects, which contain all the methods like insert, select etc,

Re: data source problems

2003-08-22 Thread David Graham
--- Fumo, Vince [EMAIL PROTECTED] wrote: Hi all. I'm sure this has been asked before but I can't seem to find it in the archives. I'm building a simple web app and I want to use a connection pool. I've decided to use the commons dbcp BasicDataSource class

Re: [OT] JNDI datasource lookup to test classes

2003-08-22 Thread David Graham
--- Leonardo Francalanci [EMAIL PROTECTED] wrote: In my DB tier I use an interface to get the connection. When used under Tomcat, the class that implements the connection gets the connecton through JNDI. I want to test these classes outside of Tomcat. Is there a simple way to put objects in

Re: Validator with property String array problem

2003-08-22 Thread David Graham
Commons Validator was recently modified to allow the required validation in Struts to run on String[] or Collection objects. You can download the latest Validator nightly build to try it out. David --- java-dude [EMAIL PROTECTED] wrote: Hi, I am having problems using Validator framework to

RE: data source problems

2003-08-22 Thread David Graham
-Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003 1:08 PM To: Struts Users Mailing List Subject: Re: data source problems --- Fumo, Vince [EMAIL PROTECTED] wrote: Hi all. I'm sure this has been asked before but I can't seem to find

RE: data source problems

2003-08-22 Thread David Graham
) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003 2:17 PM To: Struts Users Mailing List Subject: RE: data source problems --- Fumo, Vince [EMAIL PROTECTED] wrote

Re: Performance of UI for Struts.

2003-08-21 Thread David Graham
--- deepaksawdekar [EMAIL PROTECTED] wrote: Hi, Please excuse me for the question but I want to test the performance of my User interface developed using struts. Mainly I want to test how much time it takes to load the page if execute method of action class doesn't do any thing except

Re: Out of Memory Error on Struts 1.1, Tomcat 4.1.27, Linux JDK 1.4.2?

2003-08-20 Thread David Graham
There's a bug report on this issue: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14042 This only happens when reloading the app and will be fine in production. David --- David G. Friedman [EMAIL PROTECTED] wrote: As you may know from my posts, I'm new to Struts. So, I'm compiling a

RE: Session expired

2003-08-19 Thread David Graham
--- Filip Polsakiewicz [EMAIL PROTECTED] wrote: My problem is, that I already have something around 60 jsps. Now it would be nice to have a workaround so that i don't have to adapt all my jsps and actions. You could add a method to some BaseAction class that performs this check. If all your

Re: NoSuchMethodException?

2003-08-19 Thread David Graham
--- Steven Leija [EMAIL PROTECTED] wrote: I'm using the ActionMessages object to display a confirmation of an uploaded file. Everything works just fine in my WebSphere Application Developer IDE. When it's deployed to our dev box, i get this message: org.apache.struts.util.RequestUtils

RE: Why would I want to use the ActionForm validate() method

2003-08-19 Thread David Graham
--- Mainguy, Mike [EMAIL PROTECTED] wrote: The short answer is, you cannot always depend on javascript. There is a small percentage (Probably less than 1% I would expect) of users who either disable javascript or don't have it in their browser (e.g. lynx). Don't forget the hackers that

Re: [OT] Question about Servlets Threads

2003-08-19 Thread David Graham
In the near future we want to port our PHP-driven framework/cms (which has been proven in development and production) to JAVA. So I am looking for the fastest possible way to do this, without developing anything new from the scratch. It sounds like you're not using Struts but are trying

  1   2   3   4   5   6   7   8   9   10   >