Actually this blank page phenomenon happend to me
a long time ago.

I remember taking out the line content type.
That was the only change I made and it worked.


From: Jon Wynacht <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: Struts Action in Welcome File List
Date: Tue, 29 Jul 2003 22:21:25 -0700

Didn't work for me. I'm stumped ;-(

Jon

On Tuesday, July 29, 2003, at 09:55 PM, Dan Tran wrote:

This works for me

<%@ page language="java" contentType="text/html;charset=utf-8" %>
<%
    response.sendRedirect("./PMTAction.do");
%>


-D ----- Original Message ----- From: "Jon Wynacht" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, July 29, 2003 9:41 PM Subject: Re: Struts Action in Welcome File List


Hmmm...tried that but still blanks out after a while...I'm wondering  if
there's an issue with my use of sessions...would that come into play
here?

Jon

On Tuesday, July 29, 2003, at 06:56 PM, John Cavacas wrote:

Try,

<logic:redirect forward="HOME"/>

In your index.jsp page. Also, look at sruts-blank.war example
application
for an easy to understand example of this.

John

-----Original Message-----
From: Jon Wynacht [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 9:41 PM
To: [EMAIL PROTECTED]
Subject: Struts Action in Welcome File List

Hi,

I've been using Struts now for some time and enjoy it immensely!
However, I've recently run into a problem that has me perplexed.
Usually I can figure these things out and not bother the mail lists
but
this one requires your help ;-)

I've pulled some info from the "Programming Jakarta Struts" book by
Chuck Cavaness on how to use a Struts action in the welcome file  list
of a web.xml file.

Based on the instructions in the book I have the following welcome
file
entry in my web.xml:

<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
  </welcome-file-list>

and the following code in my index.jsp:

<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

<html>
   <body>
     <logic:forward name="HOME"/>
   </body>
</html>

and the following entry in my struts-config.xml file:

<global-forwards> <forward name="HOME" path="PMTAction.do"
redirect="false" /></global-forwards>

So, when I first fire up Tomcat everything forwards fine but after a
while, if I hit the following URL:

http://localhost:8080/pmt/index.jsp

I get a blank page. No forwarding. Nothing. I've tried every combo
possible here, including using <logic:redirect/> but eventually it
stops forwarding.

Am I doing something subtly wrong or drastically wrong here?

Thanks in advance,

Jon


-------------------------------------------------------------------- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



This communication is intended for the use of the individual(s) or entity it was addressed to and may contain confidential and/or privileged information. If the reader of this transmission is not the intended recipient, you are hereby notified that any review, dissemination, distribution or copying of this communication is prohibited. If you receive this communication in error, please notify the sender immediately and delete this communication from your system(s) to which it was sent and/or replicated to. (c) 2003 Sapiens Americas Corp.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to