Passing Object or object collection from action to jsp

2004-02-19 Thread Mailing List
ata transfer for each page. Is there any way that we can use the dynamicForms or dynamic beans for passing data from action to jsp? Is it a good solution any way? Most of users use dynaForms are used for passing parameter from jsp to actions. Is it correct? Is there other usages of dynaForms? Thanks

RE: Action to JSP

2004-01-09 Thread Joe Hertz
Craig, I agree with everything you said, but would absolutely love a clarification from you on the following: > Other folks will disagree with me on this, of course, but in > my general response is "show me where the back button and > bookmarks window are in a Swing app, and I'll make them >

Re: Action to JSP

2004-01-09 Thread Craig R. McClanahan
Quoting Geeta Ramani <[EMAIL PROTECTED]>: > The easiest way is perhaps to simply add a "redirect=true" in your action > mapping. However, be aware that this will kill your request attributes > (since your request > object is no longer forwarded..) > Geeta's warning about one consequence is quit

Re: Action to JSP - Works!!!

2004-01-09 Thread Brice Ruth
; <[EMAIL PROTECTED]> Sent: Friday, January 09, 2004 6:06 PM Subject: Re: Action to JSP The easiest way is perhaps to simply add a "redirect=true" in your action mapping. However, be aware that this will kill your request attributes (since your request object is no

Re: Action to JSP

2004-01-09 Thread Vanessa Monteiro
Guess there was a two sided misunderstanding ;) I'm new at struts but I don't think you can do that. What you can do is change your url-pattern to something like *.jspa and name you action with the same name as your jsp and the browser will show (ex.) index.jspa Vanessa >>> [EMAIL PROTECTED] 09

Re: Action to JSP - Works!!!

2004-01-09 Thread Mauricio T. Ferraz
Thanks People Works!!! Thanks Geeta for the solution []´s Mauricio - Original Message - From: "Geeta Ramani" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, January 09, 2004 6:06 PM Subject: Re: Action to JSP

RE: Action to JSP

2004-01-09 Thread Wendy Smoak
> From: Mauricio T. Ferraz [mailto:[EMAIL PROTECTED] > I have do execute a Action and go to a jsp > page, but I > dont want to show the name of the action in my address bar > (htt://www.domain.com/someaction.do) I dont want this. > When I execute the action I want to show the jsp, p.e. > (htt://w

Re: Action to JSP

2004-01-09 Thread Mauricio T. Ferraz
Sorry Vanessa, I didn´t undestand. I just want to execute the action e show the jsp, but in my address bar I want to show the jsp page not the action (action.do) []´s > Hi Mauricio > > can you send your caller jsp, the mapping and the action class? > > Vanessa > > >>> [EMAIL PROTECTED] 09/01/20

Action to JSP

2004-01-09 Thread Mauricio T. Ferraz
- From: "Wendy Smoak" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, January 09, 2004 5:57 PM Subject: RE: Action to JSP > > There are a way to: > > When a click in a link in my jsp page, in address bar in my &

Re: Action to JSP

2004-01-09 Thread Geeta Ramani
The easiest way is perhaps to simply add a "redirect=true" in your action mapping. However, be aware that this will kill your request attributes (since your request object is no longer forwarded..) Regards, Geeta "Mauricio T. Ferraz" wrote: > There are a way to: > > When a click in a link in m

Re: Action to JSP

2004-01-09 Thread Vanessa Monteiro
Hi Mauricio can you send your caller jsp, the mapping and the action class? Vanessa >>> [EMAIL PROTECTED] 09/01/2004 17:51:46 >>> There are a way to: When a click in a link in my jsp page, in address bar in my browser dont write the name of the action, and go direct to the jsp page (defined in

RE: Action to JSP

2004-01-09 Thread Wendy Smoak
> There are a way to: > When a click in a link in my jsp page, in address bar in my > browser dont write the name of the action, and go direct to > the jsp page (defined in action forward) ??? Most of us go to great lengths to prevent users from accessing the JSPs directly, including putting th

Action to JSP

2004-01-09 Thread Mauricio T. Ferraz
There are a way to: When a click in a link in my jsp page, in address bar in my browser dont write the name of the action, and go direct to the jsp page (defined in action forward) ??? Thanks. Mauricio

Re: action to jsp form to action and validation failure problem.

2002-12-11 Thread Rick Reumann
> > Im new to structs so please be gentle. > > > > I have an action that forwards onto a jsp page with a form. > > When the form buttons are pressed a different action is called. > > > > Action1 ---> testform.jsp ---> Action2 > > > > All works fine if the form passes validation. > > > > When

Re: action to jsp form to action and validation failure problem.

2002-12-11 Thread James Mitchell
On Wed, 2002-12-11 at 22:00, g h wrote: > Hi everyone, > > Im new to structs so please be gentle. > > I have an action that forwards onto a jsp page with a form. > When the form buttons are pressed a different action is called. > > Action1 ---> testform.jsp ---> Action2 > > All works fine if th

action to jsp form to action and validation failure problem.

2002-12-11 Thread g h
Hi everyone, Im new to structs so please be gentle. I have an action that forwards onto a jsp page with a form. When the form buttons are pressed a different action is called. Action1 ---> testform.jsp ---> Action2 All works fine if the form passes validation. When the form fails validation, I

Re: How to take object from the Action to jsp

2002-04-15 Thread rob
.jsp pages have access to the a reference named application from which you can gain access to objects stored in your servlet context. I believe you should use the following method to access context scoped objects within your jsp pages. You can extract the reference to your "treemodel" with the

Re: How to take object from the Action to jsp

2002-04-03 Thread Konstantina Stamopoulou
Thanx, It finally worked by using bean. Konstantina - Original Message - From: "Enrique Rodriguez" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, April 03, 2002 4:50 PM Subject: RE: How to take object from the

RE: How to take object from the Action to jsp

2002-04-03 Thread Enrique Rodriguez
] > Enviado el: miercoles, 03 de abril de 2002 10:37 > Para: Struts Users Mailing List > Asunto: How to take object from the Action to jsp > > > Hello, > My question might sound naive but I really eed your answer. > > I'm storing an object in ServletContext with t

How to take object from the Action to jsp

2002-04-03 Thread Konstantina Stamopoulou
Hello, My question might sound naive but I really eed your answer. I'm storing an object in ServletContext with the following code : servlet.getServletContext().setAttribute("treemodel",root); where root is an object of type Node(myclass). In my jsp I want to retrieve this object from the S