I tried a <jsp:forward page="/welcome.jsf"/> and it worked. I thought the welcome page had to be a .jsp or .html according to the servlet spec?
I'll try removing the white space before the redirect or forward and see if that works. Shawn ---------- Forwarded message ---------- From: "Garner Shawn" <[EMAIL PROTECTED]> To: users@tomcat.apache.org Date: Thu, 25 May 2006 20:32:05 -0500 Subject: [help] blank index.jsp on Tomcat 5.5.9 I have an index.jsp that redirects to a jsf page. code: -------------------------------------------------------------------------------- <%response.sendRedirect("welcome.jsf");%> -------------------------------------------------------------------------------- I tested it and it works fine on my development computer with JBoss/Tomcat 5.5 I then uploaded it to my web server and now I get a blank page instead of the redirect. However I know the webapp was deployed because if I type in /welcome.jsf the page comes up. I checked the logs. No errors that I could find. Any help would be appreciated please. Shawn ---------- Forwarded message ---------- From: "Hassan Schroeder" <[EMAIL PROTECTED]> To: "Tomcat Users List" <users@tomcat.apache.org> Date: Thu, 25 May 2006 19:10:39 -0700 Subject: Re: [help] blank index.jsp on Tomcat 5.5.9 On 5/25/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
I have an index.jsp that redirects to a jsf page.
<%response.sendRedirect("welcome.jsf");%>
However I know the webapp was deployed because if I type in /welcome.jsf the page comes up.
Not sure why you'd redirect to that instead of just forwarding, but have you tried `response.sendRedirect("/welcome.jsf");` ? For that matter, why not just add 'welcome.jsf' to your welcome file list? :-) Anyway -- Is it the first line in your page? No white space being sent first? -- Hassan Schroeder ------------------------ [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]