Hello,
I'm a new member and of corse I have a problem. How can I recover the current page of my action in my principal jsp without set parameter or attribute of each action.
Must I use the object 'request' and if such is the case how can I use it ?
Sorry for my english and thank you in advance for your answers.
Michel
This is my code :
Here my action.toString() is not null
<secu:form action="<%=action.toString() %>" .../>
But here my action.toString is null
<% ProfilParameter profilParameter = (ProfilParameter)session.getAttribute("profilParameter");
if(profilParameter != null && !profilParameter.equals(""))
{
profilParameter.setPage(action.toString());
}
%>
<% if(profilParameter != null &&!profilParameter.equals(""))
{
%>
<%= profilParameter.getValidateJavascriptFunction() %>
<%}
%>
I'm a new member and of corse I have a problem. How can I recover the current page of my action in my principal jsp without set parameter or attribute of each action.
Must I use the object 'request' and if such is the case how can I use it ?
Sorry for my english and thank you in advance for your answers.
Michel
This is my code :
Here my action.toString() is not null
<secu:form action="<%=action.toString() %>" .../>
But here my action.toString is null
<% ProfilParameter profilParameter = (ProfilParameter)session.getAttribute("profilParameter");
if(profilParameter != null && !profilParameter.equals(""))
{
profilParameter.setPage(action.toString());
}
%>
<% if(profilParameter != null &&!profilParameter.equals(""))
{
%>
<%= profilParameter.getValidateJavascriptFunction() %>
<%}
%>