Re: [s1] URL with parameters: how to redirect?

2007-02-23 Thread Pierre Thibaudeau
Or you can use ActionRedirect http://struts.apache.org/1.x/apidocs/org/apache/struts/action/ActionRedirect.html which sets this flag automatically. Thank you! That's a significant improvement! - To unsubscribe, e-mail: [EMAIL

Re: [s1] URL with parameters: how to redirect?

2007-02-23 Thread Pierre Thibaudeau
I would like either to: 1) instruct Struts that my newly formed forward is in fact a redirect. 2) or better, I would like to use my predefined "results" forward but attach to it a map of parameters (in the same way that you can attach a map-bean of parameters to an tag). Are options 1 or 2 feasi

Re: [s1] URL with parameters: how to redirect?

2007-02-23 Thread Michael Jouravlev
On 2/23/07, Pierre Thibaudeau <[EMAIL PROTECTED]> wrote: [using Struts 1.3.5] I have a fairly complex search form which (once its content is checked as valid and unambiguous) should *redirect* to a results action that outputs a results.jsp page. The primary reason for *redirecting* is that I wa

[s1] URL with parameters: how to redirect?

2007-02-23 Thread Pierre Thibaudeau
[using Struts 1.3.5] I have a fairly complex search form which (once its content is checked as valid and unambiguous) should *redirect* to a results action that outputs a results.jsp page. The primary reason for *redirecting* is that I want the browser's URL bar to display an address which entir

Re: [ANN] Struts 2.0.6 GA release available

2007-02-23 Thread Vinny
Congrats! On 2/23/07, Ted Husted <[EMAIL PROTECTED]> wrote: The Apache Struts group is pleased to announce that Struts 2.0.6 is available as a "General Availability" release. The GA designation is our highest quality grade. Apache Struts 2 is an elegant, extensible framework for creating enterp

Re: [S2] [ANN] Struts 2.0.6 GA release available

2007-02-23 Thread Pedro Herrera
Congratulations to Struts team for this release!! Best Regards Pedo Herrera husted wrote: > > The Apache Struts group is pleased to announce that Struts 2.0.6 is > available as a "General Availability" release. The GA designation is > our highest quality grade. > > Apache Struts 2 is

[ANN] Struts 2.0.6 GA release available

2007-02-23 Thread Ted Husted
The Apache Struts group is pleased to announce that Struts 2.0.6 is available as a "General Availability" release. The GA designation is our highest quality grade. Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications. The framework is designed to

Re: Struts 2 and QueryString - Found the Issue (OC4J 10.3.1)

2007-02-23 Thread Matt Filion
There is a patch for OC4J (number 5608209) that resolves this direct issue. I found it on the below threads. http://www.archivesat.com/Java_Webworks_Users/thread1648946.htm I'm working on applying the patch. I'll send an update if I still have the issue. Matt Filion -

Re: [S2] model driven versus domain object property

2007-02-23 Thread Dave Newton
--- bob <[EMAIL PROTECTED]> wrote: > For instance, if my domain object is Customer, what > would be the consequences and benefits of using > modelDriven with a getModel() that returns an > instance of Customer, versus having a getCustomer() > property on my action object? The model is put on the s

[S2] model driven versus domain object property

2007-02-23 Thread bob
I'm trying to figure out what the differences, pros and cons, are between using the ModelDriven interface to expose a domain object to the data transfer of the framework and just putting a domain object on the action as a property. For instance, if my domain object is Customer, what would

Re: Struts 2 and QueryString

2007-02-23 Thread Matt Filion
I tried the interceptor as suggested below. I placed it before all other interceptors and am still seeing the querystring coming across as null. I'm running this on OC4J. Attatched is my struts config (with some modification to package names out of consideration for my client). I've used the 3

Re: [S2] JNLP with struts ?

2007-02-23 Thread cilquirm
in your resulting page you can set @page contentType = 'application/x-java-jnlp-file' and return the body of your jnlp file ( possibly even read via c:import or some such mechanism ) Maya menon wrote: > > Have anyone used java web start[JNLP files] with struts ? > > I have a project

Re: Struts 2 and QueryString

2007-02-23 Thread Dave Newton
--- Matt Filion <[EMAIL PROTECTED]> wrote: > I basically have not found any way to get the values > from the querystring within an Interceptor or > Action. I've tried accessing the request directly, > having struts set the values for me on my action and > by searching the value stack and cannot

Re: Struts 2 and QueryString

2007-02-23 Thread Tom Schneider
Might this be the issue: https://issues.apache.org/struts/browse/WW-1563 This was an issue for websphere, but other app servers may act the same. (Not jetty or jboss though) Tom On 2/23/07, Matt Filion <[EMAIL PROTECTED]> wrote: I sent an post about this a few days ago and didnt really get a r

Struts 2 and QueryString

2007-02-23 Thread Matt Filion
I sent an post about this a few days ago and didnt really get a response. I'm starting to have the need to do some AJAX calls now and need some help on resolving this. I basically have not found any way to get the values from the querystring within an Interceptor or Action. I've tried accessing

JNLP with struts ?

2007-02-23 Thread Maya menon
Have anyone used java web start[JNLP files] with struts ? I have a project which uses struts. Now i have a Login.jsp, which calls Loginaction.java. If user is a valid user, then I have to initiate a call to a "jnlp file" . Have anyone done this ? basically, I want to install som

Re: Problem undeploying struts application

2007-02-23 Thread Niall Pemberton
OK so you are using Struts2? I had assumed Struts1. Have no idea about Struts2 - better to state the version in your mail in future. Niall On 2/23/07, Juan Espinosa <[EMAIL PROTECTED]> wrote: I do the changes but still the struts2core jar is locked... I change the jar commons-digester, i put th

Re: spring jpetstore demo error (possibly O/T)

2007-02-23 Thread Roy Siegfried
Martin Gainty hotmail.com> writes: > > Good Morning Larry- > > the good news is that ibatis has working Jpetstore demo > there are a number of deltas between the the working ibatis and spring configurations I have (er, had) the same problem. I just downloaded Spring 2.0.2 and it failed with

Re: Display Table - URGENT

2007-02-23 Thread Joan Horta
This is due (if I recall correctly from a similar problem I had) to having the no-cache in the page, so Internet Explorer can't open the file (I think the problem is just related to Internet Explorer). In Struts 1.2.9 I set this code within the action that serves the report : response.setHeade

RE: Problem undeploying struts application

2007-02-23 Thread Juan Espinosa
I do the changes but still the struts2core jar is locked... I change the jar commons-digester, i put the 1.8 version i also put a file named context.xml with the properties: Any other sugestion to avoid this situation Juan -Mensaje original- De: Niall Pemberton [mailto:[EMAIL PROTECT

Re: [S2] Best practice

2007-02-23 Thread janbrito
Thanks for your comments. It makes sense. Brian Thompson-5 wrote: > > In my web project, I divide actions up logically by what they deal with. > For your menu example, I'd have MenuAction. For displaying data > pages, I have PageAction. I also separate management of the various > data

Re: Problem undeploying struts application

2007-02-23 Thread Niall Pemberton
Its a possible cause is the best I can say. Try replacing the Commons Digester jar with the 1.8 version. Can't remember if that is enough to fix that bug, or if it needs associated changes in Struts/Tiles/Validator/Chain - I'll look into it when I get time. Niall On 2/23/07, Juan Espinosa <[EMAI

RE: Problem undeploying struts application

2007-02-23 Thread Juan Espinosa
I read the bug but i didnt understand very well I must to replace commons-digester for a new one ?? Is commondigester causing the problem ?? Juan -Mensaje original- De: Niall Pemberton [mailto:[EMAIL PROTECTED] Enviado el: viernes, 23 de febrero de 2007 11:00 Para: Struts Users Mailing

Re: Problem undeploying struts application

2007-02-23 Thread Niall Pemberton
On 2/23/07, Juan Espinosa <[EMAIL PROTECTED]> wrote: Hi to all… Im having problems with the undeploy of an struts application im using tomcat 5.5.4, when i undeploy the application some jars get locked and i cant delete it…. I search in web and i found the context properties antiResourceLocking

Re: Best practice

2007-02-23 Thread Brian Thompson
In my web project, I divide actions up logically by what they deal with. For your menu example, I'd have MenuAction. For displaying data pages, I have PageAction. I also separate management of the various data types out into ManagementAction classes, one for each data type. Calling the act

Best practice

2007-02-23 Thread janbrito
Hi, I'm building a portal using Struts, Spring, Hibernate and Velocity, and right now I only have the login action ready. What I would like to know is how to handle all requests once the user is logged in. Do I have to create an action class to handle all user clicks on the portal? If the user cl

Re: Xml utilities

2007-02-23 Thread Brian Thompson
I've had pretty good luck with Jibx; just write binding definitions to correspond to your POJOs, run the binding compiler, and start the application. The binding definitions are the most involved part, and those are just some XML telling Jibx how each POJO corresponds to a data XML structure.

Re: Display Table - URGENT

2007-02-23 Thread Dave Newton
--- Abhimanyu Koul <[EMAIL PROTECTED]> wrote: > I am using export="true" in display table. All the > exports are working > fine but I am having a problem in pdf export. The > pdf viewer throws an > error message whenever we try to open the pdf file > saying that the file > does not exist. But whene

Problem undeploying struts application

2007-02-23 Thread Juan Espinosa
Hi to all… Im having problems with the undeploy of an struts application im using tomcat 5.5.4, when i undeploy the application some jars get locked and i cant delete it…. I search in web and i found the context properties antiResourceLocking and antiJarLocking but it seems that they dont work.

Re: chainConfig importance

2007-02-23 Thread Niall Pemberton
On 2/23/07, yuubouna <[EMAIL PROTECTED]> wrote: Migrating from sruts 1.2.4 to struts 1.3.5 according to http://wiki.apache.org/struts/StrutsUpgradeNotes12to13 StrutsUpgradeNotes12to13 in order for me to use the tiles I must set the chainConfig in web.xml. my questions are: 1. Even If I don`t s

Re: Xml utilities

2007-02-23 Thread Niall Pemberton
On 2/22/07, Zhang, Larry (L.) <[EMAIL PROTECTED]> wrote: I am trying to develop some classes used for XML parsing or generating purposes. But I think it is difficult to abstract to write a common utility since each XML document is different, and to parse that document, we should have a different

Re: sample code for LazyActionForm needed

2007-02-23 Thread Niall Pemberton
On 2/23/07, Vikash Manoranjan <[EMAIL PROTECTED]> wrote: Hi, i want to use LazyActionForm in my program. Kindly provide me with complete sample code like how to use it. http://www.niallp.pwp.blueyonder.co.uk/lazyactionform.html Niall Thanks and Regards, Vikash Manoranjan

Validator is not working!!Pls address Early

2007-02-23 Thread manoj sinha
Hi, Scene and code are: login-validation.xml http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd";> Username is equired Password is Required validators.xml

Display Table - URGENT

2007-02-23 Thread Abhimanyu Koul
Hi everybody! I am using export="true" in display table. All the exports are working fine but I am having a problem in pdf export. The pdf viewer throws an error message whenever we try to open the pdf file saying that the file does not exist. But whenever, I save the file first and then open it