Re: frame page src=?

2002-02-15 Thread Holger Wiechert

Sorry, posted the last one without subject. Here it is again:


depends on where your pages are.
If you have them in the root web app dir, use:

 
  
  


If you have it , let's say under /myjsps, use:

 
  
  


Having the jsps under WEB-INF doesn't work on some servers WL, for instance.

From: Henry Lu 
Subject: Re: frame page src=? 
Date: Fri, 15 Feb 2002 05:59:28 -0800 



No it doesn't work either. Could you show me a working examples?


---
Henry Lu
MCITphone: (734) 936-2063
University of Michigan Medical Center   fax:   (734) 763-4372

On Fri, 15 Feb 2002, Jin Bal wrote:

> how about
> src=something.do
> - Original Message -
> From: "Henry Lu" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 15, 2002 1:34 PM
> Subject: frame page src=?
>
>
> > How to specify src path in the frame tag under struts?
> >
> > I did the following and it didn't work
> >
> > src="/WEB-INF/jsp/login/blank.jsp"
> > neither
> > src="/do/someting"
> > neither
> > src="/jsp/login/blank.jsp"
> >
> > Could you show me an example?
> >
> >
> > --
> -
> > Henry Lu
> > MCITphone: (734) 936-2063
> > University of Michigan Medical Center   fax:   (734) 763-4372
> >
> >
> > --
> > To unsubscribe, e-mail:
> 
> > For additional commands, e-mail:
> 
> >
> >
>
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! 
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Unable to handle ActionForm class hierarchies?

2001-09-18 Thread Holger Wiechert

I've got a problem when using class hierarchies for ActionForms.
There are two ActionForms: SuperForm and SubForm (as can be guessed,
SubForm inherits from SuperForm). Then there are two Actions,
SuperAction and SubAction, where SuperAction uses SuperForm
and SubAction uses SubForm. The JSP that calls (via POST) either
SuperAction or SubAction contains a hidden field in the form tag:

start.jsp:












The field "myField" is member of the SuperForm.
A PreloadAction initializes the myField field and then 
forwards to start.jsp. 
The thing is, when I call the SuperAction, the myField's
value can get retrieved and when I call SubAction, it reads
an empty string. For some reason, the myField will be set to
this empty string, before the request is forwarded to 
SubAction.
I included a war file that demonstrates this.
So, is this a bug or am I doing something wrong here?
I desperately need this feature (and besides this, I'm really
short in time, unfortunately).

Help greatly appreciated!
Thanks in advance,
Holger


___
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
[EMAIL PROTECTED], 8MB Speicher, Verschluesselung - http://freemail.web.de

 superforms.war


Unable to handle ActionForm class hierarchies?

2001-09-18 Thread Holger Wiechert

I've got a problem when using class hierarchies for ActionForms.
There are two ActionForms: SuperForm and SubForm (as can be guessed,
SubForm inherits from SuperForm). Then there are two Actions,
SuperAction and SubAction, where SuperAction uses SuperForm
and SubAction uses SubForm. The JSP that calls (via POST) either
SuperAction or SubAction contains a hidden field in the form tag:

start.jsp:












The field "myField" is member of the SuperForm.
A PreloadAction initializes the myField field and then 
forwards to start.jsp. 
The thing is, when I call the SuperAction, the myField's
value can get retrieved and when I call SubAction, it reads
an empty string. For some reason, the myField will be set to
this empty string, before the request is forwarded to 
SubAction.
I included a war file that demonstrates this (only struts.jar
not included).
So, is this a bug or am I doing something wrong here?
I desperately need this feature (and besides this, I'm really
short in time, unfortunately).

Help greatly appreciated!
Thanks in advance,
Holger


___
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
[EMAIL PROTECTED], 8MB Speicher, Verschluesselung - http://freemail.web.de

 superforms.war


Unable to handle ActionForm class hierarchies?

2001-09-18 Thread Holger Wiechert

I've got a problem when using class hierarchies for ActionForms.
There are two ActionForms: SuperForm and SubForm (as can be guessed,
SubForm inherits from SuperForm). Then there are two Actions,
SuperAction and SubAction, where SuperAction uses SuperForm
and SubAction uses SubForm. The JSP that calls (via POST) either
SuperAction or SubAction contains a hidden field in the form tag:

start.jsp:












The field "myField" is member of the SuperForm.
A PreloadAction initializes the myField field and then 
forwards to start.jsp. 
The thing is, when I call the SuperAction, the myField's
value can get retrieved and when I call SubAction, it reads
an empty string. For some reason, the myField will be set to
this empty string, before the request is forwarded to 
SubAction.
I included a war file that demonstrates this (only struts.jar
not included).
So, is this a bug or am I doing something wrong here?
I desperately need this feature (and besides this, I'm really
short in time, unfortunately).

Help greatly appreciated!
Thanks in advance,
Holger


___
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
[EMAIL PROTECTED], 8MB Speicher, Verschluesselung - http://freemail.web.de

 superforms.war


MultipartIterator: invalid multipart request

2001-09-17 Thread Holger Wiechert

Hi,
I just found out that I have this once discussed problem 
regarding the forward with multipart/form-data.
I wanted to do something like having a general upload
action that can be triggered from other actions. After
handling the upload, the control shall be forwarded
to somewhere else. The upload works fine when the
ActionServlet "goes" there straight and after that
to a JSP, but that seems to be the only working way.
I've read, that there is this a workaround using 
redirection, but then all parameters etc. are lost.

My question is: is there any satisfying solution?

Thanks for your time, 
Holger
___
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
[EMAIL PROTECTED], 8MB Speicher, Verschluesselung - http://freemail.web.de





Solved: Changes to values in Form get lost on forward

2001-07-25 Thread Holger Wiechert

Well, I think I shall go home now.
I mixed up some things. Sorry,
Holger


-Ursprüngliche Nachricht-
Von: Holger Wiechert [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. Juli 2001 18:27
An: [EMAIL PROTECTED]
Betreff: Changes to values in Form get lost on forward


Hi,
I'm sure, this question has arised before, but I's quite hard
to find it in the archive. However, this question is rather short,
so I hope someone can have a short answer to it.

My problem comes up, when I do the following:
1)in YYYAction.perform I set a field of the form to a new value,like 
System.out.println("importantString before=" + myForm.getImportantString());
myForm.setImportantString("The new value");
System.out.println("importantString after=" + myForm.getImportantString());
2)then I forward to ZZZAction, (this action uses the same form in the action mapping) 
3)ZZZAction.perform:  
-retrieves some values from the database and populates the form
-then forwards to the JSP, that displays the form data

In step 1), I see an output like:
importantString before=A cup of tea
importantString after=The new value

But when I look at my JSP, I still see "A cup of tea" as the value!

Could anybody please tell me, what I'm doing wrong?

Thanks, Holger






Changes to values in Form get lost on forward

2001-07-25 Thread Holger Wiechert

Hi,
I'm sure, this question has arised before, but I's quite hard
to find it in the archive. However, this question is rather short,
so I hope someone can have a short answer to it.

My problem comes up, when I do the following:
1)in YYYAction.perform I set a field of the form to a new value,like 
System.out.println("importantString before=" + myForm.getImportantString());
myForm.setImportantString("The new value");
System.out.println("importantString after=" + myForm.getImportantString());
2)then I forward to ZZZAction, (this action uses the same form in the action mapping) 
3)ZZZAction.perform:  
-retrieves some values from the database and populates the form
-then forwards to the JSP, that displays the form data

In step 1), I see an output like:
importantString before=A cup of tea
importantString after=The new value

But when I look at my JSP, I still see "A cup of tea" as the value!

Could anybody please tell me, what I'm doing wrong?

Thanks, Holger





AW: The never ending story: Turning caching off --- Oooops

2001-07-25 Thread Holger Wiechert



Sorry, 
I just figured out, that the time stamp stuff works.
But I 
figured out another problem, that made me blind for understanding the cache 
problem.
I'll 
post it soon.
 
 

  -Ursprüngliche Nachricht-Von: Holger Wiechert 
  [mailto:[EMAIL PROTECTED]]Gesendet: Mittwoch, 25. Juli 2001 
  17:25An: [EMAIL PROTECTED]Betreff: The 
  never ending story: Turning caching off
  Hi everybody,I was looking for a solution for the all time favorite 
  "Caching Problem" (in IE).I found a couple of "solutions, like:
   
  1) Having the following lines in the JSP:response.setHeader("Pragma", 
  "NoCache");response.setHeader("Cache-Control", 
  "no-cache");response.setDateHeader("Expires", 1);
   
  2) Turning "nocache" on for the 
  ActionServlet:  
  nocache  
  true
   
  3) Adding an unique parameter to the get/post, like 
  System.currentTimeMillis()
   
  See http://www.mail-archive.com/struts-user@jakarta.apache.org/msg03176.htmlto 
  that idea.
   
  One answer was, that usnig tokens  is the key:http://www.mail-archive.com/struts-user@jakarta.apache.org/msg02888.htmlBut, 
  correct me, if I'm wrong, what's the deal with tokens,when I don't want a 
  JSP to be cached?
   
  I tried all of them, but with no success. So, my question is: did I 
  misssomething or is it really just not possible?
   
  Thanks in advance,Holger
   
   


The never ending story: Turning caching off

2001-07-25 Thread Holger Wiechert



Hi everybody,I was looking for a solution for the all time favorite 
"Caching Problem" (in IE).I found a couple of "solutions, like:
 
1) Having the following lines in the JSP:response.setHeader("Pragma", 
"NoCache");response.setHeader("Cache-Control", 
"no-cache");response.setDateHeader("Expires", 1);
 
2) Turning "nocache" on for the 
ActionServlet:  
nocache  
true
 
3) Adding an unique parameter to the get/post, like 
System.currentTimeMillis()
 
See http://www.mail-archive.com/struts-user@jakarta.apache.org/msg03176.htmlto 
that idea.
 
One answer was, that usnig tokens  is the key:http://www.mail-archive.com/struts-user@jakarta.apache.org/msg02888.htmlBut, 
correct me, if I'm wrong, what's the deal with tokens,when I don't want a 
JSP to be cached?
 
I tried all of them, but with no success. So, my question is: did I 
misssomething or is it really just not possible?
 
Thanks in advance,Holger
 
 


Howto: Accessing values of a Form in the JSP directly?

2001-07-23 Thread Holger Wiechert

Is there a way of accessing form data directly within a JSP page?
I want to insert a text into my html code by asking the form for
this value.
Let's assume, I have a JSP myPage.jsp that uses MyForm with a field
myValue.
How can I say something like:


Thanks in advance,
Holger





"Throwing" ActionErrors within Action class?

2001-07-22 Thread Holger Wiechert

Hi everybody,

so far, I've only read about the possibility to use the
-Tag by
"throwing" ActionErrors within the validate of an ActionForm. But it would
be quite
helpful to do something like this from within an Action class. Let's assume,
I just sent a message to a business object (for instance to insert an entry
into
a database), and received the response message, that some error occured.
So it's something, the ActionForm cannot validate. Is there a way of
creating
some ActionErrors (in the perform of Action) and then forward to a JSP
that uses the -Tag?

Thanks in advance,
Holger




Bug in Struts when using base class for forms?

2001-07-20 Thread Holger Wiechert

Hi,

I'm in some kind of a hurry, so I didn't check the bug list or the archive.
In case, that this is a known issue, just forget about it.

So here's the apparent bug:

I'm using a base form class with some static fields and the
getters and setters:


MyBaseForm extends ActionForm implements java.io.Serializable
{

private static List someLabels = new ArrayList();
private static List someValues = new ArrayList();
private static String value = null;

public static final void setSomeLabels(List someLabels_param)
{
someLabels = someLabels_param;
}

public static final List getSomeLabels()
{
return someLabels;
}

public static final void setSomeValues(List someValues_param)
{
someValues = someValues_param;
}

public static final List getSomeValues()
{
return someValues ;
}

public static final void setValue(String value_param)
{
value= value_param;
}

public static final String getValue()
{
return value;
}


}

Then I have another form class 
MyNewFormClass extends MyBaseForm implements java.io.Serializable
{
 //...
}

When I use MyNewFormClass within an JSP with the select/options tag
(






I get the following error message:

Root cause: 

javax.servlet.jsp.JspException: No getter method available for property someValues for 
bean under name null
at org.apache.struts.taglib.html.OptionsTag.getIterator(OptionsTag.java:360)


However, this does not happen, when the getters are not static!

So, is this a bug? I guess, because it doesn't allow me an important feature (static 
getters for static fields).
Well, I can make my way around by doubling the getters: once static and once not 
static

Holger




AW: Access to HttpServletRequest within ActionForm

2001-07-19 Thread Holger Wiechert

Thanks for answering.
Since I've got to finish this project "yesterday",
could you please post (and maybe eMail me), when you
submitted the patch?
Thanks in advance,
Holger


-Ursprüngliche Nachricht-
Von: Erik Hatcher [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 18. Juli 2001 20:08
An: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Betreff: Re: Access to HttpServletRequest within ActionForm


Look at the ActionForm's reset method.   That gives you the request and is
called when its instantiated by the ActionServlet prior to population from
the request.

One note - reset is not currently called when instantiated from the
 tag unfortunately, but apparently this will be alleviated in the
near future.   I'll submit a patch for this eventually if Craig doesn't get
to it first.

Erik


- Original Message -
From: "Holger Wiechert" <[EMAIL PROTECTED]>
To: "User-Struts (E-Mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, July 18, 2001 10:44 AM
Subject: Access to HttpServletRequest within ActionForm


Hi,

is there a way of getting access within an ActionForm to the request that
caused the ActionServlet using this ActionForm?

Something like:

public class MyActionForm extends ActionForm
{
public MyActionForm
{
super();
HttpServletRequest request = getItSomeHow();
...
}
...
}

When the ActionForm is getting created, I need access to some objects that
are placed within the current session.
Depending on those values, the ActionForm shall be set up differently.

Thanks in advance,
Holger





AW: getSession in xxxForm

2001-07-18 Thread Holger Wiechert

HI,
I'm having the same problem (and saw this posting right after I've put mine in).
Yes, getting the ActionServlet let's me access the ServletContext, but then I'm even
further away from getting the request that caused the ActionForm to be created, or do 
I see this wrong?

Well, I guess, that I could do something like: having always a different ActionMapping 
"in front"
of the one, where the ActionForm will be created. Within this pre-executed Action I 
use the same Form
(and have access to the request), change the Form according to the request and forward 
it to  the
real Action (just the first idea I had).

But isn't there a way of accessing the request somhow directly from within the 
constructor of the Form?

Holger



-Ursprungliche Nachricht-
Von: Rajan Gupta [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 18. Juli 2001 16:13
An: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Betreff: Re: getSession in xxxForm 


You have access to ActionServlet as a protected attribute in ActionForm.
do a getServletContext() on the instance & you are on your way 
--- Stefan Faist <[EMAIL PROTECTED]> wrote:
> Hello All,
> I have set an attribute into a session: "session.setAttribute("id",
> xxxForm.getId());"
> Now I want to get this attribute in a xxxForm:
> "session.getAttribute("id");". But I have no HttpRequest object.
> 
> How can I get the session in the xxxForm?
> Can someone help me?
> 
> Stefan
> --
> hmi-Informatik GmbH
> Zettachring 6 - D-70567 Stuttgart
> E-Mail: [EMAIL PROTECTED]
> http://www.hmi-informatik.de
> 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/




Access to HttpServletRequest within ActionForm

2001-07-18 Thread Holger Wiechert

Hi,

is there a way of getting access within an ActionForm to the request that caused the 
ActionServlet using this ActionForm?

Something like:

public class MyActionForm extends ActionForm
{
public MyActionForm
{
super();
HttpServletRequest request = getItSomeHow();
...
}
...
}

When the ActionForm is getting created, I need access to some objects that are placed 
within the current session.
Depending on those values, the ActionForm shall be set up differently.

Thanks in advance,
Holger




Java-related question: thread safe ActionClasses

2001-07-16 Thread Holger Wiechert

Hi,

I've got a question about an issue to the thread safe execution.
The whole setup was made in order to have a business logic triggered by
struts, that still can retrieve information from its environment -- here Struts -- 
without
having explicit knowledge of it. In short, the processing is like this:

a) the ActionObject gets the business object
b) calls the business method on the business object including 
-the HttpServletRequest just received in the perform call, and
-a reference to itself 
c) the business object now uses this reference to retrieve from this object 
   some information about the business objects environment. Thus, the business object
   calls the ActionObject (without knowing, that it is a struts Action) and hands in
   the HttpServletRequest (as an java.lang.Object).
d) the ActionObject uses the HttpServletRequest to get the desired information
   (like request.getParameter()) and returns the result back to the business object.

Basically, I want to know, if I can use a static method (no static fields) within the 
ActionObject
for performing the environment lookup thread safe.

Sounds a little complicated, doesn't it? Well, to those who have the time to get 
involved.
It's actually not that difficult.

The class structure in my struts app is like the following:

-Class MyActionClass: extends ...struts.Action implements myClasses.Environment

-Interface myClasses.Environment has (let's say) just one method: 
public boolean isPropertySet(Object helperObject)

-Class DoSomeStuffRq is a class that contains 
a)translated form data, and 
b) an java.lang.Object reference to store the HttpServletRequest 
(which the MyActionObject just has recieved in its perform method).

-Class MyBusinessClass: doSomeBusinessStuff(DoSomeStuffRq stuffInfo, Environment env)

The Environment interface is there in order to decouple Struts from the business logic 
- giving
the chance to reuse the MyBusinessClass when not using Struts anymore (well, I hope I 
don't have to, but still).

So finer grained, the actions are:

1) Let the MyActionClass get the businessObject (of type MyBusinessClass),
2) MyActionClass calls the method businessObject.doSomeBusinessStuff(stuffInfo, this); 
["this" is of type Environment]

3) in order to process the business actions, the BusinessObject has to 
retrieve a boolean value from it's (unknown) environment. So it calls
the isPropertySet from the Environment interface (which has the MyActionClass 
implementation):

public StuffResponse doSomeBusinessStuff(DoSomeStuffRq stuffInfo, Environment env)
{
boolean importantProperty = 
environment.isPropertySet(stuffInfo.getObjectReference());
...
}

where stuffInfo.getObjectReference() gives the above mentioned HttpServletRequest 
reference as a java.lang.Object.

4) the rest is quite obvious: myActionObject does a cast of the java.lang.Object to 
the HttpServletRequest 
and gets a request parameter. Then, it returns a boolean value depending on that 
request parameter.

Well, there's lots to argue about in the whole scenario. 
Questions like: does it make sense to do all that stuff to decouple business logic and 
Struts; is there
a better way of passing the parameters between the objects, shall the MyActionClass 
handle the lookup,
when all I need is a HttpServletRequest and so on. 
But the simple question I'm interested in is: Can I have the MyActionClass' method 
public boolean isPropertySet(Object helperObject) 
being static?

I think, I can, because:
As long as I don't use any class members in the MyActionClass, the thread safety shall 
be 
given -- no matter if the method is static or not. Is that true?
Well it's more a java related question, but I think there are some people here, who 
are interested
in this issue too.

Thanks in advance for your time,
Holger






AW: javax.servlet.ServletException: cant remove Attributes from request scope

2001-07-09 Thread Holger Wiechert

We had the same problem using tomcat3.1. When using 3.2, it worked.
HTH


-Ursprüngliche Nachricht-
Von: vj nas [mailto:[EMAIL PROTECTED]]
Gesendet: Sonntag, 8. Juli 2001 00:36
An: [EMAIL PROTECTED]
Betreff: javax.servlet.ServletException: cant remove Attributes from
request scope


I had successfully configured the example  war to run on jbuilder4
But I started getting this  error message on the scope,

I am  three days  old i n  using Struts. I like it very much.

Could you please tell me why it is occuring. Is  the Servlet.jar file too 
old.
or missing some settings in server.xml, etc..,

I tried to figure out myself. But going no where.
Your help is greatly appreciated.

Thanks,
Sincerely,

Vijai.


javax.servlet.ServletException: cant remove Attributes from request scope
at java.lang.Throwable.(Throwable.java:96)
at java.lang.Exception.(Exception.java:44)
at javax.servlet.ServletException.(ServletException.java:161)
at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:386)
at 
src._0002fsrc_0002flogon_0002ejsplogon_jsp_0._jspService(_0002fsrc_0002flogon_0002ejsplogon_jsp_0.java:395)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:174)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at 
com.borland.jbuilder.webserverglue.tomcat.jsp.JspLoaderEcho.service(Unknown 
Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at 
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:498)
Root cause:
java.lang.IllegalArgumentException: cant remove Attributes from request 
scope
at java.lang.Throwable.(Throwable.java:96)
at java.lang.Exception.(Exception.java:44)
at java.lang.RuntimeException.(RuntimeException.java:49)
at java.lang.IllegalArgumentException.(IllegalArgumentException.java:45)
at 
org.apache.jasper.runtime.PageContextImpl.removeAttribute(PageContextImpl.java:236)
at org.apache.struts.taglib.html.FormTag.doEndTag(FormTag.java:591)
at 
src._0002fsrc_0002flogon_0002ejsplogon_jsp_0._jspService(_0002fsrc_0002flogon_0002ejsplogon_jsp_0.java:370)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:174)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at 
com.borland.jbuilder.webserverglue.tomcat.jsp.JspLoaderEcho.service(Unknown 
Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at 
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:498)
_
Get your FREE download of MSN Explorer at http://explorer.msn.com





Newbie: Difference between FORWARD and REDIRECT

2001-07-09 Thread Holger Wiechert

Hi,
I know, this is a totally newbie question, but the struts manuals handle this issue 
quite marginal.
So, what's the difference between a forward and a redirect?
It would be all right, to get an URL to that topic, if there is one, so you don't have 
to fill this
mailing list with it.

Thanks in advance, 
Holger