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: H

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

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

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 lik

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

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

AW: Access to HttpServletRequest within ActionForm

2001-07-19 Thread Holger Wiechert
set 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" <

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

"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 t

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

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("Expire

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.

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,

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,

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 uplo

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 c

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 c

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 c