Re: problems with struts under j2sdk1.4.0_01

2002-10-18 Thread Thomas Eichberger
Well, the 1.1beta version should be ok. I use it in production. Maybe 1.4.1_01 has a problem, and 1.4.1 works. A friend of mine told me today he has a problem with the _01 version, too, but it's not a problem related to Struts. However, I would recommend to upgrade to the beta version, and

Re: What it will take for a 1.1 release... (was RE: Struts 1.1 Release)

2002-10-18 Thread Thomas Eichberger
I think the same:-) A beta 3 would help us with the customer. Thomas At 11:08 17.10.2002 +0100, Vilya Harvey wrote: Because of all these having been incorporated, I think Struts is now way past something that should have been called a 1.1 release. According to the ... Well, a little

Re: problems with struts under j2sdk1.4.0_01

2002-10-18 Thread Thomas Eichberger
Thank you for your help. I saw that line at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:242) but thought it's not important. What a mistake... Thomas At 10:37 17.10.2002 -0400, [EMAIL PROTECTED] wrote: When resolving issues like this, here is one approach you

Re: problems with struts under j2sdk1.4.0_01

2002-10-17 Thread Thomas Eichberger
What exactly is the problem? What error messages do you get? Thomas At 15:13 17.10.2002 +0200, Isabell Schaadt wrote: Hi, I'm working since a few month with jakarta-struts-1.0.2 and jakarta-tomcat-4.0.4 under jdk1.3.1. Yesterday I convert my java to j2sdk1.4.0_01 but now struts doesn't work

Re: problems with struts under j2sdk1.4.0_01

2002-10-17 Thread Thomas Eichberger
Oops, very strange. As far as I see there is no hint on what is going wrong, unfortunately. I think we need help from the Struts developers;-) Another question: Why do you use Struts 1.0.2 and not the 1.1 Beta? The Beta ist quite OK. Ciao Thomas At 15:34 17.10.2002 +0200, Isabell Schaadt

Re: Is Struts full J2EE compliant?

2002-10-16 Thread Thomas Eichberger
I don't understand the question. Struts is *just* a small framework of servlets and tag libraries. So of course it works in J2EE web applications. So in this sense it is compliant to the J2EE specification. But of course it's not a J2EE application server... Thomas At 09:57 16.10.2002

Class not found

2002-10-15 Thread Thomas Eichberger
Hi, I just installed Struts 1.1. b2. In my webapps there is only struts-examples and struts-documentation. I use TomCat 3.2.3, JDK 1.3.1 When I start TomCat, I get the exception: 2002-10-15 16:26:16 - ContextManager: Adding context Ctx( /struts-example ) java.lang.ClassNotFoundException:

Re: session management problem

2002-10-12 Thread Thomas Eichberger
Maybe stupid question, but what session-timeout do you have? May be the user just didn't do anything on the page for a period longer than the session timeout? Thomas At 17:25 12.10.2002 +0530, srinivas wrote: we are developing a intranet enterprise application, we are facing a typical

Re: display Date in struts1.1

2002-10-10 Thread Thomas Eichberger
MM-dd-yy hh:mm perhaps? Thomas At 10:53 10.10.2002 -0400, Cathy Osekizoglu wrote: I got Date from DB, I used formatKey=EEE MMM d, yy hh:mm, in my jsp file.The Date is displayed as Thu Oct 9, 02 09:37 on my page. I want to display it as 10-09-02 09:37. What format should I use to

Re: Struts and open new jsp window without menu or title bar

2002-10-08 Thread Thomas Eichberger
make a forward to a jsp and inside of the jsp you have an onload javascript part in the body tag where the window is opened. At 10:18 08.10.2002 -0700, Ashish Kulkarni wrote: Hi, I have an application, in which i want to open a new window from Action class, like there will be a button which

Re: Passing a request parameter within Struts framework

2002-10-07 Thread Thomas Eichberger
request.getAttribute( selTopNav ) not request.getParameter( selTopNav ) !!! At 05:00 07.10.2002 -0700, Tuan H. Le wrote: Hi, How do I pass a request attribute to another form? In my case, after a successful login, it would forward the user to the main form (MainMeu.jsp which has a

RE: Passing a request parameter within Struts framework

2002-10-07 Thread Thomas Eichberger
a null value. Thanks, Tuan -Original Message- From: Thomas Eichberger [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 6:28 AM To: Struts Users Mailing List Cc: Struts Users Mailing List (E-mail) Subject: Re: Passing a request parameter within Struts framework

Re: enforcing max upload file size - before its too late!

2002-10-06 Thread Thomas Eichberger
Hi, here is my piece of source code for that problem: stream = file.getInputStream(); zipFile = new File( user.path, user.kurzname + -upload.zip ); bos = new BufferedOutputStream( new FileOutputStream( zipFile ) ); int bytesRead = 0; int count = 0; byte[] buffer = new byte[ 8192 ]; while ( (

Re: [MessageResources] - in my Action: getResources(request) returns null

2002-10-03 Thread Thomas Eichberger
What's the name of the properties file? Let's say ApplicationResources.properties This file has to be placed in the web-inf/classes directory. At 08:10 03.10.2002 +0100, Alex Birch wrote: Hi, I can't find the answer to this anywhere but apologies if I missed something obvious I have the

Re: threading question

2002-10-03 Thread Thomas Eichberger
Of course, if you have several objects of ConcreteAction, every object has its own testString. So if each object has only one thread attached to it, the access to testString is thread-safe. You could put a counter to see how many ConcreteAction objects there are: class ConcreteAction {

Re: html:file tag

2002-10-03 Thread Thomas Eichberger
What I do: JSP file: html:form method=post action=/upload enctype=multipart/form-data table border=0 cellpadding=0 cellspacing=0 width=100% tr td colspan=5html:file property=theFile //td img src=picts/blind.gif width=30 height=1 border=0

Re: Custom tags problem

2002-10-02 Thread Thomas Eichberger
At 12:58 02.10.2002 +0200, Miguel Angel Medina Lopez wrote: Hi all: Is there any problem when I create my own custom tags? No. probably a problem with the source code of your custom tag Thomas In my custom tag I return EVAL_BODY_TAG but the HTML text from the body of the tag isn't write in

ActionErrors - where to get it from

2002-10-02 Thread Thomas Eichberger
Hi, sorry for that question but I cannot find it in the docs or even in the sources: Where is the current ActionErrors object stored? In the session or in the request? I cannot find it. I was looking in the request parameters, the request attributes, and the session attributes. I have to

Apache Tomcat Struts - configuration

2002-10-01 Thread Thomas Eichberger
Hi, we are using Apache and Tomcat 3.2.3. I wrote a Struts 1.0.2 application. I installed it, but the webserver cannot find myserver.com/login.do On my standalone Tomcat everything works fine. Is there anything to configure in the Apache files? Should *.do be mapped to ??? jsp or whatever?

Re: Apache Tomcat Struts - configuration

2002-10-01 Thread Thomas Eichberger
- this subject comes up ... more than you'd ever care to know) I assumed that this question had been answered here before;-) but I am in such a hurry... Thank you very much Thomas Thomas Eichberger wrote: Hi, we are using Apache and Tomcat 3.2.3. I wrote a Struts 1.0.2 application. I

Tiles XML Parser

2002-01-29 Thread Thomas Eichberger
Hi, I just installed Tiles and it does not work because I have the wrong XML parser. Does anyone know which is the correct version? By the way, I installed JDK 1.3.1. for Win2000, Struts last stable release, TomCat 3.2.3 Ciao Thomas -- To unsubscribe, e-mail: mailto:[EMAIL

Re: How to use Log4j with a startup logging servlet

2002-01-15 Thread Thomas Eichberger
] Thomas Eichberger - Software und Schulungen - Spezialisiert auf Java A-1230 WIEN, Endresstr. 103/3 phone/box/fax: 01-8861685 Web: www.java.at E-Mail: [EMAIL PROTECTED] Every job is a self-portrait of the person who did it. Autograph yours with excellence. For every complex question

Re: New API specification

2002-01-10 Thread Thomas Eichberger
commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Thomas Eichberger - Software und Schulungen - Spezialisiert auf Java A-1230 WIEN, Endresstr. 103/3 phone/box/fax: 01-8861685 Web: www.java.at E

RE: Struts EJB support

2002-01-08 Thread Thomas Eichberger
] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Thomas Eichberger - Software und Schulungen - Spezialisiert auf Java A-1230 WIEN, Endresstr. 103/3 phone/box/fax: 01-8861685 Web: www.java.at E-Mail: [EMAIL PROTECTED] Every job is a self-portrait of the person who did it. Autograph yours

Re: Struts EJB support

2002-01-08 Thread Thomas Eichberger
: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Thomas Eichberger - Software und Schulungen

Re: (off topic) Servlet getInitParameter() methods

2002-01-07 Thread Thomas Eichberger
-- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Thomas Eichberger - Software und Schulungen - Spezialisiert auf Java A-1230 WIEN, Endresstr. 103/3 phone/box/fax: 01-8861685 Web: www.java.at E-Mail: [EMAIL PROTECTED] Every job is a self