Re: bean:message as content of template:put tag

2002-02-28 Thread Cedric Dumoulin
It is not a problem with Struts, but with JSP : you can't nest a tag inside a tag. The correct way to do this, with template, is : template:put name='title'bean:message key=index.title//template:put Solution provided by Chris is also a possibility, but you need to use Tiles instead of

How to use Struts with HTML forms generated dynamicly

2002-02-28 Thread MICHEL Stéphane
Hi, I have HTML forms generated dynamicly (with XSL and XML) from a SGDB structure. So i think, i can't use strust HTML taglibs (i don't know how !) So my question is : How can I use the struts framework with this kind of forms ? Is it adapted to my needs ? SM -- To unsubscribe, e-mail:

RE: Performance problem with custom tags on WAS 3.5.x and 4.0.1

2002-02-28 Thread Arnaud Buisine
efixe PQ53687 is included in WAS 4.0 FixPak 2 I guess PQ53588 must be somewhere in a WAS 3.5 FixPak you can get them at http://www14.software.ibm.com/webapp/download/search.jsp?q=webspherecat=web serverspf=k=ANYdt=FIXPAKgo=ysr=1rs=sb=n Arnaud -Message d'origine- De : subhendukumar

Read-only form fields.

2002-02-28 Thread Ian Beaumont
I have a read-only field on a form - is it right that the value on my form bean for this field will not be be populated when the form is submitted? Anyway round this?

RE: Read-only form fields.

2002-02-28 Thread Ian Beaumont
To answer my own question - My field was disabled not readonly - which meant the value isn't posted back. Changing it to readonly fixed the problem. -Original Message- From: Ian Beaumont [mailto:[EMAIL PROTECTED]] Sent: 28 February 2002 10:00 To: Struts Users Mailing List Subject:

Database Access Problem.Need Help?

2002-02-28 Thread Anant Sagar
Hello , I am new to Struts and facing problem regarding the Database access .I m getting DataSource as null even though , i ve done changes in Data Source Configuratio . I m using Tomcat 3.2.1 . This is what I have done in struts-config.xml file

[ANNOUNCE| Struts Workflow Extension Package V0.9

2002-02-28 Thread Matthias Bauer
To all struts users! It has been quite some time since I first announced the Struts Workflow Extension Package. Since then, I have received several requests for an example application and pretty good ideas for further enhancements. Here now is the first official release that includes an example

Annoyance with html:form name=xxxx/

2002-02-28 Thread Ian Tomey
Hi all, Using Struts 1.02. I am placing multiple forms on the screen which I have populated from an action and pushed into request scope. When I use the html:form tag and specify name, then it barfs if I don't specify the type property (to create new bean if it doesnt exist). Don't really

problem with digester 1.1.1

2002-02-28 Thread emmanuel.boudrant
I've got a problem with digester 1.1.1, I've got this Exception: Exception occurred during event dispatching: java.lang.NoSuchMethodError at org.apache.commons.digester.Digester.getReader(Digester.java:527) at org.apache.commons.digester.Digester.parse(Digester.java:1206)

MultipartIterator

2002-02-28 Thread Mark Woon
Can anyone (Ted?) confirm or deny if MultipartIterator is working properly in Struts 1.0.2? I've seen reports in the archive that it's broken in 1.0.1, but the changelog for 1.0.2 has not noted that this has been fixed. I'm not getting the NPE that the reports were complaining about, but am

Action errors disappear ?

2002-02-28 Thread Eddie Fung
I am displaying errors using the ActionErrors facility and everything shows up nicely using the html:errors property=xxx/ tag. However I have some local links to anchor points on the same web page ie. a have a nav bar which, when clicked on , will take you to another spot on the page. I've

Re: MultipartIterator

2002-02-28 Thread Mark Woon
Mark Woon wrote: but am getting ServletExceptions instead (Problem while reading request: The maximum length of -1 bytes has been exceeded) eventhough I have maxLength set to 10240 on html:file. Oops. Just realized maxlength refers to characters entered into input field and has nothing to

Re: Struts with (Oracle's) UIX (presentation layer taglib)

2002-02-28 Thread Jim.W.Berg
What is a guy from Chicago doing with Cleveland? How do I look at the tags? Are they on OTN? Or is this a partner promo? Jim Berg U of Chicago '78 Sr. Software Specialist PSCI [EMAIL PROTECTED] Bomb Diggy [EMAIL PROTECTED] 27-Feb-2002 16:16 Please respond to Struts Users Mailing List

Graphs

2002-02-28 Thread Lister, Tom (ANTS)
Hi Does anyone know of a straightforward graphing applet that goes with struts Only need to plot simple 2d data as a line or bar chart :-) [EMAIL PROTECTED] *** This email message contains confidential information for the

struts-was.jar link on the jakata homepage is not working

2002-02-28 Thread Kai Ulrich
Help ! I need the struts-was.jar but the link on the jakata homepage is not working! Does anybody still have the file ? Any help would be greatly appreciated, kai -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Struts and the UML modeling approach

2002-02-28 Thread Jean-Guillaume LALANNE
Hi, Has anyone of you managed to integrate a Struts framework in a complete UML approach or methodology ? I am trying to do so but I am getting difficulties to find out the way I should go from my use cases, my state diagrams and my activity diagrams to the Form Beans, the Actions and the

internationalisation

2002-02-28 Thread @Basebeans.com
Subject: internationalisation From: Damien Wavrant [EMAIL PROTECTED] === how to internationalized an application using struts, like errors messages per example ? Is it possible to load dynamicaly a different ApplicationRessource.properties (ApplicationRessource_FR.properties,

Re: Annoyance with html:form name=xxxx/

2002-02-28 Thread Jonathan James
try html:form action= where is the path of the action defined in the struts-config.xml file - Original Message - From: Ian Tomey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 28, 2002 4:53 AM Subject: Annoyance with html:form name=/ Hi all, Using

Re: Annoyance with html:form name=xxxx/

2002-02-28 Thread Ian Tomey
oh yeah, those ones are fine, just got a page with multiple forms on which have different values as specified by an action, and are written into the request attributes. need to name each one. [EMAIL PROTECTED] 02/28/02 01:44pm try html:form action= where is the path of the action

RE: Graphs

2002-02-28 Thread Arnaud Heritier
It's not an applet but libraries that you can use to generate images viewable from a servlet or in an applet : http://jrefinery.com/jfreechart/ http://chart2d.sourceforge.net/ arno -Message d'origine- De: Lister, Tom (ANTS) [SMTP:[EMAIL PROTECTED]] Date: jeudi 28 fevrier 2002

Re: internationalisation

2002-02-28 Thread Rob Breeds
Struts supports this very well. You just add the resource properties files you need and Struts uses the correct one according to browser language setting. Errors and messages use keys to lookup values in the resource properties. Rob

RE: internationalisation

2002-02-28 Thread Juan Alvarado \(Struts List\)
How would you internationalize lets say product information that would be generated from a database query??? Is there a standard way of doing this withing struts?? ** Juan Alvarado Internet Developer -- Manduca Management (786)552-0504 [EMAIL

RE: Database Access Problem.Need Help?

2002-02-28 Thread Kanoza, Douglas (NCI)
I've been using the DataSource for a while without any problems, but I never explicitly specified the key or type properties in the data-source tag, or the context-param in web.xml. I just copied it right from the example app and put in my settings, but I'm using Tomcat 3.2.4 and 4.0.1. Also,

RE: Session Control

2002-02-28 Thread Kanoza, Douglas (NCI)
I haven't used it yet, but take a look at Matthias Bauer's announcement of a Struts workflow extension package. http://www.livinglogic.de/Struts/ -Original Message- From: subhendukumar mohanty [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 6:41 PM To: [EMAIL PROTECTED]

Form Tags - OutOfMemoryException

2002-02-28 Thread John M. Corro
I know that there have been posts in the past from people who have run into OutOfMemoryExceptions from a high amount of tags in their JSP. I've recently run into a situation where a page (that already had a good number of tags) that was working had to be modified to include more form tags

passing parameters

2002-02-28 Thread Edward Q. Bridges
simple question, (i hope!) if i set a property for an action in struts-config.xml like this: action path=/view-channels type=contentdb.view.channels.ViewChannelsAction name=viewChannelsForm scope=request validate=true

Re: internationalisation

2002-02-28 Thread markus . plattner
Hi Damien, it's rather simple - struts does this for you. The only thing you have to considere about is how to change the language, because struts internationalization is based on a Locale stored in the Session context (Attributename: Action.LOCALE_KEY). And don't forget to set the

AW: passing parameters

2002-02-28 Thread Albertsen, Juergen
You have to use a custom Mapping class. Depending on whether you use Struts 1.0 or the 1.1-dev prerelease you either specify the mapping class globally or for each action mapping. In case of the former - 1.0.x - you use an init parameter called mapping when configuring the Action servlet in the

Slight misunderstanding regarding Form-beans

2002-02-28 Thread Thorbjørn Ravn Andersen
I had a problem which just phrasing the question to this list solved, but I would like to file my result as a bug. I am trying to create my first real struts application, but I had trouble with my Form-Bean was always null in my derived perform routine. I found that my FormBean was extending

RE: passing parameters

2002-02-28 Thread Chris Means
Alternatively, I believe that the Action class supports a parameter attribute, which you could possibly use if the Action class doesn't use it itself. -Original Message- From: Albertsen, Juergen [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 8:27 AM To: 'Struts Users

Re: Slight misunderstanding regarding Form-beans

2002-02-28 Thread David A. D. Konrad
I am trying to create my first real struts application, but I had trouble with my Form-Bean was always null in my derived perform routine. I found that my FormBean was extending Object instead of org.apache.struts.action. .ActionForm, and that correcting this fixed my problem. I would

Re: Graphs

2002-02-28 Thread @Basebeans.com
Subject: Re: Graphs From: Claudio Parnenzini [EMAIL PROTECTED] === You can use, http://jrefinery.com/jfreechart/ Claudio Lister, Tom (ANTS) [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hi Does anyone know of a straightforward graphing applet that goes with struts

RE: Slight misunderstanding regarding Form-beans

2002-02-28 Thread Kanoza, Douglas (NCI)
Agreed. It also doesn't complain if you misspell the type in the form-beans section, but that's my fault. There is a point at which we as developers have to take responsibility for our own code... -Original Message- From: David A. D. Konrad [mailto:[EMAIL PROTECTED]] Sent: Thursday,

RE: Session Control

2002-02-28 Thread subhendukumar mohanty
Any Help ? -Original Message- From: subhendukumar mohanty Sent: Wednesday, February 27, 2002 6:41 PM To: [EMAIL PROTECTED] Subject: Session Control In my project we want to control the session. The purpose of this is : 1. Preventing user to click browser back button to submit the

Struts-Application in Default Servlet Context

2002-02-28 Thread Ronald . Bieber
Hi, I want to combine a struts-application with a Vignette Content Management System. We are using a WebLogic 5.1, and Vignette puts its JSPs in the default context. What I want to achieve is to have the struts application integrated with the default context, such that I can use a forward to

Vaildation using regexp fails for large strings

2002-02-28 Thread Dave J Dandeneau
We are experiencing a problem where the regexp package that the validator uses fails for some expressions and causes the system to hang. I am definitly not the best with regular expressions, but the expression that fails is ^.{1,30}$. It is fine until you test against a string longer then two or

nested:iterate and nested:nest issues

2002-02-28 Thread Sriram Nookala
I have the following code in my jsp within a html:form tag: Here attributeDefintionList is a collection of AttributeDefintion beans. AttributeDefinition has a property type which itself is an AttributeType bean with a property store. The code I have doesn't seem to setting and getting store for

Messages

2002-02-28 Thread Juan Alvarado \(Struts List\)
Could someone tell me how to retrieve messages stored in my ApplicationResources properties file from the perform method in my Action class. I'm not sure if this is possible or not, but I figured it's essentially the same thing the html:errors tag does in a JSP, but the only difference is that I

File Upload

2002-02-28 Thread Juan Alvarado \(Struts List\)
Is it possible to use the file upload capabilities of struts so that you can have regular form controls as well as the file upload on the same form. In other words, is struts capable of handling this multi-part request at once. Thanks for your help.

Re: Slight misunderstanding regarding Form-beans

2002-02-28 Thread Thorbjørn Ravn Andersen
torsdag februar 28 2002 kl. 03:53 PM skrev David A. D. Konrad: I am trying to create my first real struts application, but I had trouble with my Form-Bean was always null in my derived perform routine. I found that my FormBean was extending Object instead of org.apache.struts.action.

RE: File Upload

2002-02-28 Thread Gaulin . David
I do this right now and it works fine I had a few problems but nothing major. David Gaulin Tel / tél :(613) 946-9595 Email / courriel : [EMAIL PROTECTED] Facsimile / télécopieur : (613) 954-6012 Industry Canada | 235 Queen Street, Ottawa, Ontario, K1A 0H5 Industry Canada | 235, rue Queen,

RE: Session Control Urgent

2002-02-28 Thread subhendukumar mohanty
In my project we want to control the session. The purpose of this is : 1. Preventing user to click browser back button to submit the form again. (If After submitting a page user clicks on back button and tries to submit the same page). I think we can achieve it by using struts Action class's

Usage of Action Tokens - preventing application 'damage' by impatient users

2002-02-28 Thread Tom Bednarz
Hi, I guess it is a common problem of web applications that they need to track how many times a user clicks a submit button. Assuming, that a click on the submit button executes an expensive stored procedure on a database server which may take 10 to 20 seconds, lots of users get impatient and

RE: Work around for setLocale(true) Problem

2002-02-28 Thread Adam Suber
Yanhui, html:html locale=true is the original tag. The set.Locale(true) exists as an error. Apparently the JSP 1.1 specification on iPlanet isn't properly deployed and therefy throws this error when it tries to convert a string to a boolean value. --- Yu, Yanhui [EMAIL PROTECTED] wrote:

RE: Work around for setLocale(true) Problem

2002-02-28 Thread Yu, Yanhui
could you please try ? html:html locale=true Yanhui -Original Message- From: Adam Suber [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 10:06 AM To: [EMAIL PROTECTED] Subject: Work around for setLocale(true) Problem Has anyone successfully come up with a work around

RE: Usage of Action Tokens - preventing application 'damage' by impatient users

2002-02-28 Thread Brad Rhoads
You can prevent multiple submits in the client side using JavaScript. Below is some code that you can see in action at https://www.cyclewacko.com/ChangeInfo.asp?mode=newGoTo=youraccount.aspSSL= yes //-- /SCRIPTSCRIPT language=JavaScript type=text/JavaScript !-- //This include file contains

RE: changing from *.do to /do/* screws up everything?

2002-02-28 Thread Bryan Field-Elliot
That doesn't seem like it buys you anything... Then what's the point of hiding JSP pages behind WEB-INF, if all of them are available through a simple forwarding action? This is the (small) paradox I find with the whole hiding behind WEB-INF thing. It seems like it should be a good idea, but

RE: changing from *.do to /do/* screws up everything?

2002-02-28 Thread Jeff Krueger
You could setup a action mapping that just does a forward. action path=/signup forward=/WEB-INF/docroot/signup.jsp / Jeff Krueger -Original Message- From: Bryan Field-Elliot [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 1:54 PM To: Struts Users Mailing List; Ted Husted

Multiple checkboxes with the same name -- possible with Struts?

2002-02-28 Thread Kevin J. Turner
Is it possible, using the Struts framework, to have multiple checkboxes that are named the same but have different values? First, a little background on this: Say you have the following four fruity checkboxes on a form, with Apple and Mango checked: [x] Apple [ ] Kiwi [x] Mango [ ] Banana Each

RE: Multiple checkboxes with the same name -- possible with Struts?

2002-02-28 Thread Gaulin . David
Look at the html:multibox tag. David Gaulin Tel / tél :(613) 946-9595 Email / courriel : [EMAIL PROTECTED] Facsimile / télécopieur : (613) 954-6012 Industry Canada | 235 Queen Street, Ottawa, Ontario, K1A 0H5 Industry Canada | 235, rue Queen, Ottawa (Ontario) K1A 0H5 -Original

RE: Multiple checkboxes with the same name -- possible with Struts?

2002-02-28 Thread Kevin J. Turner
Alas, that deoesn't solve the problem. Look at the html:multibox tag. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

how to display a bean in struts

2002-02-28 Thread Yu, Yanhui
Hi, I am quite new to struts, now I have a session bean of type Customers and I would like to display all the fields for this Customer. I thought I can do it the following way, but I keep getting errors (Attribute aCustomer has no value): jsp:useBean id=aCustomer scope=session

RE: Multiple checkboxes with the same name -- possible with Struts?

2002-02-28 Thread Gaulin . David
I am not sure to understand your problem then. In my case we have roles instead of fruit. We have an activity that have more then one participant and each participant can have more then one role. [X]Organizer [ ]Speaker [ ]Attendee [ ]Sponsor ... etc My ActionForm contains a participant bean

Redirect problem using Struts 1.0.2 in WebSphere 4.0.2

2002-02-28 Thread @Basebeans.com
Subject: Redirect problem using Struts 1.0.2 in WebSphere 4.0.2 From: Don Miller [EMAIL PROTECTED] === I'm developing a Struts v1.0.2 application in WebSphere v4.0.2 and have encountered a problem with redirection. When a forward.redirect = true, Struts prepends the forward.path with the

RE: Redirect problem using Struts 1.0.2 in WebSphere 4.0.2

2002-02-28 Thread Gaulin . David
Yes, I have the exact same problem. If you look on the struts-dev mailing list it is mentioned. It is caused by something different between tomcat and WEbSphere when you use response.encodeRedirectURL(). In my case I change the class RequestProcessor.processActionForward() from: if

Tutorial for implementing i18n

2002-02-28 Thread Rustad, Aaron
I have posted a simple step by step tutorial of getting internationalization working with Struts. You can find it here: http://www.anassina.com/struts/i18n/i18n.html I welcome any comments, as I intend on improving it where necessary. Thanks! Aaron. --- i18n

RE: Multiple checkboxes with the same name -- possible with Struts?

2002-02-28 Thread Gaulin . David
My HTML looks like this input type=checkbox id=Exhibitor1 name=participants[0].roleCd value=E input type=checkbox id=Speaker1 name=participants[0].roleCd value=S input type=checkbox id=Attendee1 name=participants[0].roleCd value=A input type=checkbox id=Head1

logic:iterate vs. bean:write

2002-02-28 Thread Dave Wellman
Ok, I'm stumped. what do I need to do in order for the bean:write tag to correctly cast and lookup properties within my object and not the TreeMap items within a logic:iterate tag? logic:iterate id=item name=results type=myItem ... bean:write name=item property=name/ ... /logic:iterate

Holding form values from the begining page to the final page in wizard approach

2002-02-28 Thread Park, Dongwon
Hello, I have 1 form class, 1 action class and 5 JSP to support 5 steps in my wizard. Form class has all member I have from step 1 to step 5. The scope is request and it could navigate from step 1 to step 5 with validation but could not hold all values to the final step in wizard. So, the

Question on Validation

2002-02-28 Thread Saeid Zoonematkermani
Hello, I am using struts 1.0.2 and have been looking at ways to do more than the default validation provides. I have downloaded and tested Struts Validator package but it does not seem to provide what we are looking for. Here is the problem... After the user submits the form and it fails

File Upload App

2002-02-28 Thread Juan Alvarado
Is it possible to use the file upload capabilities of struts so that you can have regular form controls as well as the file upload on the same form. In other words, is struts capable of handling this multi-part request at once. Thanks for your help.

Re: changing from *.do to /do/* screws up everything?

2002-02-28 Thread Sean Willson
Bryan, Thats where the Struts Forward action comes in: !-- display a page -- action path=/display type=org.apache.struts.actions.ForwardAction parameter=/WEB-INF/views/display.jsp / This is a generic action that comes with struts that allows you to forward on to another

Messages

2002-02-28 Thread Juan Alvarado
Could someone tell me how to retrieve messages stored in my ApplicationResources properties file from the perform method in my Action class. I'm not sure if this is possible or not, but I figured it's essentially the same thing the html:errors tag does in a JSP, but the only difference is that I

Re: Struts and the UML modeling approach

2002-02-28 Thread Jean-Guillaume LALANNE
Hi or Salut, I haven't got any answer... But I'd like to get some !!! I look at your site www.sysdeo.com and I was surprised to find out that we are dealing with the same kind of stuff : UML,WSAD,J2EE,EJB,XML/XSL,Struts To come back to our ships (just kidding ...), I am working for a

Multiple checkboxes with the same name -- possible with Struts?

2002-02-28 Thread Kevin J. Turner
Is it possible, using the Struts framework, to have multiple checkboxes that are named the same but have different values? First, a little background on this: Say you have the following four fruity checkboxes on a form, with Apple and Mango checked: [x] Apple [ ] Kiwi [x] Mango [ ] Banana

Is internationalization with japanese possible?

2002-02-28 Thread Torsten Trzeciak
Hallo, I come from Germany and I would like to present my web page in japanese What is necessary? Just another resource ? Thanks in advance

White Paper on Struts

2002-02-28 Thread Maturo, Larry
I've been collecting, in a document, Struts examples and know how while I have been learning Struts. I have decided to make this available to everyone in a white paper. It's available on my companies web-site at: http://stealthis.athensgroup.com/presentations/ It's under the

Re: Multiple checkboxes with the same name -- possible with Struts?

2002-02-28 Thread Jonathan James
I'm assuming its not smart enough to do this? Nope. Struts is smart enough to do this. If you use the multibox tag as David Gaulin suggested and your bean looks like public void setFruit( String[] fruits ) {...} public String[] getFruit() {...} Then all your multiboxes look like

RE: Multiple checkboxes with the same name -- possible with Struts?

2002-02-28 Thread Kevin J. Turner
I will try again.. there must be something I'm not doing right Thx. -Original Message- From: Jonathan James [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 2:16 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Multiple checkboxes with the same name --

Re: Is internationalization with japanese possible?

2002-02-28 Thread Rob Breeds
Pretty much - add resources as required. In your JSP add html:html locale=true You will need to add META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=UTF-8 to JSP if using UTF-8. And set up your app server to encode in UTF-8 if you want to support multiple languages in same page. See

Re: Messages

2002-02-28 Thread Sidhartha Jain
Hi I think I could give you a little bit of clue You need to import this file import org.apache.struts.util.MessageResources; And then in perform method write MessageResources messages= getMessageResources(); Then you can retrieve messages like messages.getMessage(Msgname in Property File

Re: Question on Validation

2002-02-28 Thread David Winterfeldt
This isn't an issue with validating. This is formatting your view based on the ActionErrors object generated by validation. Struts nightly builds has logic:messagesPresent and logic:messagesNotPresent jsp tags to control formating. The Struts Validator before the 1/14/2002 build posted on

Re: Vaildation using regexp fails for large strings

2002-02-28 Thread David Winterfeldt
I've had problems with this too. That is why I added minlength and maxlength validation routines so regular expression wouldn't need to be used this way. ORO could also be used if you write your own validator using ORO instead of Jakarta Regexp. David --- Dave J Dandeneau [EMAIL PROTECTED]

Re: Messages

2002-02-28 Thread Eddie Bush
Yes, in fact, you're right. The errors tag does just that. You might try looking at the source code for the tag. Once you have downloaded and uncompressed the source distribution, change to the subdirectory: src/share/org/apache/struts/taglib which is located under the main directory created

RE: Holding form values from the begining page to the final page in wizard approach

2002-02-28 Thread Park, Dongwon
It is funny I answer this one after I questioned. Anyway, in my case, it works fine after changing the scope to session. We don't need to use any hidden value or javascripts here. -Original Message- From: Park, Dongwon [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 1:41 PM

Re: Is internationalization with japanese possible?

2002-02-28 Thread Louis Leung
i think some browser doesn't work every well with META header. the safer way is to set these info in the http response header by doing %@ page contentType=text/html;charset=UTF-8% in your jsp Rob Breeds wrote: Pretty much - add resources as required. In your JSP add html:html locale=true

tiles-config.dtd - 403 Forbidden Error

2002-02-28 Thread @Basebeans.com
Subject: tiles-config.dtd - 403 Forbidden Error From: Don Miller [EMAIL PROTECTED] === I'm getting a 403 Forbidden error when accessing the tiles-config.dtd in the following location for validation: http://jakarta.apache.org/struts/dtds/tiles-config.dtd Is there another location to which I can

configure welcome page

2002-02-28 Thread Patria Lukman
hi everyone am a newbie in Struts and have been playing around with some examples. I know it might sound obvious, but I have looked it up in the archive mail and have not found anything. I want to move the welcome page ( index.jsp) of my app from the root to WEB-INF/JSP/index.jsp and for that I

Re: configure welcome page

2002-02-28 Thread @Basebeans.com
Subject: Re: configure welcome page From: Don Miller [EMAIL PROTECTED] === Your problem is due to a common misconception of how the welcome file list works. The welcome file list in the web.xml file defines the default file(s) for all directories, including the root and all subdirectories. It

RE: Multiple checkboxes with the same name -- possible with Strut s?

2002-02-28 Thread dhay
The problem is that you are generating the multibox in the iterate tag - if you just have one set, I bet it is okay. But you have multiple sets *ALL* with the same name. Thus Struts doesn't know have to populate them. Typical requirement for indexing. Unfortunately, it doesn't appear

RE: Memory consumption of tags

2002-02-28 Thread Yu, Yanhui
This is posted a couple of times, hope someone can help me out: What I need to do is this: I would like to display an error message to the user in a little more customized way, such as, if some special characters are not allowed in a field, if they entered any of this special character

use of nested:iterate and nested:nest tags

2002-02-28 Thread Sriram Nookala
I have the following code in my jsp within a html:form tag: Here attributeDefintionList is a collection of AttributeDefintion beans. AttributeDefinition has a property type which itself is an AttributeType bean with a property store. The code I have doesn't seem to setting and getting store for

[off topic] HTTP Cookie Persistence

2002-02-28 Thread Eddie Bush
I know how to create cookies, and how to cause them to expire. I also know how to cause a 'session cookie' to be created. However, what I would like to do is create a cookie that persists 'forever'. Is there a way to do this? What I want to do is give site visitors the ability to log in

Re: [off topic] HTTP Cookie Persistence

2002-02-28 Thread Saeid Zoonematkermani
Put an expiration date that is far in the future, say 10 years from now. Every time the cookie is updated, change the date to current_time + 10 years and you should be OK. - Saeid At 01:22 PM 2/28/2002, you wrote: I know how to create cookies, and how to cause them to expire. I also know

apply a prefix to bean:message's key (or name + property) attribute?

2002-02-28 Thread @Basebeans.com
Subject: apply a prefix to bean:message's key (or name + property) attribute? From: Jeff [EMAIL PROTECTED] === Is it possible to specify some prefix that should be prepended to the message key name specified by either the key attribute or derived from the name + property attributes of the

Re: apply a prefix to bean:message's key (or name + property) attribute?

2002-02-28 Thread Joachim Gjesdal
how about, %countyCode=country.+countryCode% bean:message name=%=countryCode%/ joachim Struts Newsgroup (@Basebeans.com) wrote: Subject: apply a prefix to bean:message's key (or name + property) attribute? From: Jeff [EMAIL PROTECTED] === Is it possible to specify some prefix that should be

Validation Error Messages and Formatting was [Memory consumption of tags]

2002-02-28 Thread David Winterfeldt
--- Yu, Yanhui [EMAIL PROTECTED] wrote: This is posted a couple of times, hope someone can help me out: What I need to do is this: I would like to display an error message to the user in a little more customized way, such as, if some special characters are not allowed in a field,

Re: [off topic] HTTP Cookie Persistence

2002-02-28 Thread Eddie Bush
OK, so just continually reset it. That's what I had decided but was in hopes of a better solution. Thanks! Eddie - Original Message - From: Saeid Zoonematkermani [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, February 28, 2002 3:30 PM Subject: Re:

Re: apply a prefix to bean:message's key (or name + property) attribute?

2002-02-28 Thread @Basebeans.com
Subject: Re: apply a prefix to bean:message's key (or name + property) attribute? From: Jeff [EMAIL PROTECTED] === Hmm... that definitely works. I'm going to have to beg for Sun's forgiveness, though... (forgive me, Sun, for I have sinned... my last use of a scriptlet in a model 2 MVC web

RE: struts-was.jar link on the jakata homepage is not working

2002-02-28 Thread K. Williams
Actually I tried to get this file to work also with no luck. What I found worked like a charm was to use the struts-blank.war and NOT the struts-examples.war file found in Struts 1.0.2. All you have to do is convert it if you are using WAS 3.5.4 or 3.5.5 as I am. (get the patch from IBM if you

Tiles not working, I'm using a recent nightly build.

2002-02-28 Thread Eric Boudreau
I'm starting to integrate Tiles into an application that has been built with Struts. I built a simple test page but it won't display in the browser. I'm not getting any exceptions or useful diagnostic info. I've tried the following nightly builds: 20020205 20020228 Running on Weblogic 6.1

Re: Struts and the UML modeling approach

2002-02-28 Thread dIon Gillard
Jean-Guillaume LALANNE wrote: Hi, Has anyone of you managed to integrate a Struts framework in a complete UML approach or methodology ? I am trying to do so but I am getting difficulties to find out the way I should go from my use cases, my state diagrams and my activity diagrams to the Form

Persisting values from a form

2002-02-28 Thread David Hoots
I have a form that is a set of criteria used for performing a search. I don't need to persist the search criteria across Web sessions, but would like to persist them within a session. Every time I go to the page that has the search criteria a new form instance gets created. Could anybody

Any Idea of how to control SessionID

2002-02-28 Thread subhendukumar mohanty
Any Idea how to use sessionID control Using Struts Framework. Thanks Subhendu -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: struts template

2002-02-28 Thread @Basebeans.com
Subject: Re: struts template From: zb cong [EMAIL PROTECTED] === another example is built in your struts download-bundle,under strutshome/webapps/ directory,file name is struts-template.war. Luis M. Rosso [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]; Hi, Henry ! I think the

bean:cookie tag

2002-02-28 Thread @Basebeans.com
Subject: bean:cookie tag From: zb cong [EMAIL PROTECTED] === what does bean:cookie tag mean?--write a cookie or read a cookie? thank you very much ! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Struts and the UML modeling approach

2002-02-28 Thread Mark Johnson
UML diagram: http://husted.com/struts/resources/uml-jps.pdf free UML modelling software: http://gentleware.de (poseidon community edition based on open source argouml, but more user-friendly, good doc, etc; generates java class stubs from class diagrams, and claims to 'reverse-engineer' class

is there drawdown select box in struts?

2002-02-28 Thread @Basebeans.com
Subject: is there drawdown select box in struts? From: zb cong [EMAIL PROTECTED] === hello i find that the html:select is a list select box,i wanna drawdown select box? how can i do? thank you very much! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: use of nested:iterate and nested:nest tags

2002-02-28 Thread Arron Bates
I was hoping that other people would start helping with the nested tags, but anyways. Rest assured, your markup is fine (At least the part you provided :). It's easier to tell with nested tags. Less detail to worry about ;) Are there any errors, or is it just that the bean property isn't

Re: use of nested:iterate and nested:nest tags

2002-02-28 Thread CyberZombie
Heh...I didn't reply as I saw nothing wrong with it and didn't count myself advanced enough in the ins-and-outs of nested to guess outside of the given scope. Arron Bates wrote: I was hoping that other people would start helping with the nested tags, but anyways. Rest assured, your

  1   2   >