force precompilation of JSPs

2003-08-14 Thread Ionel Gardais
Hi, I am experiencing a slow down when I access a JSP page for the first time after I deploy e web app. Is there a way to force precompilation of these files as soon as the web app is deployed ? Thanks, ionel - To unsubscribe,

request.getSession().invalidate() problem

2003-07-30 Thread Ionel Gardais
Hi, I am using the invalidate() method to force logout of the logged client but even after a call to this method, clients can navigate to a secured content without beeing prompt for their password. Do you know what the problem is and/or how to solve it ? thanks, ionel

html:select problem

2003-07-22 Thread Ionel Gardais
Hi, I have a small problem with html:select tag. I use the same JSP for creating a editing a form. Everything works well for the creation step but when I edit the form, all fields are perfectly filled but the select list doesn't display the previously selected items. I observerved the same

Re: html:select problem

2003-07-22 Thread Ionel Gardais
hi, I tryed this way The selected items are not highlighted when the page is redisplayed ionel Prashanth.S wrote: Hi, I think that in the reset method in ur action form u need to make the selected array null[selected array is the array inside ur actionform that gets filled in request scope

applying a style on a bean:message

2003-07-10 Thread Ionel Gardais
Hi, How to apply a CSS style to a bean:message ? I didn't find any style= parameter to the tag. thanks, ionel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

knowing which DispatchAction called an Action

2003-07-01 Thread Ionel Gardais
Hi, is it possible to know which dispatchAction called an Action inside this action ? thanks, ionel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

dispatching actionForm and httprequest parameters

2003-06-25 Thread Ionel Gardais
Hi, I am using a DispatchAction to switch between tasks. For one of my methods, I forward to another Action (a simple action, not a dispatch action) Unfortunatly, the form and the request parameters that I can retrieve in the dispatch action's method are not available in the second action

Re: dispatching actionForm and httprequest parameters

2003-06-25 Thread Ionel Gardais
it is a forward. the target is available in struts-config.xml and the dispatchaction only does a return mapping.findForward(target); is it considered as the same request ? thanks, ionel - To unsubscribe, e-mail: [EMAIL

delay before redirect

2003-06-25 Thread Ionel Gardais
Hi, is it possible to set a delay before a redirect ? I'd like to do that in order to display a result page for 5 seconds and then go to the welcome page. I am already using an http-equiv=refresh with a 300 seconds delay for the whole page but I want to bypass it with a redirection after 5

Re: delay before redirect

2003-06-25 Thread Ionel Gardais
Hi James, Thanks for the reply. Can I had another refresh equiv in addition to the first ? (I would then get two meta refresh, one set at 5 minutes and one at 5 seconds) The first meta refresh is hard coded in the tiles template I use for my pages that's why I am looking for something to

Re: delay before redirect

2003-06-25 Thread Ionel Gardais
- the user asks for an edit page. - a form is displayed. - when the form is filled the user clicks on the validate button. - action is called and a server side computation is done. - when the computation is completed, a page display a success or failure message to the user - on success, the main

Re: delay before redirect

2003-06-25 Thread Ionel Gardais
James Mitchell wrote: So what's stopping you from putting this META HTTP-EQUIV=Refresh CONTENT=5; URL=html:rewrite forward=someGlobalForward// ...in the head section of the page? I already have a META HTTP-EQUIV=Refresh CONTENT=300; URL=javascript:location.reload() from the Tiles template.

Can html:options labelProperty made of concatenated bean fields ?

2003-06-06 Thread Ionel Gardais
Hi, The question's in the subject. Can the labelProperty of an html:options tag be composed of a concatenation of two or more fields ? (like having labelProperty=name + surname) thanks, ionel - To unsubscribe, e-mail: [EMAIL

Re: Excluding values inside a logic:iterate tag or an html:optionstag

2003-06-06 Thread Ionel Gardais
you mean to add the logic:equal or logic:notEqual tags inside the html:options tag ? I guess it should work ok inside the logic:iterate tag because you know the name of the element at each iteration but how to do the same inside an html:options tag ? I need this because I have a list of person

html:select : update bean field only if values are selected

2003-06-04 Thread Ionel Gardais
Hi, I have two select lists that I use a swaping selections (transfert one item from a list to another and remove it from the first) the problem is that Struts doesn't update a bean field when a list is not empty but when there are selected values inside. how to tell Struts that I need an

deploying struts' actions and jsp views separately

2003-06-04 Thread Ionel Gardais
Hi, I'd like to know if it's possible to deploy two packages (one containing the Struts' actions and all the logical stuff and the the other conantaing the JSP views) separately ? It should be possible but how to solve the problem of the struts-config.xml where are defined the forward paths ?

switch between selects

2003-06-03 Thread Ionel Gardais
Hi, I'd like to allow a user to select items using a kind of switch lists. That is, two lists are displayed, one with all items and one empty. To add an item, the user should click on a add button that adds the selected item to the previoulsy empty list and removes it from the originated list.

Re: switch between selects

2003-06-03 Thread Ionel Gardais
Hi, Yeah thanks, look like what I want to do. Is it possible to integrate this with struts ? I mean to have the left list items retrieved from a bean (using a jsp:useBean) and the right list pointing to a form field using html:select property=blah thanks, ionel -- - fetchez la vache - quoi ?

can a tile def be used as an action input ?

2003-05-28 Thread Ionel Gardais
Hi, The question is in the subject. I have a tile def that defines a vue with a form-input in it. The form calls an Action set with input=/input/form.jsp. The problem is that when an error is detected via the form's validate method, it redisplays only the /input/form.jsp instead of the whole vue