Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Frameworks
»
Struts
Author
Creating Struts's Action
André Asantos
Ranch Hand
Joined: Nov 23, 2009
Posts: 234
posted
Aug 08, 2010 15:53:17
0
I did a redirection from index.jsp to redirecionamento1.jsp but does not pass throgh the "Action class", why...?
struts-config.xml
<action scope="request" path="/novoRedirecionamento" name="ContatoForm" input="/jsp/redirecionamento1.jsp" type="br.com.caelum.struts.action.FazRedirecionamentoAction"> <forward name="redirecionamento1" path="/jsp/redirecionamento1.jsp" /> </action>
André AS
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56554
14
I like...
posted
Aug 08, 2010 15:55:36
0
Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.
[
Smart Questions
] [
JSP FAQ
] [
Books by Bear
] [
Bear's FrontMan
] [
About Bear
]
André Asantos
Ranch Hand
Joined: Nov 23, 2009
Posts: 234
posted
Aug 08, 2010 16:00:03
0
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
I like...
posted
Aug 08, 2010 16:42:46
0
Because you forwarded to redirecionamento1.jsp and not the action?
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Creating Struts's Action
Similar Threads
html tag
input validation and tiles
Different pages pointing to the Same Struts Action
Struts - Navigation Question
window.location with servlet bean
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter