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
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
>
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
; <[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
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
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
> 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
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
-
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
&
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
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
> 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
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
> > 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
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
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
.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
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
]
> 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
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
20 matches
Mail list logo