RE: Redirect-Action type result warns of caught exception when passing param

2008-05-05 Thread KonTiki
ActionRedirectResult, the exception is expected and acceptable. > > Brad Cupit > Louisiana State University - UIS > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in contex

Passing param

2008-05-03 Thread hns
-EXECUTIVEWISE Executive Wise now in struts i have write something like this in struts .xml /SelReport.jsp and on the menu.jsp i am using yui and write like this http://www.nabble.com/Passing-param-tp17032642p17032642.html Sent from the Struts - User mailing li

RE: Redirect-Action type result warns of caught exception when passing param

2008-04-30 Thread Brad A Cupit
> I'm of the opinion that an exception in my > console means something is amiss though... you've stumbled upon a little wart in the code. First things first, the exception is harmless and can be safely ignored. A more detailed explanation can be found in a comment within ObjectFactory.buildResult

Redirect-Action type result warns of caught exception when passing param

2008-04-30 Thread Michael Gagnon
My relevant mapped action look like: /jsp/admin/internalOrders/viewLineItem.jsp GetLineItem /admin/internalOrders true ${id} The 'GetLineItem' action works correctly when given an 'id' parameter. No exce

Re: passing param as part of URL path

2005-07-16 Thread Laurie Harper
Brian Lalor wrote: Hey, cool! The two books that I can find (of the 3 I own) only cover up to Struts 1.1. The link Laurie sent contains some more info on the wildcard mappings, but it appears that you've gotta use a custom ActionMapping class[1, 2], with the className property of the /> e

Re: passing param as part of URL path

2005-07-15 Thread Max Cooper
On Fri, 2005-07-15 at 13:12 -0500, Brian Lalor wrote: > is there a way to specify a new default ActionMapping class? The "type" attribute of the element will set a default so you don't have to repeat it (or forget to repeat it) in all your elements: -Max --

Re: passing param as part of URL path

2005-07-15 Thread Brian Lalor
On Jul 15, 2005, at 1:12 PM, Brian Lalor wrote: Hey, cool! The two books that I can find (of the 3 I own) only cover up to Struts 1.1. The link Laurie sent contains some more info on the wildcard mappings, but it appears that you've gotta use a custom ActionMapping class[1, 2], with the c

RE: passing param as part of URL path

2005-07-15 Thread Durham David R Jr Ctr 805 CSPTS/SCE
> is there a way to specify a new default ActionMapping class? ModuleConfig does indeed have a method for setting the default action mapping class, but I'm not sure how you would set this. - Dave - To unsubscribe, e-mail: [EM

Re: passing param as part of URL path

2005-07-15 Thread Brian Lalor
On Jul 15, 2005, at 12:50 PM, Durham David R Jr Ctr 805 CSPTS/SCE wrote: I think you could use a wildcard mapping like this: But I'm not sure how to retrieve this property in an action. Actually, I'm not even sure that this works. Maybe someone else can post more info a

RE: passing param as part of URL path

2005-07-15 Thread Durham David R Jr Ctr 805 CSPTS/SCE
> I was thinking that I would somehow capture CATALOG1 and CATALOG2 > and stick them into the request, but I'm not sure how to go about it. > It this functionality that Struts already has, do I need to implement > a filter, or should I subclass the main ActionServlet? I think you could use a

Re: passing param as part of URL path

2005-07-15 Thread Laurie Harper
You can do this using wildcard action mapping paths: http://struts.apache.org/userGuide/building_controller.html#action_mapping_wildcards L. Brian Lalor wrote: I'm working on a product catalog display application that uses the same logic and code, but takes a common parameter for *every req

passing param as part of URL path

2005-07-15 Thread Brian Lalor
I'm working on a product catalog display application that uses the same logic and code, but takes a common parameter for *every request*, specifying the specific catalog to use. The application is a web service of sorts, and has no state stored between requests. I would like to use URLs of