Re: [OT] Stress testing?

2004-05-19 Thread Martin Gainty
Greg- Have you looked at Clover? http://www.thecortex.net/clover/index.html HTH, Martin - Original Message - From: Greg Hess To: Struts Sent: Wednesday, May 19, 2004 4:28 PM Subject: [OT] Stress testing? Hi All, I am looking for a tool to help me stress test my app

Re: [OFF TOPIC] - iterate over Two Dates

2004-05-19 Thread Martin Gainty
Julio: Did you check out the Jakarta Taglib DateTime Tag? http://jakarta.apache.org/taglibs/doc/datetime-doc/intro.html HTH, Martin - Original Message - From: "Julio Cesar De Salvo" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Wednesday, May 19, 2004 4:39

RE: Controller for web services

2004-05-21 Thread Martin Gainty
://ws.apache.org/axis/ Regards, Martin Gainty From: "Andrew Hill" <[EMAIL PROTECTED]> Reply-To: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: RE: Controller for web services Date: Fri, 21 May 2004 14:08:18 +0800 MIME-Versi

Re: null form passed to execute method

2004-05-27 Thread Martin Gainty
Michael- Could you supply your LoginAction-validation.xml Regards, Martin - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 27, 2004 9:15 AM Subject: null form passed to execute method > Hi folks, > > I'm experiencing some strange behavior that I

Re: how to send the 'index' to javascript function

2004-05-28 Thread Martin Gainty
The onBlur event handler uses the following Event object properties. type - this property indicates the type of event. target - this property indicates the object to which the event was originally sent. In other words once inside doThis(type, target) then... function doThis(type, target) {

RE: Modules by Server-Host

2004-06-02 Thread Martin Gainty
Ole- The module can use either an absolute path or relative to server root using the loadfile tag Here is the documentation http://httpd.apache.org/docs-2.0/mod/mod_so.html#loadfile Is this what you are looking for? Martin Gainty (cell) 617-852-7822 (e) [EMAIL PROTECTED] (http

Re: [SOLVED] Default methodName for DispatchAction

2004-06-02 Thread Martin Gainty
Keith- you need to supply the HTTP variable HTTP_USER_AGENT to BrowserType before modelBrowse String UserAgent = (String) request.getHeader("User-Agent"); HttpSession currSession = request.getSession(true); //This sets up the user.agent for the session currSession.putValue("user.agent",UserAgen

Re: Modules by Server-Host

2004-06-02 Thread Martin Gainty
ing for? > > THanks for replying. I have several hosts using the same webapplication, but > each host may use different ActionMappings. So i would like to have one > Struts-module for each HTTP-Host. Is this possible? > > Thanks > > Ole > > > > > Martin Ga

Re: [OT] Good env for struts-based-web-tier and ejb components development

2004-06-03 Thread Martin Gainty
Not at all- I have worked in so many shops where something minor would popup like jsp wouldnt compile and the developer hadnt a clue what was going on Quite frankly (no pun intended) the developer should have vi and a shell if the application does not build and deploy properly in the shell then the

Re: How to get requested path?

2004-06-03 Thread Martin Gainty
Frank- the Path Follows the URI and precedes the Query String http://java.sun.com/products/servlet/2.1/api/javax.servlet.http.HttpServletRequest.html#getPathTranslated() Does this help?? Martin - Original Message - From: "Frank Zammetti" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Th

Re: Saving state.

2004-06-04 Thread Martin Gainty
Segui I would recommend using a Stateful Session Bean Novell provides a good tutorial on how to create and deploy Stateful Session Bean at http://www.novell.com/documentation/extendas/sshelp/Docs/help/books/gsSBQuickStart.html Entiendes? -Martin - Original Message - From: "SEGUI MUNAR" <[E

Re: Interaction with .NET web service

2004-06-08 Thread Martin Gainty
Ciaran read this article http://www.javaworld.com/javaworld/jw-06-2002/jw-0628-j2eevsnet.html -Martin - Original Message - From: "Ciaran Hanley" <[EMAIL PROTECTED]> To: "Struts User Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, June 08, 2004 10:38 AM Subject: Interaction with .NET web

Re: Error Message: Tile path=".thread.Form" Does Not Start with a "/" Character

2004-06-10 Thread Martin Gainty
Regards, Martin - Original Message - From: "Caroline Jen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 09, 2004 11:29 PM Subject: Error Message: Tile path=".thread.Form" Does Not Start with a "/" Character > I am using "tile". When I try to display a JSP page, > I

Re: security roles

2004-06-14 Thread Martin Gainty
Larry read Sing Shins white paper on Web Tier Security www.javapassion.com/j2ee/AdvancedJ2EEFeatures4.pdf Martin - Original Message - From: "Zhang, Larry (L.)" <[EMAIL PROTECTED]> To: "Struts User Mailing List" <[EMAIL PROTECTED]> Sent: Monday, June 14, 2004 3:24 PM Subject: security roles

RE: [OT] A first look at Spring vs Struts

2004-06-14 Thread Martin Gainty
Rick- funky things in Action execute methods ? please describe.. Martin Gainty (cell) 617-852-7822 (e) [EMAIL PROTECTED] (http)www.laconiadatasystems.com From: Rick Reumann <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts User

Re: Book Recommendations

2004-07-06 Thread Martin Gainty
Ted Husted Struts in Action http://www.manning.com/husted -martin - Original Message - From: "Davis, Nick" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 06, 2004 8:42 AM Subject: Book Recommendations > Hi All, > > I am looking for a good Struts book. Does anyone have any

JSF vs Struts

2004-07-17 Thread Martin Gainty
Sorry for the simplistic question Starting a new project and trying to get a handle on 2 different approaches What does Struts have to offer over JSF? Thanks, martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: About Struts + JBoss preference issue

2004-07-23 Thread Martin Gainty
Henrik et al The jasper compiler task is at http://ant.apache.org/manual/OptionalTasks/jspc.html Martin Gainty (cell) 617-852-7822 From: "HG" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List&qu

RE: Java Bean Scope in Action Class

2004-08-03 Thread Martin Gainty
Andre- take a look at http://66.137.16.41:8080/expresso/expresso/doc/struts/users_guide.html Basically a session scoped bean's contents would be accessible to all entities (jsp/servlet) within the session..ther are some good Form Login examples there too- Martin Gainty From: "Bussi

RE: java.net.ConnectException: Connection refused

2004-08-10 Thread Martin Gainty
Sounds like you may have a different classloader best to use the class loader that the DriverManangerConnectionFactory uses e.g. Class.forName("com.mysql.jdbc.Driver", true, DriverManagerConnectionFactory.class.getClassLoader()); Let me know how you make out, Martin Gainty From: &q

RE: Problem depoying struts-blank.war

2004-08-11 Thread Martin Gainty
Jim- found this on the archives- validation.xml does not conform to your DTD http://www.mail-archive.com/[EMAIL PROTECTED]/msg01486.html HTH, Martin Gainty (cell) 617-852-7822 (e) [EMAIL PROTECTED] From: "Jim Barrows" <> Reply-To: "Struts Users Mailing List" <[EMAIL

RE: Problem depoying struts-blank.war

2004-08-12 Thread Martin Gainty
Jim et al: Did you check the validation.xml conforms to validator 1.1 DTD on the validator.xml (see) http://www.mail-archive.com/[EMAIL PROTECTED]/msg01486.html thanks, Martin Gainty (cell) 617-852-7822 From: "Jim Barrows" <[EMAIL PROTECTED]> Reply-To: "Struts Users

RE: java.net.ConnectException: Connection refused

2004-08-12 Thread Martin Gainty
#hibernate.connection.url jdbc:mysql:///test #hibernate.connection.username mysql #hibernate.connection.password mysql HTH, Martin Gainty (cell) 617-852-7822 From: "Jim Barrows" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mail

RE: error code 404 not used in IE

2004-08-16 Thread Martin Gainty
Did you look at Ted Husted's article on implementing ActionError class? http://www.mail-archive.com/[EMAIL PROTECTED]/msg18580.html HTH, Martin Gainty From: lixin chu <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "[EMA

RE: a technical question about using Eclipse with Struts (fwd)

2004-08-24 Thread Martin Gainty
? I would copy server.xml and web.xml out to a 'safe' readonly folder and then copy back in before building the war There was a similar problem for configuring SQLServer .. take a look at .. http://www.experts-exchange.com/Web/Application_Servers/Q_21088482.html HTH, Martin Gainty Fr

Re: ARRRGGGGHHHH!!! I'm being stupid again....

2004-09-03 Thread Martin Gainty
To quote Fawcette- "It doesn't take much to be a bean. A class just needs a public constructor that takes no arguments and get and set methods for each significant property such that a property named foo will have getFoo() and setFoo() methods. Technically, it must just support introspection, but t

Re: Help ---- Error: can not find bean messages in any scope

2004-09-07 Thread Martin Gainty
Lixin: Where are your taglib descriptors ? <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> HTH, Martin- - Original Message - From: "lixin chu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 07, 2004 3:34 AM Subject: Help Error: can not find bean m

Re: File Download

2004-09-22 Thread Martin Gainty
Robert et al- Check out this DownloadServlet example at http://www.experts-exchange.com/Web/Web_Languages/JSP/Q_20842012.html HTH, Martin- - Original Message - From: "Robert Shields" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday

Re: How to escape {1} that it appears in the text?

2004-09-26 Thread Martin Gainty
Axel Try %7B -OR- B Martin- - Original Message - From: "Axel Seinsche" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 26, 2004 10:55 AM Subject: How to escape {1} that it appears in the text? > Hi all, > > How can I escape curly brackets in my message bundle so t

Re: Back Button Error

2004-10-13 Thread Martin Gainty
Hello Stup: You need to redirect your Response e.g. Response.Redirect(Request.Url.PathAndQuery) Martin - Original Message - From: "Sudipto Roy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, October 13, 2004 2:23 PM Subject: Back Button Error > >

Re: Streaming an attachment from an Action not working with Internet Explorer

2004-10-14 Thread Martin Gainty
Ed My experience is that the majority of Microsoft programs (IE) default to saving contents to %USERPROFILE% folder I would suggest using fully qualified pathname %TOMCAT_HOME%\\webapps\\testDownload\\TextDownloadByOctectStreamWithoutForwa rd.txt (instead of relative path..) Anyone else? Martin- --

RE: Cannot create ActionForm

2004-10-06 Thread Martin Gainty
Personally I would log this as a bug org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:844) should *not* be allowing nulls as string Anyone else ?? Martin Gainty (cell) 617-852-7822 (e) [EMAIL PROTECTED] (http)www.laconiadatasystems.com Hi, Sebastien. This might be caused

Re: Error 500 on Websphere - Missing message for key "header.title"]

2004-10-07 Thread Martin Gainty
>From struts-user mail archives courtesy of Oleg V Alexeev Remove resources from classpath and place it to the WEB-INF/classes directory. For example WEB-INF classes ApplicationResources.properties ApplicationResources_en.propertie

Re: tool to produce a sitemap from struts-config

2004-10-07 Thread Martin Gainty
Would this be Transform XML to HTML? Martin- - Original Message - From: "Emmanouil Batsis" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, October 07, 2004 11:53 AM Subject: tool to produce a sitemap from struts-config > I remember someone posted a

Re: [FRIDAY] "Struts Survivor" Trivia Quiz

2004-04-10 Thread Martin Gainty
Apache Committer that started IntelliJ was Brett Porter The others Im working on... ~Martin~ "Thats why I ALWAYS have Chocolate Donuts on my training table" - John Belushi - Original Message - From: "Ted Husted" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent:

Re: NullPointerException - findSuccess(Unknown Source)

2004-05-14 Thread Martin Gainty
Where is signin/Welcome.jsp? if located under WEB-INF/signin then modify forward statement to Martin - Original Message - From: "Caroline Jen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 14, 2004 10:54 AM Subject: NullPointerException - findSuccess(Unknown Source) > Nee

Re: is this posible? return to the same page after being executed

2004-05-05 Thread Martin Gainty
forward takes the current request and response objects and sends them to another resource which then handles the request as it sees fit. Redirect sends a response back to the client that causes the clients browser to send a new request to the new provided URL. response courtesy of JavaRanch articl

Re: help with messages using bean on jsp

2005-06-03 Thread Martin Gainty
fix="fmt"%> and now do your substitution.. where bundleToUse is ApplicationResources.properties In this way all of your strings will be assigned to locale specific properties file HTH, Martin- - Original Message - From: "Tony Dahbura" <[EMAIL PROTECTED]> To: &

Re: how do I switch off Struts - internal logging?

2005-06-03 Thread Martin Gainty
commons-logging.properties # Disable logging #org.apache.commons.logging.Log = org.apache.commons.logging.impl.NoOpLog log4j.properties log4j.enable=OFF consult the applicable doc for either package Martin- in - Original Message - From: "Abhinav Bhatnagar" <[EMAIL PROTECTED]> To: Sen

Re: Tricky configuration?

2005-06-03 Thread Martin Gainty
# (4) Instructing Apache to send all the .jsp files under the context to the # jserv servlet handler. SetHandler jserv-servlet # (5) Direct known servlet URLs to Tomcat. ApJServMount /examples/servlet /examples HTH, Martin Gainty (mobile) 617-852-7822 From: amol k <[EMAIL PROTEC

Re: struts-blank.war in Jboss 4.0.0

2005-06-04 Thread Martin Gainty
John- I would suggest either posting this to your website or perhaps ftp site with an anonymous user and providing us with the link- Most mail programs throw fits when they see blank messages with (virus suspect attachment) for which they do not have a handler Thank You for your attention, Ma

RE: prepopulatting

2005-06-04 Thread Martin Gainty
Don- If instantiating for the first time I would use class="com.blaah.bean" along with scope="session" name="theBean" type="com.blaah.bean" Does anyone see anything else ??? Martin- (mobile) 617-852-7822 From: Don Hill <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@str

Re: Avoiding attacking server

2005-06-05 Thread Martin Gainty
set your MaxClients directive (max number of simultaneously connected clients) in your httpd.conf Take a look at http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-apache-config.html Anyone else ??? Martin- - Original Message - From: "John Plate" <[EMAIL PROTECTED]> To:

Re: Problems with

2005-06-05 Thread Martin Gainty
Peceka Looks like something simple like localhost isnt defined in your hosts file What do the tomcat logs say?? Martin- - Original Message - From: "peceka" <[EMAIL PROTECTED]> To: Sent: Sunday, June 05, 2005 11:15 AM Subject: Problems with Hi, My simple aplication: register1.jsp re

Re: What does it mean?

2005-06-05 Thread Martin Gainty
Andy- More than likely the DTD you are using is messed up (in your web.xml) try http://java.sun.com/dtd/web-app_2_2.dtd";> feel free to email offline as this is decidedly 'off-topic' (altho its sunday and most folks arent working we should still be respectful of being on topic) HTH- Martin --

Re: help with messages using bean on jsp

2005-06-05 Thread Martin Gainty
same I'm glad the former solution worked for you, Martin- - Original Message - From: "Tony Dahbura" <[EMAIL PROTECTED]> To: "Martin Gainty" <[EMAIL PROTECTED]> Cc: "Struts Users Mailing List" ; "Aman A" <[EMAIL PROTECTED]> Sent:

Re: how do I switch off Struts - internal logging?

2005-06-06 Thread Martin Gainty
ts Users Mailing List" ; "Martin Gainty" <[EMAIL PROTECTED]> Sent: Monday, June 06, 2005 8:34 AM Subject: RE: how do I switch off Struts - internal logging? Thanks Martin, I have these parameters in my log4j xml file, but that's for my application's logs. If I ch

Re: access to dataSource configured in struts-config.xml in a Plugin

2005-06-06 Thread Martin Gainty
Thibault- Have you had the opportunity to look at http://www.docjar.com/html/api/org/apache/struts/action/ActionServlet.java.html ? This is a customised ActionServlet which initialises data-sources thru initModuleDataSources method and the initModulePlugIns method which initialises the PlugIns

Re: Oracle 10g and 'forward with redirect'

2005-06-06 Thread Martin Gainty
relatively certain that 2.2 Servlet spec says encodeRedirectUrl(string url) is deprecated I believe interface HttpServletResponse now only supports encodeRedirectURL(String url) *note URL is all uppercase* HTH, Martin- - Original Message - From: "Michael Rasmussen" <[EMAIL PROTECTED]>

Re: html-el:checkbox quandary

2005-06-06 Thread Martin Gainty
Good catch Hubert..Thats what I noticed ..2 property references and no value= In the future you may want to debug with display statement like Martin- - Original Message - From: "Hubert Rabago" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, June 06, 2005 3:25 PM Su

Re: Error Handling Strategy

2005-06-06 Thread Martin Gainty
Huang- I am a bit confused by statement 'by accessing database' Could you explain why am error message must be done 'by accessing database' instead of by properties or ResourceBundles? Thanks, Martin- - Original Message - From: "Xinsheng [mike] Huang" <[EMAIL PROTECTED]> To: "Struts Us

Re: Highly dynamic forms

2005-06-07 Thread Martin Gainty
Stephane Did you look at LazyList? http://wiki.apache.org/struts/StrutsCatalogLazyList Martin- - Original Message - From: "Stéphane Zuckerman" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, June 07, 2005 9:53 AM Subject: Highly dynamic forms Hello, Here's the que

Re: ValidatorActionForm and JavaScript

2005-06-07 Thread Martin Gainty
Appears that either the generated ActionForm or DynaActionForm form name (as evideenced by by the validator. Take a look at your struts-config.xml to determine the form name and substitute for unknown 'myFormName_required' in other words - Original Message - From: "Lucas Bern"

Re: i18n url link problem

2005-06-07 Thread Martin Gainty
Right off the bat I assume you included in your taglib's e.g. <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib uri="/tags/struts-bean" prefix="bean" %> <%@ taglib uri="/tags/struts-html" prefix="html" %> at top of your jsp? then you must dynamically create the href so u

Re: struts - view, create, update user page

2005-06-07 Thread Martin Gainty
Tony- I agree with Larry on getting a better handle on what data elements are identified (schema) When will the data be used (should beans be short term session-scoped or perhaps longer term entity beans) also any business rules or validations use of 'ValidatorActionForm' need to be identified

Re: validation -- best practices

2005-06-08 Thread Martin Gainty
Peter- I assume you have redirected your forms submittal to your customised Validator? e.g. tag displays "onSubmit=return validateMyForm(this)" Martin- - Original Message - From: "Peter Maas" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, June 08, 2005 8:28 AM

Re: [Tiles]

2005-06-08 Thread Martin Gainty
Ray: Did you check out this article by Chuck Cavaness? http://www.oreilly.com/catalog/jakarta/chapter/ch14.html Martin- - Original Message - From: "Ray Madigan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, June 08, 2005 8:59 PM Subject: RE: [Tiles] I guess I'm

Re: Pass parameter to javascript function

2005-06-09 Thread Martin Gainty
Kjerstie et al- I found some browsers require the javascript qualifier e.g. javascript:lfnSomething( instead of just the JavaScript func lfnSomething( God Lykke, Martin- - Original Message - From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, June 09, 2005 8:20 A

Re: [OT] Automatic Javadoc - ing

2005-06-09 Thread Martin Gainty
Brian- Modify the build.xml that is generated from your IDE de jour..JDeveloper, JBuilder and or Eclipse and add in the task see http://ant.apache.org/manual/CoreTasks/javadoc.html for details- Please Post your query to user@ant.apache.org Thanks, Martin- - Original Message - From: "B

Re: Is there anyway to access this forum online?

2005-06-09 Thread Martin Gainty
Try Mutt http://www.mutt.org Its massively configurable, organises mail via thread (you can set your own editor and parameters e.g.) set editor = "/usr/bin/emacs %s --eval '(setq make-backup-files nil)'" Viel Gluck, Martin- - Original Message - From: "Manju" <[EMAIL PROTECTED]> To: "Stru

Re: Multiple user - problem

2005-06-09 Thread Martin Gainty
the 2 things I would look at immediately -synchronisation of all method calls -scoping of data entities(assuming you are implementing with beans) Anyone else? Martin- - Original Message - From: "Dave Newton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, June 09, 20

Re: Multiple user - problem

2005-06-09 Thread Martin Gainty
e 09, 2005 1:47 PM Subject: Re: Multiple user - problem Martin Gainty wrote: -synchronisation of all method calls Why all? (Really, why _any_, since you can synchornized any shared data structures.) -scoping of data entities(assuming you are implementing with beans) Unless he's storing u

Re: Multiple user - problem

2005-06-09 Thread Martin Gainty
B's are stateless and Entity Beans are with container managed persitance. Once again thanks for your suggestions. Croff - Original Message - From: "Martin Gainty" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, June 09, 2005 2:22

Re: enabling server-side validation

2005-06-10 Thread Martin Gainty
Erol- a comprehensive tutorial including how to setup struts-config.xml validation.xml as well as code can be viewed at http://www.oracle.com/technology/oramag/oracle/04-jan/o14dev_struts.html HTH, Martin- - Original Message - From: "croffman" <[EMAIL PROTECTED]> To: "Struts Users Mail

Re: [HELP]onchange in the tag

2005-06-10 Thread Martin Gainty
Leandro Read this article about accessing a bean via JavaScript via home interface JNDI name http://docs.jcu.edu.au/pm/manual/bg/ejbscrip.htm#35920 HTH, Martin- - Original Message - From: To: Sent: Friday, June 10, 2005 2:55 PM Subject: [HELP]onchange in the tag Hi all! I have a

Re: My IncludeAction-where to forward

2005-06-12 Thread Martin Gainty
I respond to this query with a good deal of caution for the implementor My analysis is that you will blow the stack when heaping children of parent Action Classes as actions objects of class RequestProcessor ..lets take a quick view of method processActionCreated protected Action processAct

Re: Having ttruble with actions and buttons

2005-06-12 Thread Martin Gainty
Paul- you need forwards defined for both success and failure name identified such as what you see in the struts doc http://struts.apache.org/userGuide/building_controller.html e.g. struts-config.xml HTH, Martin- - Original Message - From: "Paul Goepfert" <[EMAIL PROTECTED]>

Re: Having ttruble with actions and buttons

2005-06-13 Thread Martin Gainty
like their just general forward names that have no real effect on where the page goes. Am I wrong in my thinking? -Paul Martin Gainty wrote: Paul- you need forwards defined for both success and failure name identified such as what you see in the struts doc http://struts.apache.org/userGuid

Re: [OT] Validating email addresses

2005-06-15 Thread Martin Gainty
Richard- Can you run basic DNS nslookup utilities and or have access to BIND a.root-servers.net - m.root-servers.net? -OR- You may want to use a combination of parsing the URL such as http://java.sun.com/docs/books/tutorial/networking/urls/urlInfo.html import java.net.*; import java.io.*; publi

Re: BeanUtils.populate error

2005-06-15 Thread Martin Gainty
Jan- Can we see how the bean argument is constructed Can we see how the map argument is constructed You may want to take a look at the javadoc located at http://jakarta.apache.org/commons/beanutils/api/org/apache/commons/beanutils/BeanUtils.html#populate(java.lang.Object,%20java.util.Map) If you a

Re: Replace logic:messagesPresent with JSTL tags

2005-06-15 Thread Martin Gainty
Franz- courtesy http://java.sun.com/webservices/docs/1.0/tutorial/doc/JSTL5.html could you try states the request parameter org.apache.struts.action.ERROR is NOT empty Viel Gluck, Martin- - Original Message - From: "Franz-Josef Herpers" <[EMAIL PROTECTED]> To: "Struts Users Mailing Lis

Re: [OT] Session ID in the URL

2005-06-16 Thread Martin Gainty
Michael: check out http://www.manfred-wolff.de/struts/articles/HowTo-Back.html for handling BackButtonAction If that does'nt work check out overriding reset() method in ActionForm take a look at http://www.laliluna.de/struts-hibernate-integration-tutorial-en.html HTH, Martin- - Original Mes

Re: "Cannot find message resources under key org.apache.struts.action.MESSAGE " Error

2005-06-17 Thread Martin Gainty
Greetings all If I might add to Mr McDonnell's commentary- You can also handle message strings thru your init-param in your Struts servlet descriptor (web.xml) application com.mycompany.mypackage.MyResources OR you can add tag in struts-config.xml where packagename is a folder off of

Re: [FRIDAY] package naming nonsense

2005-06-17 Thread Martin Gainty
*Smart* Alec et al- use \u0002d for the hyphen character HTH, Martin- - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, June 17, 2005 11:08 AM Subject: Re: [FRIDAY] package naming nonsense Hey! I heard that! Dennis, since you

RE: HTML file generated by JSP is truncated...why?...Please help!...

2005-06-18 Thread Martin Gainty
Ok- I would have to see the entire JSP before offering any suggestion Greets, Martin Gainty __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relating to the official business of Sender and is proprietary to

RE: MySQL error using connection pool

2005-06-18 Thread Martin Gainty
Jörg: Increase the wait_timeout variable in the Mysql configuration file (my.cnf). Viel Gluck, Martin- __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relating to the official business of Sender and is proprietar

Re: How to get current top-level struts action?

2005-06-18 Thread Martin Gainty
Neil- configHelperInterface should help you with iwther getMapping or getActionForward methods should help you- http://struts.apache.org/api/org/apache/struts/config/ConfigHelperInterface.html Martin- - Original Message - From: "Neil Aggarwal" <[EMAIL PROTECTED]> To: "'Struts Users

Re: Float Validation not working

2005-06-20 Thread Martin Gainty
Ken- Could we see the appropriate validator-rules.xml entry validator name="required" with particular attention to methodParams you reference? Here is the reference http://struts.apache.org/userGuide/dev_validator.html Martin- - Original Message - From: "Dornback, Ken" <[EMAIL PROTECTED

Re: [OT] Convert Java Object into XML. Is there a simple tool in Jakarta projects or elsewere

2005-06-20 Thread Martin Gainty
Bryan check out XML Mapping with Castor link at http://www.castor.org/xml-mapping.html specifically marshalling the StringWriter Class ask the castor user group at user@castor.codehaus.org I found the group quite responsive with castor topics HTH, Martin- - Original Message - From: "Brya

Re: How to pass param implicit Object to html:link

2005-06-20 Thread Martin Gainty
Bienvenidos Jose http://struts.apache.org/userGuide/struts-html.html#link to quote "paramName is The name of a JSP bean that is a String containing the value for the request parameter named by paramId (if paramProperty is not specified), or a JSP bean whose property getter is called to return a

Re: [OT] Character '+' not transmitted to server ?!?!?! Hope you canhelp .... it's really bizarre

2005-06-20 Thread Martin Gainty
Just for my own understanding RTFM is 'Read The Fine Manual' I remember the days when the worst thing a manager could say to you was RTFM implying the engineer has entered 'The Entropy Zone' Martin- - Original Message - From: "Michael Jouravlev" <[EMAIL PROTECTED]> To: "Struts Users Ma

Re: problem with removing form bean

2005-06-21 Thread Martin Gainty
You should ensure your mapping scope is indeed 'request' e.g. //Test for presence of attribute in Map if (mapping.getAttribute() != null) { //Test that mapping is indeed scoped as request if ("request".equals(mapping.getScope())) { //remove the attribute from the request request.removeAttribute(ma

Re: Market Share / Best of Breed

2005-06-21 Thread Martin Gainty
From the numbers (sheer volume) shows Java gaining while all other languages are fighting to stay alive Take a look at http://www.cs.berkeley.edu/~flab/languages.html Martin- - Original Message - From: "Dakota Jack" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, Jun

Re: TagHandlerPool

2005-06-21 Thread Martin Gainty
Allesandro- I would have to see the generated code located at login_jsp.java specifically line 84 to find out which html tag is null Martin- - Original Message - From: "Alessandro Badin - Yahoo" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, June 21, 2005 12:32 PM Su

Re: JSTL tag libs

2005-06-21 Thread Martin Gainty
Erik et al Yes c tag (prefix="c") (uri=http://java.sun.com/jstl/core) uses EL expression as in check out http://java.sun.com/developer/technicalArticles/javaserverpages/faster/ Martin- - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Struts Users Mailing List"

Re: JSTL tag libs

2005-06-22 Thread Martin Gainty
quot; <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" ; "'Martin Gainty'" <[EMAIL PROTECTED]> Sent: Wednesday, June 22, 2005 5:03 AM Subject: AW: JSTL tag libs Like Alan I was wondering about the difference and now see a bit clearer. BUT: Now

Re: How to encode byte array as url parameter

2005-06-22 Thread Martin Gainty
David Any reason why you're not constructing java.net.URL from string? and then using toExternalForm() to convert back to String? http://java.sun.com/j2se/1.5.0/docs/api/ ??? Martin- - Original Message - From: "David Erickson" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent

Re: running tomcat on port 80[Scanned]

2005-06-23 Thread Martin Gainty
server.xml grep for 'Coyote HTTP/1.1 Connector' change port from to and yes I agree with Dave please read the FINE Manual Martin- - Original Message - From: "Mark Galbreath" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, June 23, 2005 1:18 PM Subject: RE: running

Re: I18N by pages

2005-06-24 Thread Martin Gainty
Glenn et al Another option for Struts localisation is to embed your language specific strings typically with key="string" defined within your ApplicationResources_language_country.Properties file struts-config.xml will reference for key-based tag or (initialisation param) for your servlet for

Re: [FRIDAY] uh oh

2005-06-24 Thread Martin Gainty
In my house you can either a)make toast b)heat up the coffee c)turn the server on..doing 2 out of 3 at same time blows the circuit Anyone who can build a web application from a bunch of rusty toasters deserves a raise! Martin- - Original Message - From: "Brady Hegberg" <[EMAIL PROTECTED

Re: Strange error-page behavior

2005-06-25 Thread Martin Gainty
Neil- Best that I can surmise is setBufferSize(int size) method in the ServletResponse interface Anyone else? Martin- - Original Message - From: "Neil Aggarwal" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Friday, June 24, 2005 9:09 PM Subject: RE: Strange error-page be

RE: Making cleaning after forwarding to page

2005-06-25 Thread Martin Gainty
what are you 'cleaning' up? session data? entity data? context data? Martin From: Ashraf Fouad <[EMAIL PROTECTED]> Reply-To: Ashraf Fouad <[EMAIL PROTECTED]> To: user@struts.apache.org Subject: Making cleaning after forwarding to page Date: Sat, 25 Jun 2005 16:55:30 +0300 MIME-Version: 1.0

Re: Is there any Jsp template like Smarty template ?

2005-06-29 Thread Martin Gainty
Sounds as if you are tightly coupling business layer to presentation I would recommend de-coupling your presentation layer from Business Entity possibly using Business Delegate Architecture..take a look at http://www-106.ibm.com/developerworks/java/library/j-ejb1022.html If you are seeking an IDE

Re: [OT]VS.NET is awesome

2005-06-29 Thread Martin Gainty
Thread Synchronisation and integration of graphics libraries are a bit lacking in the CLR implementations I have seen But I would imagine Bill will rectify that - M- - Original Message - From: "Larry Meadors" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, June 29,

Re: Exception - General Question

2005-06-30 Thread Martin Gainty
) Take a look at http://javaboutique.internet.com/tutorials/excep_struts/index-3.html Bon Chance, Martin Gainty __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relating to the official business of Sender and is

Re: architecture of composite action forms

2005-06-30 Thread Martin Gainty
You can use computed values for your index to the array which contains bean attribute Take a look at http://www.informit.com/content/images/0131001531/samplechapter/0131001531.pdf+%22Single+JSP%22+AND+%22Nested+Beans%22&hl=en HTH, Martin Ga

Re: deal with nested properties

2005-07-01 Thread Martin Gainty
Rémi- Which version JSTL are you implementing with? Bon Chance, Martin- - Original Message - From: "Dewitte Rémi" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, July 01, 2005 11:36 AM Subject: Re: deal with nested properties Thanks a lot. More precisely, i must do t

Re: Struts vs .NET???

2005-07-02 Thread Martin Gainty
Greg- Could you elucidate for me how .NET handles thread synchronisation? I ran into a situation where someone wanted a .NET App coded up in 3 days which worked ok except I ran into a problem where multiple threads were/are accessing the same method..my work around was to install a hack which t

Re: Struts vs .NET???

2005-07-02 Thread Martin Gainty
eidman" <[EMAIL PROTECTED]> To: "Martin Gainty" <[EMAIL PROTECTED]> Sent: Saturday, July 02, 2005 12:15 PM Subject: Re: Struts vs .NET??? On Sat, Jul 02, 2005 at 10:31:02AM -0400, Martin Gainty wrote: } Could you elucidate for me how .NET handles thread synchronisati

Re: Iterate without collection

2005-07-03 Thread Martin Gainty
this example from Kumar at JGuru: //this takes the contents of ArrayListName and assigns an iterator //write out the contents of iterator id based on keyvalue supplied at property Be mindful that Currently, this tag cannot deal with arrays of primitive data types. Only arrays of Java objec

  1   2   3   4   5   6   7   8   9   10   >