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 -

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 whe

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 beh

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]

Re: delay before redirect

2003-06-25 Thread Ionel Gardais
James Mitchell wrote: So what's stopping you from putting this /"> ...in the head section of the page? I already have a from the Tiles template. I am only overriding the body frame for each vue. As the meta equiv should be placed inside the head tag, I have no way to alter it.

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
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 overrid

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 se

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 PROTEC

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 para

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

2003-06-06 Thread Ionel Gardais
you mean to add the or tags inside the 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 which I want to be displayed in a li

Excluding values inside a logic:iterate tag or an html:options tag

2003-06-06 Thread Ionel Gardais
Hi, Is it possible to tell these tags that when they hit some values, they shouldn't display them ? Thanks, ionel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

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 ?

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

2003-06-03 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 "on-

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 thanks, ionel -- - fetchez la vache - quoi ? - fetchez la vache ! - moo

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 lis

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 vu