Re: Struts 1, Glassfish browser caching

2011-03-03 Thread Dave Newton
On Thu, Mar 3, 2011 at 5:39 PM, Nancy and Jeff Hibbs wrote: > Using Struts 1, with glassfish.  I want to force (or, I guess, suggest) to > the browser to cache all js and image files for at least 1 hour.  we're using > jqry and some other .js files that repeatedly get sent to the browser for no >

Struts 1, Glassfish browser caching

2011-03-03 Thread Nancy and Jeff Hibbs
Using Struts 1, with glassfish.  I want to force (or, I guess, suggest) to the browser to cache all js and image files for at least 1 hour.  we're using jqry and some other .js files that repeatedly get sent to the browser for no reason, along with the static image files.   Most of the page is d

Re: Struts2 list all the parameters

2011-03-03 Thread Kiwi209
Thanks for your response, the problem is that I don't know all the parameters set in the Action... So I would like to retrieve the list of all the request parameters as name / value list. (sorry for my english but it's not my natural tongue) -- View this message in context: http://old.nabble.c

Re: Struts2 list all the parameters

2011-03-03 Thread Dave Newton
On Thu, Mar 3, 2011 at 1:37 PM, Kiwi209 wrote: > Does anyone know how to get on a JSP page the list of all the parameters > available on this page ? What type of parameters? Request parameters? Via the request or a ParametersAware (or whatever that's called, the one with the map) action. Dave --

Struts2 list all the parameters

2011-03-03 Thread Kiwi209
Hello everybody, Does anyone know how to get on a JSP page the list of all the parameters available on this page ? Thanks in advance. -- View this message in context: http://old.nabble.com/Struts2-list-all-the-parameters-tp31061470p31061470.html Sent from the Struts - User mailing list archive

Struts2 problem

2011-03-03 Thread Kiwi209
Hello world, I'm working with Struts 2 using Tiles and FTL instead of JSP on the view side. When I try to put a tag on my page to see all the paramaters available on this FTL page I have an error : Java backtrace for programmers: -- freemarker.core.InvalidReferenceException: on line 45

Re: GET/POST request in Struts 1.3.8

2011-03-03 Thread Dave Newton
On Thu, Mar 3, 2011 at 10:30 AM, Anjib Mulepati wrote: > Yes I did try to find something in struts-config.xml file as well as web.xml > but nothing I could find out there. Have anyone done this before? You haven't really detailed what exactly you want: do you want the *entire* web application to

Re: GET/POST request in Struts 1.3.8

2011-03-03 Thread Muneer Malik
http://java.dzone.com/articles/understanding-web-security On Thu, Mar 3, 2011 at 9:30 AM, Anjib Mulepati wrote: > Yes I did try to find something in struts-config.xml file as well as > web.xml but nothing I could find out there. > Have anyone done this before? > > Anjib > > On 3/3/2011 10:19 AM,

Re: GET/POST request in Struts 1.3.8

2011-03-03 Thread Anjib Mulepati
Yes I did try to find something in struts-config.xml file as well as web.xml but nothing I could find out there. Have anyone done this before? Anjib On 3/3/2011 10:19 AM, Muneer Malik wrote: you should be able to do this using the web.xml On Thu, Mar 3, 2011 at 8:59 AM, Anjib Mulepati wrote:

Re: GET/POST request in Struts 1.3.8

2011-03-03 Thread Muneer Malik
you should be able to do this using the web.xml On Thu, Mar 3, 2011 at 8:59 AM, Anjib Mulepati wrote: > Hi > > Can someone help me on how to tell struts 1.3.8 to accept only either GET > or POST request only? > > Thanks > Anjib > >

Re: GET/POST request in Struts 1.3.8

2011-03-03 Thread Dave Newton
On Thu, Mar 3, 2011 at 9:59 AM, Anjib Mulepati wrote: > Can someone help me on how to tell struts 1.3.8 to accept only either GET or > POST request only? I'd either put it in a custom request processor (or whatever the equivalent is in 1.3.8; I've never used it for anything real) or handle it in

GET/POST request in Struts 1.3.8

2011-03-03 Thread Anjib Mulepati
Hi Can someone help me on how to tell struts 1.3.8 to accept only either GET or POST request only? Thanks Anjib - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.ap