Turning logging off

2004-03-12 Thread jmutonho
Hi guys? Is there a setting to turn off logging in struts(1.1) ?What do I need to do to turn off a log such as the following : [INFO] RequestUtils - - Looking for ActionForm bean instance in scope 'request' under attribute key 'actionForm' Jeff Mutonho J2EE Developer Safmarine

How can IIS and Tomcat share data?

2004-03-12 Thread dream_and_yang
Failed to subscribe to the Tomcat mailing list, i have to post question here,hoping someone would offer me help. Someone have suggested me using file or database, but is there any easier way? Thanks very much! - To

RE: submit an arraylist

2004-03-12 Thread Mu Mike
I write this in jsp file,but it failed html:form action=/testAction.do logic:iterate name=TestBeanForm property=testBean id=mybean1 indexId=0 html:text property=testBean value=string1 / /logic:iterate html:submit property=submitValueSubmit Changes/html:submit /html:form is my jsp code

Re: submit an arraylist

2004-03-12 Thread Mark Lowe
The name in the iterate tag needs to match the name you've using to define the form bean in struts-config form-bean name=testForm type=com.mike.struts.TestBeanForm / html:form action=/testAction.do logic:iterate id=mybean name=testForm property=testBean html:text

Re: submit an arraylist

2004-03-12 Thread Mark Lowe
does your nested bean have a getString1() method? There's load of examples in the archives. Have a look. On 12 Mar 2004, at 09:48, Mu Mike wrote: Mark I did as you wrote form-bean name=TestBeanForm type=com.mycom.form.TestBeanForm/ in jsp file: html:form action=/testAction.do logic:iterate

RE: struts-workflow-extension and DynaValidatorForm

2004-03-12 Thread shirishchandra.sakhare
Hi Dean, The struts workflow extension will just work as well with dynaValidatorForms or any other type of bean you use as form bean.The only point where it differs from standard struts is the ActionMapping.It uses a ActionMapping class of its own.But that also can be taken care of. Just start

Re: submit an arraylist

2004-03-12 Thread Mu Mike
Mark I did as you wrote form-bean name=TestBeanForm type=com.mycom.form.TestBeanForm/ in jsp file: html:form action=/testAction.do logic:iterate name=TestBeanForm property=testBean id=mybean1 indexId=index1 html:text name=mybean1 property=string1 indexed=true/ /logic:iterate

RE: submit an arraylist

2004-03-12 Thread Dixit, Shashank (Cognizant)
Hi Mike If you want arraylist to be filled by proper values after submission then you have to write nested tags nested:iterate name=TestBeanForm property=testBean id=mybean1 indexId=index1 nested:text property=string1 indexed=true/ // Note that name is not there

Re: submit an arraylist

2004-03-12 Thread Mu Mike
I think I have done the right ,yet it still doesnt work this is mynested bean file FontBean.java public class FontBean { public int getSize() { return size; } public void setSize(int size) { this.size = size; } public String getFontName() { return fontName;

Re: Populating form Elements from another object.

2004-03-12 Thread Niall Pemberton
Shanmugam, I think your problem lies in the way you have defined your two actions in the struts-config.xml - one of them has scope=session and the other doesn't, which means it will probably default to request. I think this is causing your problem because Struts only looks for the ActionForm

Re: WAS: problems with html:base/ - Help Please - ActionServlet fails on startup

2004-03-12 Thread Lukas Latz
I see your confusion. I don't use TC, but remembered a while back there was a lot of conversation about certain versions people had trouble with. Perhaps it does work, but maybe you have to jump through hoops to get it to do so. The archives might have more background on the specific issues

Struts, Tiles, javax.servlet.Filter: Redirect Problem

2004-03-12 Thread Christian Schlaefcke
Hi Folks, This is the situation: A struts application that uses tiles. A user needs to logon to work with the app. A logged-on user has a value object userSessionVO with some authenication parameter in the session. A not-logged-on user could be identified by the missing session attribute. To

Re: Struts, Tiles, javax.servlet.Filter: Redirect Problem

2004-03-12 Thread Mark Lowe
try request.getRequestDispatcher(/myACtion.do).forward(request, response); rather than redirect. On 12 Mar 2004, at 10:59, Christian Schlaefcke wrote: Hi Folks, This is the situation: A struts application that uses tiles. A user needs to logon to work with the app. A logged-on user has a

help! I m going mad

2004-03-12 Thread Mu Mike
I just cant use logic:iterate correctly! this is my form bean class: public class TestBeanForm extends ActionForm { public String[] getTestBean() { return testBean; } public void setTestBean(String[] testBean) { this.testBean = testBean; } String[] testBean; and this

Re: On usage of Resource Bundle

2004-03-12 Thread Niall Pemberton
I hesitate to answer this as I don't use modules. However, my understanding goes like this: All message resources are stored in application context. The default module is stored under either the key specified in message-resources or the default, which is Globals.MESSAGES_KEY. Message Resources

form class isn't populated

2004-03-12 Thread Otto, Frank
hi, I have a difficult problem. After I submit a form, the form class would not been populated. If I click the back button of the browser and submit the form again, the form will be populated. Has someone the same problem? I think it occurs only in IE 6.0. Regards, Frank

Re: help! I m going mad

2004-03-12 Thread Mark Lowe
Okay here's a full example, first of all i'm going to mess with your naming conventions as they'd drive me mad also //bean package com.sparrow.struts; public class TestBean { private String name; public String getName() { return name; }

Re: help! I m going mad

2004-03-12 Thread Niall Pemberton
In your struts-config.xml, is the action which initially displays your jsp page associated with TestBeanForm? Niall - Original Message - From: Mu Mike [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 12, 2004 10:17 AM Subject: help! I m going mad I just cant use

Re: Struts, Tiles, javax.servlet.Filter: Redirect Problem

2004-03-12 Thread Niall Pemberton
There is a SecurityFilter on source forge. Either you can look at how they do it, or maybe use it http://securityfilter.sourceforge.net/ Niall - Original Message - From: Christian Schlaefcke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 12, 2004 9:59 AM Subject: Struts,

RE: [OT] unable to build ejb using ant in weblogic 8.1

2004-03-12 Thread Duncan Alexander
Also, Try writing to a relevant mailing list. That may help you more. -Original Message- From: as as [mailto:[EMAIL PROTECTED] Sent: 05 March 2004 23:13 To: Struts Users Mailing List Subject: Re: [OT] unable to build ejb using ant in weblogic 8.1 Try checking your settings in

Re: Struts, Tiles, javax.servlet.Filter: Redirect Problem

2004-03-12 Thread Christian Schlaefcke
I tried this, but had a problem with an IllegalStateException: response already commited. This happens when I run chain.doFilter(...) afterwards. When I leave out this step I don´t get forwarded. So how does it work? Regards, Chris try

Re: asking for help about indexed properties

2004-03-12 Thread Lenny Sorey
On Thu, 11 Mar 2004 21:08:23 -0800, Michael McGrady wrote: http://jakarta.apache.org/struts/faqs/indexedprops.html At 07:15 PM 3/11/2004, you wrote: I have the follow in a jsp file html:form action=indexedtest5.do logic:iterate name=stringbean property=stringArray id=foo

Re: Struts, Tiles, javax.servlet.Filter: Redirect Problem

2004-03-12 Thread Mark Lowe
boolean isAJollyGoodFellow = false; //some logic here where you check whether s/he is a jolly good fellow if(isAJollyGoodFellow) { filterChain.doFilter(request, response); } else { request.getRequestDispatcher(/myAction.do).forward(request, response); } doFilter method passes on the

RE: On usage of Resource Bundle

2004-03-12 Thread Ashutosh Satyam
Hi Niall, It was quite an elaborative explanation. You clarified most of my doubts. In my case, I just wanted to define one resource bundle and use it across any sub module. Thanks again, Ashutosh -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent:

RE: [OT] Database password

2004-03-12 Thread Paul McCulloch
Why not put the file in area that is accessible only to the right users and have the app server run under a user account with the relevant privelages? Paul -Original Message- From: Guillermo Meyer [mailto:[EMAIL PROTECTED] Sent: 11 March 2004 18:59 To: 'Struts Users Mailing List'

Re: Turning logging off

2004-03-12 Thread Dmitrii
If you are using jdk 1.4 then you can try to add following in your %JAVA_HOME%\jre\lib\logging.properties file: org.apache.struts.level = WARNING # whatever level you need you can also be interested in changing java.util.logging.ConsoleHandler.level HTH, Dima. jzsc Hi guys? jzsc

Re: Strange behaviour?

2004-03-12 Thread Niall Pemberton
The question is, where does your action forward to in the valid scenario after it has saved your properties? Are you forwarding to another action which is re-popoulating the form from the request? How about putting the cleanWhitespace() in your setters, rather than the validate() method:

Re: submit an arraylist

2004-03-12 Thread Michael McGrady
This is totally different than your first question, Mu. You don't think that FontBean[] is the same as ArrayList, do you? You used ArrayList in your original question but that has now become FontBean[]. - Mike At 01:16 AM 3/12/2004, you wrote: I think I have done the right ,yet it still

Re: How can IIS and Tomcat share data?

2004-03-12 Thread Martin Gainty
Did you take a look at configuring IIS to Tomcat redirector plugin at http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html Keep me apprised, ~Martin~ - Original Message - From: dream_and_yang [EMAIL PROTECTED] To: struts-user [EMAIL PROTECTED] Sent: Friday, March 12,

Thread Safe Action

2004-03-12 Thread Joao Batistella
Hello. I read that an Action in struts can be shared among another requests. This means that we shouldn't use class attributes in the logic that response a request? Thanks, JP

RE: Thread Safe Action

2004-03-12 Thread Irving, Dave
broadly speaking, yes. -Original Message- From: Joao Batistella [mailto:[EMAIL PROTECTED] Sent: 12 March 2004 12:53 To: 'Struts Users Mailing List' Subject: Thread Safe Action Hello. I read that an Action in struts can be shared among another requests. This means that we shouldn't use

RE: Thread Safe Action

2004-03-12 Thread Shahak.Nagiel
Correct: Struts instantiates only one action object (per JVM), so all variables should be locally (method)-scoped. Class variables (statics--typically for constants) are fine, but nothing that's tied to a particular request or user. -Original Message- From: Joao Batistella

Switching from HTTPS to HTTP

2004-03-12 Thread Joao Batistella
Hello! In my application the login page uses HTTPS to send username and password to the server. But after that, if login operation succeed, I want to send the user to the main application page using HTTP protocol, not HTTPS. How can I switch? Thanks in advance, JP

Re: Thread Safe Action

2004-03-12 Thread Martin Gainty
Yes You should design your interactions to avoid static, properly track resources You can Control Thread specific interactions via Action class setServlet method http://jakarta.apache.org/struts/doc-1.0.2/api/org/apache/struts/action/Acti on.html HTH, ~Martin~ - Original Message - From:

Re: Switching from HTTPS to HTTP

2004-03-12 Thread Mark Lowe
There's some java thingy you can use to do this, sslext or something.. If you are using apache for your webserver you can use mod_rewrite which means less hassle configuring development envionments and such like. Here's an example. NameVirtualHost machinedomain.net:80 VirtualHost

Re: Thread Safe Action

2004-03-12 Thread Niall Pemberton
Shahak is correct except its not one action object per JVM - its one action object per Struts module. Struts uses a separate RequestProcessor for each module, the RequestProcessor stores a single instance of each different Action class in your module, which it re-uses. Niall - Original

RE: Switching from HTTPS to HTTP

2004-03-12 Thread Joao Batistella
But, I would like to find a way in Java, not in the web server because, for now, I'm using Tomcat web server. Can I just use a send redirect to a HTTP address?? Ex: sendRedirect(http://myserver/myapp/main.jsp;); -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent:

Re: form class isn't populated

2004-03-12 Thread amr
Here's a link to a post that may have your solution. It sounds like problem we discussed last week. Basically it's an IE bug and there's a patch for it. This post has a link to an description of the problem and how to get the fix, etc.

Re: Thread Safe Action

2004-03-12 Thread Juan Espinosa
hi everyone, i need information about struts, but no begginer information, im developing applications with struts and i want to know how it works internally i want to know what is a requestproccessor for example, how works strust since i press a button in a web page etc etc if somebody have or

RE: have anybody ever managed to work the ValidatorActionForm???? i don't think so!!!!

2004-03-12 Thread Julio Cesar De Salvo
Maybe the bug in the ValidatorActionForm can be replaced using the page number workaround? Thanks -Mensaje original- De: Pingili, Madhupal [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 11 de Marzo de 2004 06:07 p.m. Para: 'Struts Users Mailing List' Asunto: RE: have anybody ever managed

Re: help! I m going mad

2004-03-12 Thread Siamack
Hello: the name attribute in your logic:iterate should be your object name not your class name. Hope this helps. html:form action=/testAction.do logic:iterate name=YOUR OBJECT NAME property=testBean id=mybean indexId=index1 %-- html:text property=fontName value=12 indexed=true/--%

Re: Switching from HTTPS to HTTP

2004-03-12 Thread Niall Pemberton
Haven't used it but there is a Struts extension for this http://sslext.sourceforge.net Niall - Original Message - From: Joao Batistella [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, March 12, 2004 1:36 PM Subject: RE: Switching from HTTPS to HTTP

Re: have anybody ever managed to work the ValidatorActionForm???? i don't think so!!!!

2004-03-12 Thread Niall Pemberton
What is the bug in ValidatorActionForm? Niall - Original Message - From: Julio Cesar De Salvo [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, March 12, 2004 1:48 PM Subject: RE: have anybody ever managed to work the ValidatorActionForm i don't think

Q: How to see Controller 'debug' output?

2004-03-12 Thread bOOyah
Is there a way for me to see what the controller/processor is doing? I added this line to my struts-config.xml but I don't see any 'debug' output on stdout or stderr: controller contentType=text/html debug=2 processorClass=org.apache.struts.action.RequestProcessor/ I'm running on Tomcat 4.

html:image - running into an infinite loop

2004-03-12 Thread anuj . upadhyay
Hi, I have read old mails regarding the html:image implementation and the recommendations related to identifying which image is clicked in the form. For reference is used Ted's - 'Struts Tip #1 - Use an ImageButtonBean to represent an image button' @ http://husted.com/struts/tips/001.html My

Re: Thread Safe Action

2004-03-12 Thread Niall Pemberton
In Struts 1.0 ActionServlet was the guts of struts with all the processing logic for a request. In Struts 1.1 the processing logic for a request was re-factored out into the RequestProcessor. If you want to understand what happens when struts receieves a request then look at the process() method

RE: have anybody ever managed to work the ValidatorActionForm???? i don't think so!!!!

2004-03-12 Thread Julio Cesar De Salvo
I'm going mad with this issue. I've started using the ValidatorActionForm but It does not generates the javascript code in the jsp file. Many examples have been sent to this mailing list but I've tried them all and nothing happens. Struts seems not to understand the action name so no validation

RE: My wizard workflow code.. doesnt work :S

2004-03-12 Thread shirishchandra.sakhare
Hello Edd, I do not see any reason why the workflow extension should not work with STXX or any other extension..Apart from only one reason..STXX needs its own request processor which is not working .But As I have not used STXX,i am not sure about it. But from what you have posted to me ,I can

Re: How to see Controller 'debug' output?

2004-03-12 Thread Niall Pemberton
I don't think setting debug actually does anything. Struts uses Commons logging which is a bridge with various logging implementations (I use log4j). You need to configure the logging implementation to see the output you want. Niall - Original Message - From: bOOyah [EMAIL PROTECTED]

RE: have anybody ever managed to work the ValidatorActionForm???? i don't think so!!!!

2004-03-12 Thread Pingili, Madhupal
Here is my jsp that has html:javascript tag: html:form action=/findLoans focus=accountNo onsubmit=return validateFindLoans(this); table border=0 width=100% tr th align=right bean:message key=prompt.accountNo/ /th td align=left html:text

Re: Switching from HTTPS to HTTP

2004-03-12 Thread Mark Lowe
You could use a filter which without knowing anything about it i imagine what sslext does. Better than hardcoding redirects. jstl may have something to force the scheme also. IMO doing it with mod_rewrite is easier because you any have to worry about your live deployment, but if you're using

[OT] Your Message to struts-user@jakarta.apache.org is Blocked

2004-03-12 Thread Mark Lowe
Anyone else been getting these when you send stuff to the list? I doubt I've got a virus as I don't use windoze. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] Your Message to struts-user@jakarta.apache.org is Blocke d

2004-03-12 Thread Joao Batistella
I'm getting also. And I don't got a virus... I hope :-) -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 12 de março de 2004 14:43 To: Struts Users Mailing List Subject: [OT] Your Message to [EMAIL PROTECTED] is Blocked Anyone else been getting these when

Re: have anybody ever managed to work the ValidatorActionForm???? i don't think so!!!!

2004-03-12 Thread Niall Pemberton
You say I've started using the ValidatorActionForm but It does not generates the javascript code in the jsp file. Theres a couple of problems with this: 1) ValidatorActionForm and in fact any ActionForm has nothing to do with generating javascript - html:javascript tag generates javascript. 2)

RE: have anybody ever managed to work the ValidatorActionForm???? i don't think so!!!!

2004-03-12 Thread Julio Cesar De Salvo
Thanks, when I received your code I've realized that the backslashes were causing the problem with the ValidationACtionForm class. Thanks so much everyone, Julio -Mensaje original- De: Pingili, Madhupal [mailto:[EMAIL PROTECTED] Enviado el: Viernes, 12 de Marzo de 2004 11:33 a.m. Para:

Re: [OT] Your Message to struts-user@jakarta.apache.org is Blocked

2004-03-12 Thread Niall Pemberton
Yes, quite a few. - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, March 12, 2004 2:43 PM Subject: [OT] Your Message to [EMAIL PROTECTED] is Blocked Anyone else been getting these when you send stuff to the list?

Re: [OT] Your Message to struts-user@jakarta.apache.org is Blocke d

2004-03-12 Thread Mark Lowe
These seem to be the folks sending such useful information http://www.s2lservers.com/ On 12 Mar 2004, at 15:44, Joao Batistella wrote: I'm getting also. And I don't got a virus... I hope :-) -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 12 de março de

Re: html:image - running into an infinite loop

2004-03-12 Thread Niall Pemberton
The problem you are having, is that each time you forward to an action then struts will re-populate the form from the request. That is why you are getting into a loop - when your ResetDataAction forwards back to getData - the action for getData is having the form re-populated from the request,

wizard best practices?

2004-03-12 Thread Dean A. Hoover
I've been reading books, the internet, this list, and experimenting, attempting to build a model for best practice for a wizard utilizing struts 1.1 and DynaValidatorAction. I've got a simple model working but validation does not work. In other words, the validator framework does not seem to be

Re: [OT] Your Message to struts-user@jakarta.apache.org is Blocked

2004-03-12 Thread Christian Bollmeyer
+1 Two of my recent mails got a Spam Assassin rating of 10.1 (5.0 required), with the confirmation mails boasting about 'just to prove the power of this service' (whose name I already forgot again). Just wish they wouldn't reply in HTML with all those pictures included (104K) each time. That's

Re: wizard best practices?

2004-03-12 Thread Niall Pemberton
Did you add a page property to your DynaValidatorAction form definition in the struts-config.xml? Niall - Original Message - From: Dean A. Hoover [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 12, 2004 3:15 PM Subject: wizard best practices? I've been reading books, the

Problem while accessing modules via multiple struts config files

2004-03-12 Thread Sudhakar G
Hi All, I have multiple config file for a ActionServlet to support different modules.I have configured in web.xml as follows.Then I created a jsp under the app root to which as the content as follows,when I try to click the link present in the JSP It shows Request URI not found.Can any one

Someone out there must have done this with Struts 1.0

2004-03-12 Thread Au-Yeung, Stella H
Has someone out there successfully set the selected option of a html:select under Struts 1.0? What I try to do is to set the option as selected when userId matches shopWorkOrder.engineerId: bean:define id=eList name=ShopWorkOrderFormBean property=engineerList/ html:select

RE: Validation failing when connected through Proxy???

2004-03-12 Thread Paul, R. Chip
Found some references to others with the same problem. It seems the problem usually pops up when you are using Apache mod_proxy to proxy a Struts app with IE 6.0 I found another reference to calling invalidate on the sesison fixing this problem. It sounds to me like the session might not be

Re: Someone out there must have done this with Struts 1.0

2004-03-12 Thread Niall Pemberton
The html:optionsCollection tag was introduced in Struts 1.1 so thats why it doesn't work - which means you are correct to use the html:options tag. The only comment I have, the difference between your debug stuff and the html:select tag is you missed out the name attribute on the html:select tag

html:img unexpected behaviour....

2004-03-12 Thread Leticia Golubov
I have the following code on a jsp page: html:image src=/precision/images/button_toolbar_debug_stop.png onclick=document.forms[0].submit(); onmouseover=javascript:SwapImage('stop','/precision/images/button_toolbar_d ebug_stop_over.png'); SetStatus('Stop Discovery'); return true;

Re: html:image - running into an infinite loop

2004-03-12 Thread anuj . upadhyay
Niall, Thanks for the help. Atleast now I know where to look to solve the problem. My next question, how to remove / reset the button parameters (x y) in the Request? I need the other parameters to stay (sort of refresh / repost, but don't want to go back to 'ResetDataAction') . -Anuj

Re: wizard best practices?

2004-03-12 Thread Dean A. Hoover
Niall Pemberton wrote: Did you add a page property to your DynaValidatorAction form definition in the struts-config.xml? Niall OK. Just added that... BTW it must be defined as Integer as in: form-property name=page type=java.lang.Integer/ Thanks alot, that solves part of my problem. How

RE: help implementing modules...

2004-03-12 Thread Liu, Anne I
I think it might be a problem with using the html tag library?? I use straight HTML and it seems to work fine form action=DomainSearch.do -Original Message- From: Damm, Gary [SMTP:[EMAIL PROTECTED] Sent: Thursday, March 11, 2004 5:50 PM To: Daniel; Struts Users Mailing List

URL Rewriting

2004-03-12 Thread Joao Batistella
Hello! Why sometimes and I can see the the attribute jsessionid in the URL of my app and sometimes and I can't? Anybody know how to control this behaviour? Thanks, JP

how to automatically forward user's page to a html link at speified time

2004-03-12 Thread
Hi, all I want the struts application have an internal timer. When the specified time(like 9:00pm) arrive, the user's current page should be forwarded to another html link. I know the java.util.timer and java.util.TimerTask can do such thing. Maybe I can put the timer class stuff in

RE: Someone out there must have done this with Struts 1.0

2004-03-12 Thread Au-Yeung, Stella H
Thanks Niall. Actually my original version did have the name attribute in it. It just got lost after I tried so many different things. In your opinion, don't you think one should be able to set selected under Struts 1.0? I dig through the Struts User Guide and Struts web site, there is no

RE: how to automatically forward user's page to a html link at speified time

2004-03-12 Thread Shahak.Nagiel
If the intent is to forward to a home or logout page after a period of inactivity, using a javascript method or META:REFRESH tag is the only way to do so out of the context of a request, since--as you said--in a separate thread or servlet, any timer wouldn't have access to the action class.

RE: help implementing modules...

2004-03-12 Thread Liu, Anne I
After doing a little more research, it looks like the html:form tag only uses the current module. Thus, what you need to do is switch modules before you do a form post. One way to do this is change your default config xml to link to the html form page in your module1 action

Re: Switching from HTTPS to HTTP

2004-03-12 Thread Adam Hardy
sslext works brilliantly with struts and container-managed security. Definitely what you want. You put attributes in your action mappings to tell it whether you want the action mapping under SSL or not. It handles the redirection to / from SSL. Adam On 03/12/2004 03:39 PM Mark Lowe wrote: You

Re: how to automatically forward user's page to a html link at speified time

2004-03-12 Thread Mark Lowe
Filter will do what you want if you're using a supporting container. On 12 Mar 2004, at 17:18, ~{UT~} ~{F=~} wrote: Hi, all I want the struts application have an internal timer. When the specified time(like 9:00pm) arrive, the user's current page should be forwarded to another html link.

Re: Someone out there must have done this with Struts 1.0

2004-03-12 Thread Niall Pemberton
It does work. I used it in Struts 1.0. Niall - Original Message - From: Au-Yeung, Stella H [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, March 12, 2004 4:19 PM Subject: RE: Someone out there must have done this with Struts 1.0 Thanks Niall.

testing for presence of GLOBAL_ERROR

2004-03-12 Thread mucus snot
Hi, I know that you can test for the presence of actionErrors with the following. logic:present name=org.apache.struts.action.ERROR But how can I test specifically for the presence of a GLOBAL_ERROR? Many thanks, al

Re: wizard best practices?

2004-03-12 Thread Niall Pemberton
You just added page as an attribute to your DynaValidatorActionForm - so you get it the same way as you would get any other property out of your form. public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request,

Re: [OT]JSP Debugger

2004-03-12 Thread Raphaël di Cicco
Not really, it works great for me, you can find the incriminated line then correct it - Original Message - From: Paul-J Woodward [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 5:40 PM Subject: RE: [OT]JSP Debugger sorry - should have

Re: testing for presence of GLOBAL_ERROR

2004-03-12 Thread Niall Pemberton
logic:present name=org.apache.struts.action.ERROR property=org.apache.struts.action.GLOBAL_ERROR - Original Message - From: mucus snot [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 12, 2004 4:51 PM Subject: testing for presence of GLOBAL_ERROR Hi, I

Re: wizard best practices?

2004-03-12 Thread Dean A. Hoover
Thanks!!! Niall Pemberton wrote: You just added page as an attribute to your DynaValidatorActionForm - so you get it the same way as you would get any other property out of your form. public ActionForward execute(ActionMapping mapping, ActionForm form,

RE: wizard best practices?

2004-03-12 Thread Matthias Wessendorf
Dean! got it to work? i use this use-case for multiform-pages... like big poll. class: DynaValidatorActionForm and the path in validator-xml.file however, here is validation XML and the definition for the ValidatorActionForm: Cheers! Matthias Weßendorf struts-cfg.xml_: !--

[OT] Jericho == Struts 2.0?

2004-03-12 Thread Larry Meadors
This name seems like a bad choice. The city of Jericho was destroyed and all its inhabitants were put to the sword. That sounds like a bad thing to me. Larry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: wizard best practices?

2004-03-12 Thread Dean A. Hoover
Whoops. Wait a minute. The statement in your code: return mapping.findForward(mapping.getInput()); does not work for me... I end up getting an empty page generated (htmlbody/body/html). Then I looked at the API for ActionMapping and saw a getInputForward() method. I tried that instead and still

Re: testing for presence of GLOBAL_ERROR

2004-03-12 Thread Niall Pemberton
Sorry, I meant to put the logic:messagesPresent tag and you don't need to specify the name, it defaults to the Globals.ERROR_KEY For messages stored under Globals.ERROR_KEY logic:messagesPresent property=org.apache.struts.action.GLOBAL_ERROR For messages stored under Globals.MESSAGE_KEY

RE: wizard best practices?

2004-03-12 Thread Slattery, Tim - BLS
Whoops. Wait a minute. The statement in your code: return mapping.findForward(mapping.getInput()); does not work for me... I end up getting an empty page generated (htmlbody/body/html). Then I looked at the API for ActionMapping and saw a getInputForward() method. I tried that instead

Re: wizard best practices?

2004-03-12 Thread Dean A. Hoover
Matthias, Sorry, I must be over tired... First off, how does one decide between using DynaValidatorForm and DynaValidatorActionForm? Second, I'm not understanding what the path relates to. For example, where is /umfrage1 defined outside of what you included in your message. Maybe if I saw that, I

Re: wizard best practices?

2004-03-12 Thread Dean A. Hoover
Tim, Yes, I included all relavent files, including struts-config.xml in my original message sent this morning. I hesitate to keep appending to that message as it was quite large. Dean Slattery, Tim - BLS wrote: Whoops. Wait a minute. The statement in your code: return

[OT] 2 JSF questions

2004-03-12 Thread Anderson, James H [IT]
1) Since JSF is written in Java, why does Sun have 3 different download available, Windows, Solaris, Linux? 2) Would any of those work for Mac OS X? Thanks, jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: wizard best practices?

2004-03-12 Thread Matthias Wessendorf
whops... it is a german-sample... okay... here for you! DynaValidatorForm is for a form on ONE page it uses the name of you bean in your scope -- mapping.getAttribute() MyWizard DynaValidatorActionForm is for a Action-path -- /mywizard3 ist uses in source the mapping.getPath() like

sent specific html:hidden field depending which html:link was use d

2004-03-12 Thread Zmitko, Jan
Hello, i´ve a problem, that I`ve two links and each link has an html:hidden field. I´want to sent only the hidden Field which is included in the clicked link. Is this possible? My code shows as follows: html:link href=JavaScript:sendFormNeuanlage(); html:hidden property=CMD

RE: help implementing modules...

2004-03-12 Thread Damm, Gary
Thanks, this is the best explanation I've read so far on switching modules. One issue I have with this. In my applications I always have an application specific BaseAction that all of my Action classes extend from. This is to enforce my business rules on every request. I do not use

[SwitchAction] How

2004-03-12 Thread Mike Zatko
Hello, Does anyone have a simple example on how to use a SwitchAction? How is it defined properly in the config file? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] 2 JSF questions

2004-03-12 Thread Robert Taylor
I don't know. You may want to try the JSTL users mailing list: [EMAIL PROTECTED] robert -Original Message- From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 1:30 PM To: [EMAIL PROTECTED] Subject: [OT] 2 JSF questions 1) Since JSF is written

Re: sent specific html:hidden field depending which html:link was used

2004-03-12 Thread atta-ur rehman
Hello Jan, One way I see it could be done is to move the hidden element out of both of the links and in parameterize your JavaScript:sendFormNeuanlage() method for 'bestaetigen' and 'aktualisieren' and let this javascript method set the value of the hidden field. function

RE: [OT] 2 JSF questions

2004-03-12 Thread Shahak.Nagiel
1) I haven't downloaded it yet, but I'm guessing for the different installation scripts/executables. 2) I highly doubt it, unless you're running in emulation. -Original Message- From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 1:30 PM To: [EMAIL

RE: [OT] 2 JSF questions

2004-03-12 Thread Matthias Wessendorf
from the url: http://java.sun.com/j2ee/javaserverfaces/download.html This release of JavaServer Faces has been tested with various configurations with the Java 2 SDK, Standard Edition version 1.3.1_04, 1.4, and 1.4.1 on the following platforms and browsers: * Solaris 2.8 * Solaris 2.9

RE: [OT] 2 JSF questions

2004-03-12 Thread Matthias Wessendorf
hi jim, searched the web :) http://www.javaworld.com/javaworld/jw-11-2003/jw-1114-jsfredux-p2.html the last to pics looks like mac but it is not a sample for the RI it is form Early Access4 (old) :-) Cheers! -Original Message- From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED]

(pre)populating DynaActionForm

2004-03-12 Thread Danko Desancic
I am newbie to Struts and have a problem with populating DynaActionForm. I have two actions: one to set up userForm and one to process it. 1st one is suposed to grab user info and populate the form. The second one updates user info after the form is submitted. The problem is that the from is

  1   2   >