Thanks Antonio,
Actually in my application I didn't allow the user to expose any jsp using
the action. I used this techniques for a certain type of pages using a
specific pattern in the generic action.
So, I think it is more secure.
Thanks.
Ahmed Hashim
On 4/14/06, Antonio Petrelli <[EMAIL PRO
Ahmed Hashim ha scritto:
I solved the problem
I think you are right, I can not call any tiles definition directly without
calling an action
I made a generic action definition to view my pages
check the solution in my blog
http://www.egjug.org/struts_action_foward_to_Tiles
Ahmed Hashim
I solved the problem
I think you are right, I can not call any tiles definition directly without
calling an action
I made a generic action definition to view my pages
check the solution in my blog
http://www.egjug.org/struts_action_foward_to_Tiles
Ahmed Hashim
On 4/10/06, Dave Newton <[EMAIL
Ahmed Hashim wrote:
> I tried to forward to loginPage.page from the action and it is working fine,
> but i remember that I can request the page directly...
> any suggestion?
>
You can use tile definitions as "input" or "forward" attribute values in
your Struts config file; is that what you mean
Ahmed Hashim ha scritto:
...
but i remember that I can request the page directly...
You remember wrong! You cannot request a Tiles definition directly. You
have at least to write a simple JSP page with tag.
You can invoke a Tiles definition directly only through a forward, if
you are usin
I tried to forward to loginPage.page from the action and it is working fine,
but i remember that I can request the page directly...
any suggestion?
On 4/9/06, Yang Sun <[EMAIL PROTECTED]> wrote:
>
> I think you should add an action in the action-mappings section for
> loginPage action. You request
I think you should add an action in the action-mappings section for
loginPage action. You request have not been processed by tiles yet.
// Yang
On 4/9/06, Ahmed Hashim <[EMAIL PROTECTED]> wrote:
>
> what is wrong with this configuration?
>
> Configuration 1.2//EN" "
> http://struts.apache.org/d
what is wrong with this configuration?
http://struts.apache.org/dtds/struts-config_1_2.dtd
">
http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd";>
http://java.sun.com/xm
8 matches
Mail list logo