iteration with indexed properties

2006-04-23 Thread martin
/java snippets below. I'm using Java 5 with Stuts 1.2.9 in a Tomcat 5.5.16 Every hint is appreciated Cheers Martin [jsp snippet]  :  [rendered html]  :  [action form snippet] public void setWrappers(GameTipWrapper[] wrappers) { this.wrappers = wrappers; }

Re: ApplicationListener issue

2008-09-25 Thread martin
   return application.get(DATABASE_KEY);     }     /** * Provide application context. */     public Map getApplication() {     return application;    } } This is the Action and the getApplication call is giving me a null application object, what am I doing wrong? Thank yo

Re: Struts 2 file upload size validation

2008-05-07 Thread Martin
Struts 1.2.9 org.apache.struts.chain.servlet.validateActionForm where the validate method is declared as protected ActionErrors validate(Context context, ActionConfig actionConfig, ActionForm actionForm) //reference the actionF

Re: detached object cannot be persisted exception again

2008-06-05 Thread Martin
ockMode( getOptimisticLockMode(lockAllNode) ); //or No lock Attribute lockNoneNode = node.attribute( "optimistic-lock-none"); entity.setOptimisticLockMode( getOptimisticLockMode(lockNoneNode) ); HTH, Martin - Original Message - From: "Arun" <[EMAIL PROTECTED]>

Re: Modifying session attributes in Struts 2

2008-06-09 Thread Martin
/* you were really close*/ Map session = (Map) ActionContext.getContext().get("session"); session.put("new_key",new_value); http://struts.apache.org/2.x/docs/accessing-application-session-request-objects.html HTH Martin - Original Message - From: "Gambl

Re: ajax file upload in iframe

2008-06-10 Thread Martin
forme aplicacion please make sure you have these JS files located in struts-webapp folder %TOMCAT_HOME%/webapps/struts2-webapp/dojo/io/*.* if you dont have them located there you can copy from the dojo source libraries located at %DOJO_HOME%/struts/static/dojo/src/io/*.* Merci/Thanks Martin - Ori

Re: Websphere 6.1 and Struts 1.3

2008-06-10 Thread Martin
struts-config.xml you have admin defined as path instead of 'admin.do' Martin - Original Message - From: Sury Balasubramanian To: user@struts.apache.org Sent: Tuesday, June 10, 2008 1:30 PM Subject: Websphe

Re: Struts 2 s:select question

2008-06-12 Thread Martin
Can you supply the jsp sepecifically looking for s:select web.xml struts<-config>.xml as well as the code from Action class http://struts.apache.org/2.0.11.1/docs/select.html Thanks Martin - Original Message - From: "kukudas" <[EMAIL PROTECTED]> To: Sent: Thursd

Re: [OT] What slows you down?

2008-06-20 Thread Martin
something about the difference between developer (someone who only works one version of an IDE) and a software engineer who can engineer a solution (regardless of the IDE) for debugging check out console out http://jakarta.apache.org/taglibs/sandbox/doc/iterators-doc/index.html HTH Martin

Re: validation and action names with slashes

2008-06-21 Thread Martin
Roberto- Just to clarify..how should the Results mapping annotations configuration be introduced? Thanks Martin-- - Original Message - From: "Roberto Nunnari" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Saturday, June 21, 2008 7:25 PM S

Re: struts2: render JSP from action class

2008-06-21 Thread Martin
have you had a chance to look at and deploy struts2-mailreader sample? http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/struts/struts2-mailreader/2.0.11/ FWIW Martin - Original Message - From: "Esteve Camps Chust" <[EMAIL PROTECTED]> To: Sent: Saturday, June 2

Re: [OT] What slows you down?

2008-06-22 Thread Martin
Anyone else? Martin - Original Message - From: "Greg Lindholm" <[EMAIL PROTECTED]> To: Sent: Saturday, June 21, 2008 11:01 PM Subject: Re: [OT] What slows you down? When I read this I was being slowed down by constant stopping and starting of Tomcat from within Ecli

Re: Closing tag for html:hidden

2008-06-24 Thread Martin
Dimitris Congratulations..I think You found a bug /WEB-INF/struts-config.xml /WEB-INF/classes/ApplicationResources.properties prompt.search=Search prompt.Greece=Greece prompt.advanced.search=AdvancedSearch <%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html"%> <%@ taglib uri="htt

Re: use OGNL to automatically look in the session?

2008-06-24 Thread Martin
The OGNL creators/authors were definitely 'page' centric e.g. #attr['foo'] or #attr.foo resolves to 1)Access to PageContext if available, otherwise searches 2)request 3)session 4)application respectively http://struts.apache.org/2.0.11.1/docs/ognl-basics.html IMHO Ma

Re: Possible to iterate through a java.util.Set using Struts 1?

2008-07-29 Thread Martin
http://cwiki.apache.org/WW/tutoriallesson04-01.html ? Martin - Original Message - From: "Ylva D" <[EMAIL PROTECTED]> To: Sent: Tuesday, July 29, 2008 2:16 PM Subject: Possible to iterate through a java.util.Set using Struts 1? > > Hi everyone! > > I've just star

Re: Struts 2 And JFreeChart

2008-07-31 Thread Martin
it does sound like a caching issue.. try this directive before your <% response.setHeader("Cache-Control", "no-cache"); //HTTP 1.1 response.setHeader("Pragma", "no-cache"); //HTTP 1.0 response.setDateHeader("Expires", 0);

Re: Redirect after stream result

2008-07-31 Thread Martin
ecute() method actionMapping.findForward("error") ? Martin- - Original Message - From: "ManiKanta G" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, July 30, 2008 6:16 AM Subject: Redirect after stream result Hi, How can I redirect

Re: struts-scaffold and commons-scaffold

2004-05-05 Thread Peter Martin
y the same thing, only the iBATIS team did it better. (Of which I am now proud to be a member.) -Ted. On Tue, 04 May 2004 20:30:44 -0500, Peter Martin wrote: > I have seen the 2 scaffolds referenced in the Struts book "Struts > in Action", but they are in the Jakarta sandbox. Ar

RE: Extending html tag: how to do it?

2004-05-08 Thread Martin Alley
Bean:write has a filter parameter: "If this attribute is set to true, the rendered property value will be filtered for characters that are sensitive in HTML, and any such characters will be replaced by their entity equivalents. " -Original Message- From: Simone - Dev [mailto:[EMAIL PROTECT

How to get http and https port # from struts-config in filter?

2004-05-08 Thread Martin Alley
. I don't want to (nor should I have to) parse the struts-config myself. Thanks Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to get http and https port # from struts-config in filter?

2004-05-08 Thread Martin Alley
st, for example, http, https, or ftp." Martin -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 08 May 2004 19:05 To: Struts Users Mailing List Subject: Re: How to get http and https port # from struts-config in filter? The api you want would be the servlet ap

Re: XML stream input to Struts Action class

2004-05-14 Thread Martin Cooper
JAXB to marashall into java objects.My question is can i use > struts in this case as a framework.does struts supports population of form > bean from xml input rather than form based post input. You can use Struts, yes, but Struts will not populate a form bean from XML input. You'll need

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

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 PROT

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

Validator question

2004-05-25 Thread Peter Martin
I have a select list that I want to validate the user picked one of the values. The options in the select list are as follows: option[0]value = "" label = "Please Select" option[1]value = "P" label = "Probation" option[2]value = "T" label = "Trial" option[3]value = " "

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 so

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
quot;user.agent",UserAgent); //This sets the local variable BrowserType to the HTTP Variable BrowserType = UserAgent; Does this help??? -Martin - Original Message - From: "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'&

Re: Modules by Server-Host

2004-06-02 Thread Martin Gainty
-Step4 Does this help? Martin - Original Message - From: "Hildebrandt, Ole" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 02, 2004 10:15 AM Subject: AW: Modules by Server-Host > > Hi Martin, > >

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

2004-06-03 Thread Martin Gainty
there isn't any IDE that is going to help +1 -Martin - Original Message - From: "Frank Zammetti" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 03, 2004 8:30 AM Subject: RE: [OT] Good env for struts-based-web-tier and ejb components development

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: <[EMA

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

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 Su

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 &

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

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: multiple submit buttons/one form

2004-06-27 Thread Martin . Rademacher
There is a nice solution described here http://husted.com/struts/tips/003.html using the LookupDispatchAction action. Cheers, Martin Eric Schneider <[EMAIL PROTECTED]> 28/06/2004 14:47 Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To &quo

Map backed ActionForm, and jstl expression language

2004-07-01 Thread John Martin
Hi all, Any help on the following problem would be most appreciated. What i am trying to do is produce a report of data in tabular form with filters that will reduce the report set. There can be 100's of different reports but by passing in a report id to a database the query, filters, columns a

RE: Map backed ActionForm, and jstl expression language

2004-07-02 Thread John Martin
u can access the values by key in JSTL as ... translates to myForm.getValuesMap().get("theKey"); or the key can be dynamic ... ... translates to myForm.getValuesMap().get("foo"); HTH ... Bill Siggelkow John Martin wrote: > Hi all, > > Any help on the following problem would be

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 goo

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

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: Back navigation using application back buttons

2004-07-27 Thread Martin . Rademacher
ings, I can use local forwards to control where to go; for example: Cheers, Martin "Meier, Niclas" <[EMAIL PROTECTED]> 28/07/2004 06:06 Please

best practices for creating output for different clients

2004-07-31 Thread Martin Kindler
re to add the hook? possible problems when upgrading to newer versions of Struts). What is the common approach to this problem? Martin Kindler - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

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

A question of style (newbie)

2004-09-02 Thread Martin Kindler
ich do the conversion with another "field"-name (starttimestr). This works. The question is: is this considered good style? Are there any problems to be aware of? I am new to Java and Struts, so I think I better ask. Martin --- Martin Kindler eM

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

2004-09-03 Thread Martin Gainty
int getK() {return k;} public String getS(){return s;} public void setK(int i) {k=i;} public void setS(String t){s=t;} };" /*I noticed that I did not see your properties break out to a separate Bean Classwith a public constructor as well as get/set for each property*/ HTH, Martin - Or

[ANNOUNCE] Struts 1.2.3 Test Build Available

2004-09-04 Thread Martin Cooper
the lists or via the bug database. -- Martin Cooper - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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:3

[ANNOUNCE] Struts 1.2.4 Test Build Available

2004-09-12 Thread Martin Cooper
will be made as to whether it should be promoted to General Availability (GA) status, and replace the recently withdrawn 1.2.2 release. You are encouraged to download and test this build at your earliest convenience, and provide your feedback via the lists or via the bug database. -- Martin

Re: Posting XML to Struts

2004-09-17 Thread Martin Schaefer
; > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Martin Schaefer NAXOS Software Solutions GmbH i.G. Herrenstr. 1 69502 Hemsbach Germany Phone:+49 (0) 6

[ANNOUNCE] Struts 1.2.4 (General Availability) Released

2004-09-19 Thread Martin Cooper
-- Martin Cooper - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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 PROTECTE

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 b

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:

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: Servlet Exception

2004-09-28 Thread Martin Cooper
Your JSP is too big. You'll either need to break it up into smaller compilation units (i.e. multiple JSPs) or move to Tomcat 4.1 or later, which can handle this type of problem. -- Martin Cooper On Tue, 28 Sep 2004 12:09:33 -, Zakaria kHABOT <[EMAIL PROTECTED]> wrote: > Hi all

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-conf

RE: How does ActionForm data pass through container called form based login page?

2004-03-27 Thread Martin Alley
es up when submitting the form (ie. Already in form.html) - I don't know if this is my mistake or another bug. Included files are the test - based on JBoss 3.2.3 with tomcat4.1 embedded. Martin Index.html fo

Re: Struts 1.1, JSTL and Tomcat5

2004-03-31 Thread Martin Cooper
Did you update your web.xml file for Servlets 2.4, and update any taglib declarations in that file? -- Martin Cooper "Jens Kühnberger" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi everyone, > > I got a problem with updating my webapplication from s

Re: Question about logic:iterator, indexId and hidden fields

2004-03-31 Thread Martin Cooper
The attribute value must be a string literal or a scripting expression. You cannot mix the two. Try this instead: onclick='<%= "setEditIndex(" + index + ")" %>' -- Martin Cooper > > > Right no

Re: Problem with custom ActionMapping, set-property and WebLogic

2004-04-05 Thread Martin Cooper
Try adding matching getters for your setters, to make sure Weblogic sees these as properties. -- Martin Cooper "chris" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm having trouble getting a custom ActionMapping class populated with the > content

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

Re: when not to use an ActionForm

2004-04-14 Thread Martin Cooper
le). When your action form is populated, you will end up with the "dynaFields" map containing key/value pairs corresponding to the name/value pairs from your elements. -- Martin Cooper > > > Thanks, > Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tool for HTML/JSP formatting

2004-04-15 Thread Martin Cooper
I haven't used it (yet!), but I recently discovered this: http://www.trita.com which looks pretty awesome, at least going from the web site. -- Martin Cooper "walkrustin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Does anyone know of any good tool

Re: Urgent help in struts MOdular approach

2004-04-19 Thread Martin Cooper
MessageIf what you mean is that you have an Action in module 'business' that needs to forward to a JSP in module 'default', then you should switch modules before forwarding. See RequestUtils.selectModule() and/or SwitchAction. -- Martin Cooper "Normanjai Singh Pau

Struts wiki != bug database

2004-04-20 Thread Martin Cooper
g/bugzilla/ Thanks! -- Martin Cooper - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Non-Form Based Mapped Properties

2004-04-22 Thread Martin Cooper
r getMap/setMap property - you can call it whatever you want. Your getValue/setValue methods won't be used. -- Martin Cooper "Michael McGrady" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The class is the following, Niall: > > import java.util.Col

Re: Advantages/Disadvantages of One Action for each Use Case

2004-04-22 Thread Martin Cooper
es, and yes, that can happen, but as long as you're organised and make judicious use of Java packages, it's not a problem. -- Martin Cooper "Dionisius Purba" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I was wondering what's th

Re: Where can I catch FileUploadException?

2004-04-22 Thread Martin Cooper
voked. The exception is caught by Struts, and converted to a ServletException. Unfortunately, this doesn't propagate to the global exception handler (although perhaps it should), so it bubbles right out the top. -- Martin Cooper > > Thanks > Jing > > > DISCLAIMER: This message contain

Re: Struts 1.0 question - defining multiple controllers

2004-05-11 Thread Martin Cooper
e instance, they'll be tripping over each other all the time. Why would you need more than one instance, though? -- Martin Cooper "Khalid K." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Platform websphere/struts 1.0 (updating to 1.1 out of question) Questio

Referer http header not set for struts redirects

2004-05-10 Thread Martin Alley
Hi, It would appear the http redirect header is not set when struts does a redirect as dictated by a forward element with redirect attribute true. Can someone comment on this? Thanks Martin

Referer http header not set for struts redirects

2004-05-09 Thread Martin Alley
Hi, It would appear the http redirect header is not set when struts does a redirect as dictated by a forward element with redirect attribute true. Is this a quirk of struts, or standard behaviour for http redirects? Thanks Martin

RE: How to get http and https port # from struts-config in filter?

2004-05-09 Thread Martin Alley
() The 2.4 servlet spec has some other methods to do the same thing. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/servletapi/javax/ servlet/ServletRequest.html On 9 May 2004, at 08:36, Martin Alley wrote: > That doesn't look appropriate. > > If the session times out on an https r

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 - find

Re: struts file upload strange error

2004-05-03 Thread Martin Cooper
It's not a Struts bug, and it's not even a Struts-related problem. Any time you need to upload files, you must use a POST request with an 'enctype' of "multipart/form-data". Your form element should look like this: -- Martin Cooper "Bryan Hunt" <[EMA

Re: struts file upload strange error

2004-05-04 Thread Martin Cooper
hich is a very useful > packet capture tool for Windows. On Windows 2000, you have Network Monitor built in, so you don't actually need any additional software... -- Martin Cooper > > John > > > > >

Re: Struts - How to Download a File

2004-05-04 Thread Martin Cooper
Just set the appropriate HTTP response headers, write the content to the servlet output stream, and then return 'null' from your Struts Action. -- Martin Cooper "Singh_bibek" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi All, We wish to provide a lin

Re: FAQ via ezmlm - not available

2004-05-04 Thread Martin Cooper
I'm not sure there ever was a FAQ available via ezmlm... -- Martin Cooper <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hola! After subscribing the confirmation message offers: > Send mail to the following for info and FAQ for this list: > [EMAIL PROTECTED] I t

struts-scaffold and commons-scaffold

2004-05-04 Thread Peter Martin
I have seen the 2 scaffolds referenced in the Struts book "Struts in Action", but they are in the Jakarta sandbox. Are these products usable? If so, where would I find the current jar files and current source files? - To unsubs

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

2004-05-05 Thread Martin Gainty
article http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=18&t= 000315 Verdad? -Martin - Original Message - From: "Julio Cesar De Salvo" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Wednesd

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 PR

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
, Martin- - Original Message - From: "John M Flinchbaugh" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, June 03, 2005 11:16 PM Subject: Re: struts-blank.war in Jboss 4.0.0 --

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]> R

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 PR

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 aplicatio

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 to

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:

  1   2   3   4   5   6   7   8   9   10   >