Getting a value from the last form

2001-08-14 Thread mikael . lharant-unilog
Hello everybody, I have a form with several items which the user can select. When he submits the form, I open a new form. This form contains informations which depends on the value selected in the last form. How can I get this value in the java classes (xxxForm and xxxAction) and in the jsp

test - no need to read

2001-08-14 Thread Bar³omiej Paw³owski
test

Acronym BMO ( Session Beans )What does it stand 4.

2001-08-14 Thread Chuck Amadi
Hi i didn't get a response or a suggestion regarding BMO (Session Beans ) Thus i would like to know what this acronym stands for . I have come across a UML class diagram that connects a BMO TO a DAO (Data Access Object ) via Query / Update.Has or does BMO SOMETHING TO DO WITH Business Method

Antigen found =*.js file

2001-08-14 Thread ANTIGEN_NT_49613125
Antigen for Exchange found validate.js matching =*.js file filter. The file is currently Removed. The message, Rejected Message, was sent from [EMAIL PROTECTED] and was discovered in Herz, Stefan\Inbox located at ZDF/ZDF_MAINZ/NT_49613125.

ScanMail Message: To Recipient virus found and action taken.

2001-08-14 Thread System Attendant
ScanMail for Microsoft Exchange has detected virus-infected attachment(s). Sender = [EMAIL PROTECTED] Recipient(s) = [EMAIL PROTECTED] Subject = Rejected Message Scanning Time = 08/14/2001 10:33:35 Action on virus found: The attachment validate.js matched file blocking settings. ScanMail has

TILES - cannot run the provided webapps

2001-08-14 Thread nicolas bonvin
cedric?, I downloaded the latest(20010731) version of tiles from http://www.lifl.fr/~dumoulin/tiles/ and tried to deploy the tiles-tutorial webapp inside of tomcat4.0-b7 (as well as other tomcat versions just to make sure); unfortunately, here's the error I get upon requesting

Struts example application deployed on webappcabaret

2001-08-14 Thread Turgay Zengin
Hi everybody, I have finished my first Struts application (well, nearly finished), and I thought you may want to have a look at it. You can find it at work at http://www.webappcabaret.com/turgayzengin , and also I have a place on sourceforge where you can find the source code at

How to get a locale object in the constructor of a ActionForm class?

2001-08-14 Thread Hartmut Bernecker
Hi, how can I get a locale object in the construtcor of a ActionForm class? In a login-form I want to set a selectbox containing language descriptions to the right value (de or en or fr etc). I think the best way to do that would be an initialisation with the current locale in the constructor of

the data flow

2001-08-14 Thread Mike Dewhirst
Just want to clarify the flow of data in Struts: 1. Controller receives request. 2. Controller looks up mapping for Action and what ActionForm to use. 3. Controller Creates a new instance of ActionForm, invokes it's reset method. 3a. If request contains parameters, Controller populates form by

RE: the data flow

2001-08-14 Thread devon . bowen
3. Controller Creates a new instance of ActionForm, invokes it's reset method. The instance of the ActionForm either already exists (created by a previous Action) or is created when the HTML for the form is generated (as the form is being given to the user for modification). Reset is not

RE: JBuilder 5, Struts 1.0 WebLogic 6.0, a Tutorial

2001-08-14 Thread markus.colombo
I had to update the following part: http://www.netstore.ch/mesi/strutstutorial/part2.html#Heading6 (I left out the dependencies tab, which prevented the struts.jar from being in the war file...) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday,

RE: Struts example application deployed on webappcabaret

2001-08-14 Thread baris.guzelordu
I get the error on your page??? Server Context Not Available. Possible reasons: Turned Off Does NOT exist Busy (in which case you may try again). -Original Message- From: Turgay Zengin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 12:35 PM To: [EMAIL PROTECTED] Subject:

Pressing Struts Questions

2001-08-14 Thread Beuck, Torsten
Hi to all Struts developers. A few days ago i posted two different questions to this mailings. Unfortunately it seems as if nobody noticed these mails. I am sorry but i have to post them again, because i urgently need any clues. Here are the questions: 1)ResponseUtils.filter

AW: Pressing Struts Questions

2001-08-14 Thread Bernhard J. Hirschmann
Hi Torsten! without having tested this, but have you ever tried to convert 'Ändern' instead of 'Auml;ndern'? Best regards, Bernhard

RE: Struts example application deployed on webappcabaret

2001-08-14 Thread Turgay Zengin
Hi, Among the possible reasons: Turned Off (May be, I try not to turn the context off, but once I did to change a class) Does NOT exist (not possible, it is there :)) Busy (in which case you may try again). (may be) So, please try again... I suggest that you write to my e-mail address about

Re: Pressing Struts Questions

2001-08-14 Thread Michael Gerdau
Hi Torsten, Bernhard ! without having tested this, but have you ever tried to convert 'Ändern' instead of 'Auml;ndern'? Without testing it myself but looking at the sourcecode 'Ändern' should remain unchanged. This probably could work as a temporary fix. On the long run we will need a proper

Re: How to get a locale object in the constructor of a ActionForm class?

2001-08-14 Thread Gregor Rayman
Hartmut Bernecker [EMAIL PROTECTED] wrote: Hi, how can I get a locale object in the construtcor of a ActionForm class? In a login-form I want to set a selectbox containing language descriptions to the right value (de or en or fr etc). I think the best way to do that would be an

AW: Pressing Struts Questions

2001-08-14 Thread Beuck, Torsten
Hi Bernhard, Michael, without having tested this, but have you ever tried to convert 'Ändern' instead of 'Auml;ndern'? Without testing it myself but looking at the sourcecode 'Ändern' should remain unchanged. I've tested it and you are right: It remains unchanged. The filter method

test

2001-08-14 Thread jigerjava
test hope it gets thru. Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.comBuy Music, Video, CD-ROM and Audio-Books from http://www.planetmonline.com

How to Build Deploy a New Application

2001-08-14 Thread Efrain Gutierrez
How to Build Deploy a New Application in Tomcat and Weblogic.??? = Ing. Jose Efrain Gutierrez C Web Developer/Softtek Monterrey Mexico ICQ:2293612 yahoo hotmail:jefrainmx _ Do You Yahoo!? Construye tu página personal en Yahoo!

XML based ApplicationResources.properties

2001-08-14 Thread Mills, Theo
Are there any plans to turn the ApplicationResources.properties into an actual xml document? It would make the file more manageable, IMO, by conforming to a standard found in other struts property files, such as struts-config, and allow messages to be returned as actual html or text blocks,

Re: STRUTS with Sybase EAServer 3.6.1 C2

2001-08-14 Thread daoust . c
My understanding is that there are some class issues with EAServer and that the fix has not yet been made public. This si the latest info I could get from the EAServer newsgroups. Claude Malcolm Wise [EMAIL PROTECTED] on 08/13/2001 06:54:21 AM Please respond to [EMAIL PROTECTED]; Please

Re: ActionForm and business object?

2001-08-14 Thread Mark Chen
Craig, Thanks! Mark [EMAIL PROTECTED] 08/13/01 07:03PM On Mon, 13 Aug 2001, Mark Chen wrote: I remembered that I read some article about separating business object from ActionForm using Some kind of util class built from Struts to extract info from business object or value object.

Examples of mutli-click prevention using struts tokens

2001-08-14 Thread Tim Fox
Anyone know of any examples of how to use the saveToken(), resetToken(), and isTokenValid() methods - for prevention of submission of forms multiple times. I can't find anything in the docs. Specifically I want to be able to use them in the situation where I *don't* have a html:form in my page -

RE: XML based ApplicationResources.properties

2001-08-14 Thread Halvorson, Loren
With regard to a standard XML format for localized data, have you taken a look at TMX? http://lisa.org/tmx/ We wrote a very simple MessageResources subclass that reads TMX files via a SAX parser. The advantage is that there are lots of translation tools out there to translate TMX file.

get/set on properties in a form bean

2001-08-14 Thread Mike Dewhirst
If I have a bean with int, long, etc. properties in an ActionForm, will Struts cast/convert them to and from String automatically? =** If you are not the intended recipient, employee or agent responsible for delivering the message to the

RE: get/set on properties in a form bean

2001-08-14 Thread Geddes, Mark (ANTS)
yes -Original Message- From: Mike Dewhirst [mailto:[EMAIL PROTECTED]] Sent: 14 August 2001 14:55 To: '[EMAIL PROTECTED]' Subject: get/set on properties in a form bean If I have a bean with int, long, etc. properties in an ActionForm, will Struts cast/convert them to and from String

can't test my jsp page

2001-08-14 Thread Tamanaei, ITS PersWi C500, DA
Hi everyone, i have written a simple jsp page, which will use the descriptor-file struts-html.tld from struts. But i wanted to run this page at Tomcat and i got the following error: org.apache.jasper.compiler.CompileException: C:\Tomcat\webapps\ROOT\ebi\Struts_test.jsp(2,0) Unable to open

Multi-page form bean persistence

2001-08-14 Thread Richard William Lake
I have a multi-page form to manipulate a 2-level tree structure, so one of the variables of my ActionForm specifies which branch of the tree is shown, and I have no problem switching between branches to view the data. I'm using another variable to define a cancel/commit status of the form,

AW: can't test my jsp page

2001-08-14 Thread Bernhard J. Hirschmann
Are you sure, the file struts-html.tld is located in C:\Tomcat\webapps\ROOT\WEB-INF\ ? Tomcat can not find this file - thats the simple reason. -Ursprüngliche Nachricht- Von: Tamanaei, ITS PersWi C500, DA [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 14. August 2001 15:54 An:

Struts forms used with an html editor

2001-08-14 Thread Erdebil, Nilufer
Is anyone using an HTML editor to initially create a jsp and then putting in the Struts forms into the page? I would like to know if there are any problems when the JSP with the struts forms is put back into the HTML editor to make layout changes. ( I am using Dreamweaver as the HTML editor)

ActionErrors going out of request scope

2001-08-14 Thread B Manikandan
Hi, I have a frame based implementation. frame 2 frame 1 frame 3 All actions are invoked from frame 1.In frame 2 and 3 ,I have html:errors. Now in case of error, Iam populating ActionErrors and also calling saveErrors.But Iam displaying the

RE: can't test my jsp page

2001-08-14 Thread Turgay Zengin
Seems like Tomcat cannot find the .tld file where it expects. I suggest that you don't put your files under ROOT context, but under webapps as a new directory. i.e. If your application's name is ebi then create a directory c:\tomcat\webapps\ebi and put everything under that. For your current

AW: can't test my jsp page

2001-08-14 Thread Tamanaei, ITS PersWi C500, DA
yes of course, the file struts-html.tld is locatet in C:\Tomcat\webapps\ROOT\WEB-INF\ -Ursprüngliche Nachricht- Von: Bernhard J. Hirschmann [mailto:[EMAIL PROTECTED]] Gesendet am: Dienstag, 14. August 2001 16:19 An: [EMAIL PROTECTED] Betreff: AW: can't test my jsp page Are you sure,

Re: book ??????????

2001-08-14 Thread Troy Hart
ENOUGH ALREADY!!! On Friday 14 July 2000 12:59 am, you wrote: Hi everybody is there any book where i can find strut related material??? praveen

Re: Acronym BMO ( Session Beans )What does it stand 4.

2001-08-14 Thread Troy Hart
I'm not sure, but I would guess Business Model Objects. On Tuesday 14 August 2001 02:21 am, you wrote: Hi i didn't get a response or a suggestion regarding BMO (Session Beans ) Thus i would like to know what this acronym stands for . I have come across a UML class diagram that connects a BMO

AW: can't test my jsp page

2001-08-14 Thread Bernhard J. Hirschmann
Ok, maybe you have set up Tomcat not properly. In the Tomcat directory there's the file conf/server.xml where you have to declare the path for your application. There you have a section like: ContextManager . . . Context path=/myproject

Re: book ??????????

2001-08-14 Thread Brian . Duchouquette
The server is doing that, not the messenger. I had that happen to one of my previous messages also... Troy Hart

Re: Multi-page form bean persistence

2001-08-14 Thread Brian . Duchouquette
Richard, I can think of 2 things that may cause the data structure to not persist. 1. The framework might be calling an implemented reset() method on your formbean. To get multi-page formbeans to work, I had to avoid implementation of this method (since it is called between requests). 2. You

RE: get/set on properties in a form bean

2001-08-14 Thread CARDON Denis
Title: RE: get/set on properties in a form bean Hi Mike, Yes it support basic type conversion, however it does not support more complex type conversion like dates String -- java.util.Date. In the case of dates, their format depend on local settings (and other more specific conventions,

Re: book ??????????

2001-08-14 Thread Troy Hart
Thanks, sorry for being snippy. On Tuesday 14 August 2001 09:01 am, you wrote: The server is doing that, not the messenger. I had that happen to one of my previous messages also... Troy Hart [EMAIL PROTECTED]To: [EMAIL PROTECTED]

Getting locale attribute from session.

2001-08-14 Thread Juraj Kazda
Hello, I'm new user of struts framework and I have a problem. I would like to make an internationalized application with _everything_ internationalized. This means that I have a nice graphics (menu too) on my pages in several language versions. I would like to obtain a LOCALE key (object) from

onclick handler in the context of a struts iterate tag

2001-08-14 Thread Larry Maturo
Sorry to have to ask this again, but I got no response to my original question. This time I only asking about the most important subset of the problem, so hopefully it will get a response. I have a table I fill using the iterate tag. In the table I have a link that is generated from the iterate

RE: get/set on properties in a form bean

2001-08-14 Thread Geddes, Mark (ANTS)
Title: RE: get/set on properties in a form bean Denis, Thanks for your more enlightening reply! I use the same pattern as you. My FormBeans use Strings to represent dates and I convert to/from java.util.Date within my Action classes. I use static utility methods for parsing and formatting,

Re: AW: Pressing Struts Questions

2001-08-14 Thread Michael Gerdau
Maybe i will find the time to write a corrected filter method. What i don't know is: Who is responsible for the ResponseUtils class? Is it Craig R. McClanahan? Should i post the method code to this mailing list or send it directly to him? Craig wrote the original class. I don't know wether he's

ActionForm not being updated. Please advice.

2001-08-14 Thread Alex Colic
Hi, I am trying to get that iterate tag to work. I am interating through a vector a displaying the results. I have one field that I want the user to update hence I have made it a text box. When the page displays, the data is correct but when the user enters something into the text box and hits

Re: Getting locale attribute from session.

2001-08-14 Thread Gregor Rayman
"Juraj Kazda" [EMAIL PROTECTED] wrote: Hello, I'm new user of struts framework and I have a problem. I would like to make an internationalized application with _everything_ internationalized. This means that I have a nice graphics (menu too) on my pages in several language versions. I

FormBean Pre-popping?

2001-08-14 Thread William Lyvers
Our company is considering adopting the Strut framework into our web development. One thing that has grabbed my attention is that the pre-popping of FormBeans from MT objects occurs in an Action before forwarding the page to the next View. This seems to dictate that the each action directly

Re: ActionForm not being updated. Please advice.

2001-08-14 Thread Gregor Rayman
Alex Colic [EMAIL PROTECTED] wrote: I am interating through a vector a displaying the results. I have one field that I want the user to update hence I have made it a text box. When the page displays, the data is correct but when the user enters something into the text box and hits submit,

Re: ActionForm not being updated. Please advice.

2001-08-14 Thread SUPRIYA MISRA
You will need to use Indexed To Tags developed by Dave which is not part of Struts 1.0. I have tested it--It works !!! http://husted.com/about/struts/indexed-tags.htm From: Alex Colic [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] Subject: ActionForm not being

Re: FormBean Pre-popping?

2001-08-14 Thread Brian . Duchouquette
William, The action does not directly know the next view or previous view. The action object returns a generic ActionForward object with a success, failure, etc. or a more specific contacts, roles, etc if you have sub-screens with that information. The controller uses struts-config.xml to

Re: How can I get the DataSource from a JSP page

2001-08-14 Thread Luis Olivares
Why don't you put it inside a Custom Tag? That way you don't put it in the presentation layer. I think with the code sample that Craig shows us is possible. % DataSource ds = (DataSource) application.getAttribute(org.apache.struts.action.DATA_SOURCE); ... % Am I right? Regards

Struts next release.

2001-08-14 Thread Gonzalez, Rafael E
Hi, I'm new to the struts world so forgive me if I sound ignorant. I 've been using the struts 1.0b3 release and I will like to use a tag that is not defined in that release. The tags i want to use is logic:empty and logic:notEmpty. I want to know when is the next release going to be

Re: AW: Pressing Struts Questions

2001-08-14 Thread Craig R. McClanahan
On Tue, 14 Aug 2001, Beuck, Torsten wrote: Hi Bernhard, Michael, without having tested this, but have you ever tried to convert 'Ändern' instead of 'Auml;ndern'? Without testing it myself but looking at the sourcecode 'Ändern' should remain unchanged. I've tested it

Index within iterate tags

2001-08-14 Thread Nicola Taylor
Hi, were using the indexed properties tags and it'd be useful to know the current index in the jsp (to do some javascript stuff). Is there any standard way to access the current index in the iterator? 1) write a custom tag to return: IterateTag iterateTag = (IterateTag)

Re: How to Build Deploy a New Application

2001-08-14 Thread Craig R. McClanahan
On Tue, 14 Aug 2001, Efrain Gutierrez wrote: How to Build Deploy a New Application in Tomcat and Weblogic.??? For Tomcat, there is an Application Developer's Guide included in the documentation (just fire up Tomcat and follow the documentation links) that discusses the basic concepts of

ActionForm.reset() method

2001-08-14 Thread Mike Dewhirst
is automatically called when? When the form is first created by the Controller? =** If you are not the intended recipient, employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that

RE: XML based ApplicationResources.properties

2001-08-14 Thread Craig R. McClanahan
On Tue, 14 Aug 2001, Halvorson, Loren wrote: With regard to a standard XML format for localized data, have you taken a look at TMX? http://lisa.org/tmx/ We wrote a very simple MessageResources subclass that reads TMX files via a SAX parser. The advantage is that there are lots of

Re: ActionForm.reset() method

2001-08-14 Thread Gregor Rayman
Mike Dewhirst [EMAIL PROTECTED] is automatically called when? When the form is first created by the Controller? No, it is called always before the controller populates it from the request. -- gR

Re: Getting locale attribute from session.

2001-08-14 Thread Craig R. McClanahan
There is an easy way to internationalize your graphics without having to mess around with the Locale yourself. Consider that you might normally create an image link like this: html:img src=image.gif .../ but you want the HREF to the link to be different for different Locales. First, change

RE: ActionForm.reset() method

2001-08-14 Thread Mike Dewhirst
so if I have old data in there, it will be overwritten, plus validate() will be invoked afterwards if I have validate=true in the config? -Original Message- From: Gregor Rayman [mailto:[EMAIL PROTECTED]] Sent: 14 August 2001 17:02 To: [EMAIL PROTECTED] Subject: Re: ActionForm.reset()

Re: Index within iterate tags

2001-08-14 Thread dhay
Hi Nicola, Believe there is a way to extract it already (but never used it)...but If you only need the index for javascript, can't you obtain it from the name of your indexed field ie pass the field in as a param to your function? I do this with a button defined with

RE: Index within iterate tags

2001-08-14 Thread Assenza, Chris
When you write your iterator tag add the attribute: indexId=somevalue Then you can use the bean tags to access indexId which returns the current index of the iterator! :-) -Chris Christopher Assenza Phone: 412.201.6026 Fax: 412.201.6060 Email: [EMAIL PROTECTED] ACCESSDATA Moving Your

Downloading a file from a action class

2001-08-14 Thread jeff
All, I am curious if anyone has written an action class that will download a file to the browser. Not have the browser open a file, but have the download box popup everytime after a action. I know how to set the header information and mime type, but what do you return for the

Re: Downloading a file from a action class

2001-08-14 Thread dhay
Jeff, I have done it. Just return null, and it works fine. btw, I have a wierd problem when I use it with frames - I lose the output *after* I do the download ie other actions are still excecuted, but I don't see any output! Can you let me know if you run into anything similar? Thanks,

Re: Downloading a file from a action class

2001-08-14 Thread Craig R. McClanahan
On 14 Aug 2001 [EMAIL PROTECTED] wrote: All, I am curious if anyone has written an action class that will download a file to the browser. Not have the browser open a file, but have the download box popup everytime after a action. I know how to set the header information and mime

Re: How can I get the DataSource from a JSP page

2001-08-14 Thread BinhMinh Nguyen
Hi Kent, Luis, I do agree that a datasource should be in the logic layer, not in the JSP/prsentation layer, but I have a problem to populate the JSP combo box with data that is retrieved from the database when they first logn the page. And I think getting a datasource here is good enouhg :) . Do

findForward and Errors

2001-08-14 Thread Shawn Sohl
In my Action class I catch errors if they occur. What I want to know is can I create an ActionErrors object within my Action class and add an error to it like I do in a Form class. Basically what I want to do is shown in the code below. My .jsp page that failure points to has the html:errors/

Re: findForward and Errors

2001-08-14 Thread dhay
You certainly can. You just need to save the errors before you return, using saveErrors(request, errors); Cheers, Dave Shawn Sohl [EMAIL PROTECTED] on 08/14/2001 01:51:53 PM Please respond to [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED], '[EMAIL

Re: findForward and Errors

2001-08-14 Thread Rama Krishna
you need to save errors before return and after errors.add saveErrors(errors); this should work. - Original Message - From: Shawn Sohl [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, August 14, 2001 10:51 AM Subject: findForward and Errors In my Action

Re: findForward and Errors

2001-08-14 Thread Rama Krishna
oops! sorry. this is correct saveErrors(request,errors); - Original Message - From: Rama Krishna [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 14, 2001 11:05 AM Subject: Re: findForward and Errors you need to save errors before return and after errors.add

refresh and Struts Action problem

2001-08-14 Thread Yi Shen
Hi all, I sent this email before. I did not get any feedback yet. I still need helpfor this.thank you. Here is my problem: I have the the following line for automatic refresh : META http-equiv="Refresh" content="2;/jsp/GetMaps.jsp" / The above line is conditionally added to the html

Can I use two different ActionServlets for One WebApplication

2001-08-14 Thread Efrain Gutierrez
I have to modify an application that have a Custom ActionServlet, but can i declare another in the struts-conf and how did i use...!!! ? Thanks in advance... = Ing. Jose Efrain Gutierrez C Web Developer/Softtek Monterrey Mexico ICQ:2293612 yahoo hotmail:jefrainmx

MessageResources - getMessage(locale, string)

2001-08-14 Thread Brando Arguello
Hello, I'm trying to get the localized text based on the locale that I set on my pageContext. The MessageResources object seems to be ignoring the locale when I try to retrieve the string, it uses the default locale instead of the new locale. I first create a locale object to set the

Tiles v Templates

2001-08-14 Thread Declan O'Reilly
Hi Since Tiles will be incorporated in 1.1, does this mean that it will be used instead of or in tandem with Templates.Also I noticed that the Template code that David Geary has in his recent JSP book is more recent than is currently in Struts. Does anybody know of any plans to update

Re: onclick handler in the context of a struts iterate tag

2001-08-14 Thread dhay
Not sure I understand you - could you post some more info? Not quite sure why you can't pass info in the link? Do you want a hidden field instead? Cheers, Dave Larry Maturo [EMAIL PROTECTED] on 08/14/2001 11:11:45 AM Please respond to [EMAIL PROTECTED]; Please respond to [EMAIL

Tiles?

2001-08-14 Thread Will Spies/Towers Perrin
Did I see a message saying Struts 1.1 will support Tiles?

RE: onclick handler in the context of a struts iterate tag

2001-08-14 Thread dhay
Larry, Hi. You are correct that you cannot access the session using Javascript. Are you using the same form for all three pages? If so, you could use a hidden field, and set it in p1, and then in the action from p3. Presumably what you display in p2 depends on the value you pass -

RE: onclick handler in the context of a struts iterate tag

2001-08-14 Thread dhay
Hi again, You can set the value of the hidden field from your action, if it is part of your form bean. Also, do you have an action prior to displaying p2 which fills the form etc? Inserting a simple one may make it easier to do what you're trying to do... Cheers, Dave Larry Maturo

ABSOLUTELY WORLDS NO. 1 ..MEGA !

2001-08-14 Thread ENTERTAINMENT
Dear Ladies Gentlemen, Welcome to the GREATEST SEX SHOW on the ENTIRE NET ! We now offer you to ENTER the world´s No.1 voted SEX-SERVER on the WEB ! By far the largest and most incredible content of LIVE SEX is now served to users WORLDWIDE! EVERYTHING is offered 100% ANONOMOUSLY you

RE: onclick handler in the context of a struts iterate tag

2001-08-14 Thread Larry Maturo
Hi Dave, You wrote: You can set the value of the hidden field from your action, if it is part of your form bean. Actually, I need to set it in p3, which has an entirely different form than p2, so setting it in p3's form bean would not help. You wrote: Also, do you have an action prior to

RE: onclick handler in the context of a struts iterate tag

2001-08-14 Thread dhay
But you can get a copy of the form for p2, in your p3 action, set the value in p2's form and save it in either request or session scope before you forward to it. That way struts will find it and use it, instead of creating a new one, and you have access to your value in p2's action. cheers,

Geary's template library in Struts

2001-08-14 Thread Ryan Kannegiesser
I know that the template taglib in Struts 1.0 was contributed by David Geary and is based on his JavaWorld article. In his recently published Advanced JSP book, he presents an enhanced version of the library. He added some interesting features, like the ability to nest and extend regions, and

RE: onclick handler in the context of a struts iterate tag

2001-08-14 Thread Larry Maturo
Hi Dave, Interesting. I hadn't thought about that at all. You are correct. I already do that for p3, since I need to populate it with the correct data so the user does not have to re-enter data they have already entered. I just never considered that I can do that for any page from any page.

Re: Parsing error processing resource path /WEB-INF/struts-config.xml

2001-08-14 Thread Eduardo Fujii
To anyone interested, Itlooks like I got rid of the errors when initializing Tomcat. I had to copy struts.jar, and all the commons-*.jar to Tomcat's lib directory. Is this how it is supposed to be ? I like the idea of separating Struts' stuff from the container (in my case Tomcat). If

How do I set the default Forward in action form

2001-08-14 Thread BinhMinh Nguyen
Hi, I run across a little problem I dont know how to solve, please help. I have three buttons: OK, RESET, and EDIT and one text-field. Under normal case, after entering the text in the text-field, user will click on one of the three buttons,And I handle the button-events as followed in my

Re: Acronym BMO ( Session Beans )What does it stand 4.

2001-08-14 Thread kuma.cra
Well never mind i'll stick to Business Method Objects for now.BMO Cheers Chukie Troy Hart wrote: I'm not sure, but I would guess Business Model Objects. On Tuesday 14 August 2001 02:21 am, you wrote: Hi i didn't get a response or a suggestion regarding BMO (Session Beans ) Thus i would

referring to hashmap elements with struts...

2001-08-14 Thread Andy Goldstein
Hi there. I have an Action that's tossing a very nice HashMap object at a Struts page. Is there a way (using Struts) that I can refer to the individual values in the Hash by using their keys? I see how I would iterate (although I'm not crazy about this functionality), but that's not what I'm

RE: XML based ApplicationResources.properties

2001-08-14 Thread nicolas bonvin
you should also take a look a at the Mapper framework contributed by Francois Rey and available at http://husted.com/about/struts/mapper.zip it includes an i18n package that contains a TMXResourceBundle. while a TMX file is rather abstract at first sight, as Loren mentioned it has the advantage

RE: findForward and Errors

2001-08-14 Thread Shawn Sohl
Craig, Thanks for your reply. I have tested the code in the logonAction class it does work. However, it only works when you use a key in the properties file. If I have this code in a catch statement, how can I use the actual error message with the getMessage() method of the exception

Re: findForward and Errors

2001-08-14 Thread Craig R. McClanahan
On Tue, 14 Aug 2001, Shawn Sohl wrote: In my Action class I catch errors if they occur. What I want to know is can I create an ActionErrors object within my Action class and add an error to it like I do in a Form class. Basically what I want to do is shown in the code below. My .jsp