[
https://issues.jboss.org/browse/GTNPORTAL-1710?page=com.atlassian.jira.pl...
]
Minh Hoang TO commented on GTNPORTAL-1710:
------------------------------------------
The index.jsp redirects incoming request to a .jsp file specified in the property
gatein.portal.welcomePage
{code:java}
<%@page import="org.exoplatform.commons.utils.PropertyManager" %>
<%
String welcomeJSP =
PropertyManager.getProperty("gatein.portal.welcomePage");
if(welcomeJSP == null)
{
welcomeJSP = "welcome.jsp";
}
response.sendRedirect(request.getContextPath() + "/" + welcomeJSP);
%>
{code}
Can't not overide the welcome-file (default jsp when no handler
is specified in url)
------------------------------------------------------------------------------------
Key: GTNPORTAL-1710
URL:
https://issues.jboss.org/browse/GTNPORTAL-1710
Project: GateIn Portal
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 3.1.0-GA
Reporter: Vu Viet Phuong
Assignee: Minh Hoang TO
Priority: Minor
Labels: portal-s48
Original Estimate: 1 day
Remaining Estimate: 1 day
If I type exactly the url :
http://localhost:8080/portal/index.jsp --> it will choose
the extented index.jsp correctly.
But if the url is :
http://localhost:8080/portal only . Tomcat will use the
"welcome-file" (specified in web.xml of portal.war) that is the original
index.jsp, not the extended index.jsp.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira