RE: Need some suggestion

2001-10-19 Thread Mikkel Bruun
I would go for jndi lookup to poolman... the struts datasource is a little to close to the presentation layer for me ;-) Mikkel -Original Message- From: Antony To: [EMAIL PROTECTED] Sent: 18-10-2001 09:40 Subject: Need some suggestion Hello: I`d like any suggestion in applying

Re: IBM VisualAge and struts

2001-10-19 Thread David A. D. Konrad
Hi Hitesh, I have done that. I have 3.5 enterprise updated to fixpack 3. My Tomcat test environment is version 3.2.1. There has not been any problems with that. regards,

RE: PropertyUtils dot notation

2001-10-19 Thread Rey Francois
The things you're talking about (making the getProperty return null instead of throwing an error when a nested property is null, and making the setProperty creating a nested object in the same situation) are indeed not supported within struts or within the commons BeanUtils. As you said, there

Re: Tiles Information

2001-10-19 Thread Cedric Dumoulin
Tiles are a contribution to Struts. You can find them under the contribution directory. If you have downloaded struts binaries, you can install struts-tiles.war, and check yourself what is it. You can also have a look to Tiles original websites : (main) :

Re: IBM VisualAge WTE and struts

2001-10-19 Thread Alan . Owen
What I have done to get round problems like these is to := 1 Export IBM XML Parser for java to a directory - MY_IBM_XML 2.Remove all the OMG packages from the directory. 3. Remove the IBM Xml Parser from the Workspace 4 Craete a new project IBM XML Parser - OMG 5 Emport the MY_IBM_XML directory

FormBean and Action-Class

2001-10-19 Thread storck
I have a problem. I would like to use the Action-class to access a EJB (wich I have already done and works). Than I would like to use a FormBean wich is filled by than Action-class. On a jsp I ONLY would like to write the content of the FormBean-properties out on my JSP not as a form where I can

how to refer to images from JSPs in WEB-INF?

2001-10-19 Thread Rob Breeds
The Struts example (or I read it somewhere on the husted.com pages) recommends putting JSPs under the WEB-INF folder so the JSPs can't be served directly - only by action path. This seems a good thing but I can't get it to work satisfactorily. And no examples I've found ever put the JSPs under

Re: Tiles - Dynamic menu creation - logic problems

2001-10-19 Thread Cedric Dumoulin
Hello, There is some mismatch in your code ;-) First, in your insert, you put several time an attribute using the same name (linknormal). Each addition overload previous value, so only the last value remains. Second, in your submenu.jsp, you iterate on both lists, but you do logic on

Re: how to refer to images from JSPs in WEB-INF?

2001-10-19 Thread Rob Breeds
OK I've sussed it myself. Got to use the html:img tags with a page attribute to get context relative path. I need to avoid using html:base/ in any JSPs because it reveals the absolute URL to the JSP. e.g. if I include it I get this appearing in the rendered page source: base

How do install/use struts in iWS 6.0?

2001-10-19 Thread Mark Ashworth
Good Day, I would like to know how to use struts with iWS 6.0 and if there are any perculiarities that I should look out for. Regards, Mark Ashworth _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Tiles and template repeated files

2001-10-19 Thread Peter Pilgrim
In the Struts Template in order to use dynamic layout features introduction.jsp %@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' % template:insert template='/chapterTemplate.jsp' template:put name='title' content='Templates' direct='true'/ template:put name='header'

struts-config.xml

2001-10-19 Thread storck
Hi, is it somehow possible that struts reads its configuration wich is defined in struts-config.xml and the content of the ApplicationResources.properties from a database? Is it possible to define for each and a bundle of JSP-Pages one ApplicationRescources.properties file so I dont have to put

html:errors

2001-10-19 Thread storck
Hi, COULD you help me! Is there a possibility to write the ONLY the error for a CERTAIN property of a FormBean out at a possition where I want it? I have something in mind where I have a form with different inputfields and if a field has a wrong value than I have a message under that field wich

global forwards for menu generation

2001-10-19 Thread Jonathan M Crater
i have found that my global forwards almost always contain my menu items, and thus it would be convenient to have an extra attribute on the forward element like text or menu, the value of which could be presented in a jsp and would allow direct iteration through the forwards collection to

Re: html:errors

2001-10-19 Thread Jonathan Asbell
IN YOUR ACTION ActionErrors errors = new ActionErrors(); if (myBoolean){errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(error.password.mismatch)); IN YOUR RESULTING JSP PAGE html:errors property=username/ - Original Message - From: storck [EMAIL PROTECTED] To: User Struts

Re: IBM VisualAge WTE and struts

2001-10-19 Thread SLBrand
Hitesh, Included are the instructions for getting the struts-example (under Struts v1.0) running in both VAJ 4.0/WTE and WAS 4.0 that I posted a while ago... (Note: The WAS instructions make reference to a .war file that is too big to upload to this group but I will send it directly to anyone

RE: Cancel in struts

2001-10-19 Thread Alexander Jesse
Hi, struts generates a normal submit button, to give the action the chance to do a logical cancel. Can be usefull. I think the naming is a bit unlucky. To get the normal cancel-button: use the normal HTML-tag. hth Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

AW: global forwards for menu generation

2001-10-19 Thread storck
How can I use global forwards for menu-generation? What is the main task if global forwards? For what is the input-property in the action-tag under action-mappings in the struts-config.xml? -Ursprungliche Nachricht- Von: Jonathan M Crater [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 19.

Re: AW: global forwards for menu generation

2001-10-19 Thread Jonathan M Crater
there is no built in struts way (that i know of) to do this. the action servlet stores the global forwards collection in the servlet context, so you have access to that collection from your web components. once you grab it you can simply use the iterate tag to spit out the values contained in

Properties of a FormBean

2001-10-19 Thread storck
Hi, how can I ONLY write out the content of formbeans property on a JSP as a simple text (not a textfield)?? Thanks!

Re: Properties of a FormBean

2001-10-19 Thread Jonathan M Crater
bean:write name=someAttribute property=someProperty/ storck wrote: Hi, how can I ONLY write out the content of formbeans property on a JSP as a simple text (not a textfield)?? Thanks!

Re: Properties of a FormBean

2001-10-19 Thread Keith Bacon
bean:write scope=request name=myFormBean property=myField / struts will call myFormBean.getMyField() the result appears on your web page. also you can specify readonly=true in the strutshtml:text tag but that seemed to work on Internet Explorer but not on Netscape 5. Keith. ---

Include of a Action-output in a JSP

2001-10-19 Thread storck
HI, is the following possible ? I have a JSP named Table.jsp wich looks like the following: html TEST BODY TABLE TR TDjsp:include page=showBlackBoardDetails.do?action=Showpk=12voName=BBNameVOselected=10 flush=true//TD /TR p

Validation Return Page

2001-10-19 Thread Stephen Owens
Struts Folk, In the case of a failure when validating a form bean on a multi-page form it looks to me like the user is always returned to the page defined as the input page in the struts action configuration. That works fine for a single page form but for multi-page forms I want to return to the

Thanks to all that have helped me.

2001-10-19 Thread Alex Colic
Big thanks to all who have been helping me learn Struts. It's good to know that people on this list are willing to help each other. Alex

How to do this type of validation?

2001-10-19 Thread Alex Colic
Hi, could someone give me some architecture hints on how to do the following: Lets say you have a business object that has a couple of mandatory and optional fields populated by the user. The user goes from page to page, each time inputting either a required piece of info or an optional piece

Re: How to do this type of validation?

2001-10-19 Thread Sandeep Takhar
There is a validate extension that may do what you want? http://home.earthlink.net/~dwinterfeldt/ I believe that it is part of the nightly build as well. - Sandeep --- Alex Colic [EMAIL PROTECTED] wrote: Hi, could someone give me some architecture hints on how to do the following: Lets

Re: Include of a Action-output in a JSP

2001-10-19 Thread Sandeep Takhar
It is possible if you use tiles. Here is a link to the archive that gives the details: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg16127.html - Sandeep --- storck [EMAIL PROTECTED] wrote: HI, is the following possible ? I have a JSP named Table.jsp wich looks like the

Re: Need some suggestion

2001-10-19 Thread Alex Lin
For me, i'm using JBuilder 5 Enterprise, especially data module and data express (with or without ejb) as the database wizard. I like this way since JBuilder has a complete and well-done logic behind. After finishing the data module, then, i branch it to connection pool (or proxy) for WebLogic

RE: how to get the position when iterating over a vector?

2001-10-19 Thread Tom Klaasen (TeleRelay)
_and_ it should say: ... If true then ..., because indexed=yes does not work! tomK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: woensdag 17 oktober 2001 19:02 To: [EMAIL PROTECTED] Subject: Re: how to get the position when iterating over a vector?

Re: Tiles and template repeated files

2001-10-19 Thread Sandeep Takhar
I may be misunderstanding, but you are suggesting using the body of the put and how big can that body be...? It is possible just to define the individual jsp's without the need for this intermediary template jsp. This is a big advantage of tiles. You can define the definition in the

Re: IBM VisualAge WTE and struts

2001-10-19 Thread Eric Rizzo
Hitesh Parashar wrote: Hi: I am having tough time establishing peace between VAJ 4.0 WTE and struts. I am following the WebSphere Version 4 Application Development Handbook. WTE requires IBM XML Parser for Java and struts requires me to use Xerces. The following packages are

Re: IBM VisualAge WTE and struts

2001-10-19 Thread Eric Rizzo
[EMAIL PROTECTED] wrote: What I have done to get round problems like these is to := 1 Export IBM XML Parser for java to a directory - MY_IBM_XML 2.Remove all the OMG packages from the directory. 3. Remove the IBM Xml Parser from the Workspace 4 Craete a new project IBM XML Parser - OMG 5

Re: IBM VisualAge WTE and struts

2001-10-19 Thread Eric Rizzo
[EMAIL PROTECTED] wrote: Hitesh, Included are the instructions for getting the struts-example (under Struts v1.0) running in both VAJ 4.0/WTE and WAS 4.0 that I posted a while ago... Cool, I think it's good idea to write this stuff up. But I would make one suggestion: instead of just

Re: how to refer to images from JSPs in WEB-INF?

2001-10-19 Thread Sandeep Takhar
try the following url: http://www.jguru.com/faq/view.jsp?EID=471953 I am not sure if this works for servlet api 2.2. sandeep --- Rob Breeds [EMAIL PROTECTED] wrote: The Struts example (or I read it somewhere on the husted.com pages) recommends putting JSPs under the WEB-INF folder so the

RE: bean:message with bean

2001-10-19 Thread Fabien Modoux
It works fine, thanks. I just had to specify the type attribute for the logic:iterate tag, because my collection was a Vector. logic:iterate id=key name=keys type=java.lang.String bean:message key=%= key % / /logic:iterate -Fabien - Fabien Modoux,

Re: IBM VisualAge WTE and struts

2001-10-19 Thread SLBrand
Eric, I agree that I disliked the fact that IBM packaged up the xml stuff in their project, and I like your idea for separating it out, thank you for posting it. If I get some time between my current projects I'll redo it in my VAJ and then add this to the directions. Thanks for the idea. Here

Re: html:errors

2001-10-19 Thread David Winterfeldt
I thought I would send this modified from what Jonathan sent so it was clear how to add an error. The first parameter adding an error to ActionErrors is the key it is filed under. So typically you use the property name of the field so it can be retrieved next to the field if you need to.

Re: How to stop form submit on javascript error?

2001-10-19 Thread Jonathan M Crater
i'm not exactly sure what you're asking, but in your ActionForm's validate method, if you return a populated ActionErrors object, the action servlet does a forward to the resource you've defined by the input attribute in the mapping element. otherwise, it calls perform on your action class.

Re: How to stop form submit on javascript error?

2001-10-19 Thread Sandeep Takhar
Sorry for the confusion... What I am asking is who has to do the trimming. I am assuming that I would need to write some function to do this and call it from the validate() method of the ActionForm class? If so, has someone already written this method. So what is Struts doing when it

DB Connection Pooling

2001-10-19 Thread David Winterfeldt
What would someone recommend for using as a connection pool besides the Struts one? Basically I'm looking for a similiar product, but I want it to be able to check if a connection has been lost or gone bad and create a new one to replace the bad one. I see that there is a pool project in

Re: DB Connection Pooling

2001-10-19 Thread Pete Carapetyan
David Winterfeldt wrote: What would someone recommend for using as a connection pool besides the Struts one? snip That's how I ended up an Expresso junkie. Yes, you will find a connection pool object there, but warning, you will also find a ton of other classes and features that may seem

Form properties reset ?

2001-10-19 Thread Tom Klaasen (TeleRelay)
Hi all, I noticed the following: I have a jsp with a corresponding form. When I press submit, it gets forwarded to an Action which sets some additional properties on the form. Then I forward to another Action. When I read the additional properties of the form, they have disappeared. Is this

How to enforce page breaks while printing

2001-10-19 Thread SUPRIYA MISRA
I am trying to build a report where I want the printer to break page on the basis of a property value. Is there a way to achieve this. I have this button to do the printing for me. a href=javascript:window.print();img src=sendtoprinter.gif width=115 height=18 border=0 alt=Send To Printer/a

Re: Tiles and template repeated files

2001-10-19 Thread Cedric Dumoulin
Hi, I have never tested the limit for the bodyContent of a put tag. Internally, it is transformed to a String, but I don't thing there is a limit to it. The problem can be a memory one : I think the String is allocated each time you parse the tag ! I am not sure that it is more

RE: struts-config.xml

2001-10-19 Thread Vaughan Jackson
James, Does this fix involve changing the way the Digester handles XML external entity references (includes) by any chance? I ask because I am having trouble getting this to work. Thanks, Vaughan. -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED]] Sent: Friday,

Re: DB Connection Pooling

2001-10-19 Thread Andy Noble
David, One that appears popular here, and I'm also using is Poolman. It can be found at http://www.codestudio.com Andy - Original Message - From: David Winterfeldt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 19, 2001 4:07 PM Subject: DB Connection Pooling What would

RE: struts-config.xml

2001-10-19 Thread James Holmes
No this would simply just be a change to the ActionServlet to read digest multiple files and does not involve any changes to the Digester code. -james --- Vaughan Jackson [EMAIL PROTECTED] wrote: James, Does this fix involve changing the way the Digester handles XML external entity

RE: How to enforce page breaks while printing

2001-10-19 Thread Stephen Owens
Not sure if this helps, but the only way I know to control page breaks is to use a stylesheet (CSS). You can do attribute value matching in CSS, the combination may allow you to do what you want. Of course it's only available in relatively recent browsers, and using CSS in older browsers that

Re: AW: index for radio button in iterate

2001-10-19 Thread dhay
Bernhard, Sorry, didn't read things close enough to realise that the udmForm was your form bean. It doesn't make sense to use it in that manner. The use of the indexed tags is (obviously) within an iterate tag, and the index created will reflect the current iteration. For example, I iterate

Re: DB Connection Pooling

2001-10-19 Thread David Winterfeldt
Thanks. This looks nice, but I'll probably just stick with the Struts one for now since the connection can refresh and I have a lot of other things to do on my project. David --- Andy Noble [EMAIL PROTECTED] wrote: David, One that appears popular here, and I'm also using is Poolman. It

RE: how to get the position when iterating over a vector?

2001-10-19 Thread dhay
That's true! (no pun intended!) Can someone change this? Dave Tom Klaasen (TeleRelay) [EMAIL PROTECTED] on 10/19/2001 09:51:37 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: RE: how to get the position when iterating over a

prob. with collections

2001-10-19 Thread Dua, Amit
Hi I have a collection of string which I am displaying through logic:iterate id=list name=filelist property=file tr td %=list% /td tr Is there anyway of getting rid of %=list% in above code

RE: How to enforce page breaks while printing

2001-10-19 Thread SUPRIYA MISRA
+do you hane an example from where I can get started From: Stephen Owens [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: How to enforce page breaks while printing Date: Fri, 19 Oct 2001 13:18:08 -0400 Not sure if this helps, but the only way I know to control

RE: How to enforce page breaks while printing

2001-10-19 Thread Stephen Owens
I'd suggest having a look at http://www.w3.org/Style/CSS/ for details...hope this helps -Original Message- From: SUPRIYA MISRA [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 1:49 PM To: [EMAIL PROTECTED] Subject: RE: How to enforce page breaks while printing +do you hane an

RE: prob. with collections

2001-10-19 Thread Barry Glasco
Highlight it and hit the delete key. If that does not work try this: bean:write name=list property=name/ -Original Message- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 1:43 PM To: '[EMAIL PROTECTED]' Subject: prob. with collections Hi I have a

RE: prob. with collections

2001-10-19 Thread SUPRIYA MISRA
cant stop laffing Highlight it and hit the delete key. If that does not work From: Barry Glasco [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: prob. with collections Date: Fri, 19 Oct 2001 14:08:25 -0400 Highlight it and hit the delete key. If that does not

RE: porb:

2001-10-19 Thread MacKellar, Kimberly
bean:write property=variable1/ -Original Message- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 12:24 PM To: '[EMAIL PROTECTED]' Subject: porb: how to write equivalent of %=variable1% in stuts

Replacing the Form in an Action

2001-10-19 Thread Jake Thompson
Hi all,   I cannot seem to figure out what I need to do in order to replace the form in the current scope with a newly created one.    I have an action and I can get a form object fully populated for me, so I want to do something like:   form = newForm;   however this obviously does not work.

RE: porb:

2001-10-19 Thread Dua, Amit
it did not work it threw this exception /current-report1.jsp(18): required attribute 'name' not specified for tag 'write' probably occurred due to an error in /current-report1.jsp line 18: bean:write property=list / -Original Message- From: MacKellar, Kimberly [mailto:[EMAIL

RE: prob. with collections

2001-10-19 Thread Dua, Amit
it did not work -Original Message- From: Barry Glasco [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 2:08 PM To: [EMAIL PROTECTED] Subject: RE: prob. with collections Highlight it and hit the delete key. If that does not work try this: bean:write name=list property=name/

Re: Replacing the Form in an Action

2001-10-19 Thread Cobbie . Behrend
Assuming that you wish to replace the form in request scope, and that you are creating the new form in your action, then the code in your action would be: request.setAttribute( formBeanName, newForm); where formBeanName = the name you used in your struts-config.xml when you defined the form.

RE: XML include hack to split struts-config.xml

2001-10-19 Thread Vaughan Jackson
Hi, A while ago (Sept 10), Renaud Waldura posted this issue, saying that the only way he could get this to work was to hardwire the path to an included XML file like this: !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.0//EN

RE: porb:

2001-10-19 Thread Fuller, Wayne
Yes, you need to have a name on bean write tags. So it would now be the following. bean:write name=SOME BEAN NAME property=SOME PROPERTY / -Original Message- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 2:16 PM To: '[EMAIL PROTECTED]' Subject: RE: porb:

Re: porb:

2001-10-19 Thread Jonathan M Crater
define it first: bean:define id=variable1 value=34/ bean:write name=variable1/ if you're trying to peel a value off an object in some scope, you'll have to use the approprate syntax. all of this is covered in excellent detail by the documentation:

RE: prob. with collections

2001-10-19 Thread Cobbie . Behrend
which did you do: bean:write name=list property=name/? That would not have given you the exception you mentioned, puting bean:write property=name/ would have. CB Dua, Amit [EMAIL PROTECTED] on 10/19/2001 02:18:00 PM Please respond to [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL

RE: porb:

2001-10-19 Thread Dua, Amit
so, you mean to say that I will have to create a bean for doing this -Original Message- From: Fuller, Wayne [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 3:17 PM To: [EMAIL PROTECTED] Subject: RE: porb: Yes, you need to have a name on bean write tags. So it would now be

RE: XML include hack to split struts-config.xml

2001-10-19 Thread James Holmes
I have the fix for multiple config files almost done. I need to create the patch and send out an email, but in the mean time you can use: http://www.ejcenter.com/struts/ActionServlet.java Just recompile the 1.0 source with the above file and then in your web.xml file you can use a comma (,)

RE: prob. with collections

2001-10-19 Thread Dua, Amit
i have written this code logic:iterate id=list name=filelist property=file tr td %=list% /td tr it works fine as my collection is collection of string now I tried doing this... logic:iterate id=list name=filelist property=file tr td bean:write name=list property=name/

ApplicationResources.properties

2001-10-19 Thread Will Spies/Towers Perrin
This file is somewhat problematic if you want to keep these values in a database and then have them reflected in an application in real time. Has anyone out there every run into or built a solution to this problem? Any info would be appreciated, Will

RE: prob. with collections

2001-10-19 Thread Fuller, Wayne
bean:write name=list property=name/ Is trying to access a bean named list and call a method on it called getName(). That is not what you want. Try this. bean:write name=list / -Original Message- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 2:38 PM To:

RE: prob. with collections

2001-10-19 Thread Dua, Amit
thanks Wayne,it worked -Original Message- From: Fuller, Wayne [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 3:45 PM To: [EMAIL PROTECTED] Subject: RE: prob. with collections bean:write name=list property=name/ Is trying to access a bean named list and call a method on it

Re: porb:

2001-10-19 Thread Marcelo Vanzin
Dua, Amit wrote: so, you mean to say that I will have to create a bean for doing this Not necessarily. You do not need to call the property, you can write the bean directly with: bean:write name=aBean/ It'll work like the %=aBean%. -- []'s Marcelo Vanzin Touch

RE: XML include hack to split struts-config.xml + StrutsDigester

2001-10-19 Thread Vaughan Jackson
James, Thanks! I'll give this a try. BTW, does anyone know what the general consensus is on being able to use these XML external entity references within a WAR? Is it reasonable to expect that the Struts Digester will ever be able to handle this? Vaughan. -Original Message-

RE: porb:

2001-10-19 Thread Dua, Amit
thanks Vanzin -Original Message- From: Marcelo Vanzin [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 3:59 PM To: [EMAIL PROTECTED] Subject: Re: porb: Dua, Amit wrote: so, you mean to say that I will have to create a bean for doing this Not necessarily. You do not

global forwards

2001-10-19 Thread chiji nwankwo
Hi, Can anyone see what I am doing wrong? forward name="viewClipStreamHigh" path="/do/search?action=ViewClipstreamMode=High" / Application developer (ibm) seems to be complaining about the use of a delimiter. This is taken from within my strut-config file and I have an action called search. Is it

RE: global forwards

2001-10-19 Thread Fletcher, Ken
Oh, nevermind -Original Message- From: Fletcher, Ken [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 3:52 PM To: '[EMAIL PROTECTED]' Subject: RE: global forwards I believe you forgot the path... -Original Message- From: chiji nwankwo [mailto:[EMAIL PROTECTED]]

Re: XML include hack to split struts-config.xml

2001-10-19 Thread Eric Rizzo
James Holmes wrote: I have the fix for multiple config files almost done. I need to create the patch and send out an email, but in the mean time you can use: http://www.ejcenter.com/struts/ActionServlet.java Just recompile the 1.0 source with the above file and then in your web.xml

incrementing a number

2001-10-19 Thread Dua, Amit
how to increment a variable using struts in jsp pages equivalent of % for(i=0;i10;i++){ % tr td =%i% /td /tr %} %

Re: XML include hack to split struts-config.xml

2001-10-19 Thread James Holmes
Done. Please reference the message titled [PATCH] Allow Multiple Config Files on the dev list. -james [EMAIL PROTECTED] http://www.ejcenter.com/struts/ --- Eric Rizzo [EMAIL PROTECTED] wrote: James Holmes wrote: I have the fix for multiple config files almost done. I need to create the

Re: IBM VisualAge WTE and struts

2001-10-19 Thread Hitesh Parashar
Thanks Stephen/Eric/Alan/David: Stephen: Could you please send the .war file to me. Also, could you please tell us in this thread, what are the specific changes that you made for this sample to work with WTE / WAS? Eric: It is really a great idea to separate the VAJ projects along the

RE: Questions About Struts Validator

2001-10-19 Thread Paul Darling
Is is possible to use multiple 'mask' validators that apply different expressions? For instance, in addition to checking that a string contains only a-z or A-Z characters, you might want to validate the string length. It's possible to use an expression that combines the types of validation

bean:message inside html:link javascript function?

2001-10-19 Thread Mike Bridge
Is it possible to embed a bean:message inside an html:link tag? I want to pass a string into a javascript function, but I don't know how to get it to work: html:link page=/configuremailrun.do onclick=return confirmClick('bean:message key=popup.confirm.delete/') I get the error:

Using static ints as values in html:submit

2001-10-19 Thread Tony Li
In my jsp, I have this line: html:submit property=submit value=search/ Instead of the string search, I would like to use something like: html:submit property=submit value=%= ButtonNames.SEARCH % Where ButtonNames is an interface and SEARCH is a public static final int. When I

Re: IBM VisualAge WTE and struts

2001-10-19 Thread Hitesh Parashar
Hi Stephen: Did you miss some steps in this for conversion of web.xml file to strutsexample.webapp file using the XSL provided with WTE (webapp.xsl)? Thanks, Hitesh. --- [EMAIL PROTECTED] wrote: Hitesh, Included are the instructions for getting the struts-example (under Struts v1.0)

Re: IBM VisualAge WTE and struts

2001-10-19 Thread SLBrand
Hi Hitesh, I guess you could say that I "missed" some steps ... but I've learned to modify the .webapp files by hand. (I provided the strutsexample.webapp with the directions so you don't _have_ to create one). I suppose at some point I should take the 10-20 minutes and learn (and write-up) the

Re: struts-config.xml

2001-10-19 Thread James Holmes
Dirk-- I am working on a patch for Struts to allow multiple config files and application resource files to be used. This would allow the application to be more modularized and would solve the problem/complaint of very large unmanageable config files. -james [EMAIL PROTECTED]