Re: org.apache.struts.action.MESSAGE not found??

2004-10-09 Thread Dean Hiller
more infoThis doesn't seem too good and I should probably post to the tomcat list on this Looking at PageContextImpl, it has hidden another exception I believe. 521 } else { 522// Otherwise throw the exception wrapped inside a ServletException. 523 // Set the exception as the r

org.apache.struts.action.MESSAGE not found??

2004-10-09 Thread Dean Hiller
I saw one long posting on this in the archives with no clear answer. Someone had the exact same problem. For some reason PageContextImpl is looking for a key I never defined and don't have in any of my jsp's. Relevant stack trace is below... I believe this is the only relevant part of the sta

RE: help : submit with javascript problem

2004-10-09 Thread Erez Efrati
I don't see any problem with your code on first sight. Do you have more than one form in the page? Is the page you're trying to Submit is the first one in the page? Try putting the name of the form instead of forms[0].submit do Document..submit(); And also, in your onclick="..." do just onclick=

Re: [OT] Request for comments on DAO pattern implementation

2004-10-09 Thread Michael McGrady
Not sure why, but I have never had the difficulty of maintenance being held up because of appropriate uses of interfaces. I have had the opposite happen lots of times. I am a stickler for the interface approach to most classes. I am even thinking of foregoing entirely the use of the System c

Re: [OT] Request for comments on DAO pattern implementation

2004-10-09 Thread Rick Reumann
Adam Hardy wrote the following on 10/9/2004 7:34 AM: However I have never come across a situation where anybody has changed the implementation when doing an upgrade to their application. It sounds good, but IMHO, never happens. Would be interested to find out otherwise :) All of my classes implem

Re: help : submit with javascript problem

2004-10-09 Thread Erik Weber
Sorry, I'm not very good with JavaScript, but could it be that your function needs a return value? All my JavaScript functions return true or false, and it seems like I had a problem with a submit function similar to yours until I put in a return statement. Erik sachin wrote: hello all , i h

help : submit with javascript problem

2004-10-09 Thread sachin
hello all , i have a struts form and a button outside the form. on button click , with javascript i need the submit the form any help is welcome. My code is like following. but does not work function callSubmit() { document.forms[0].submit(); } Sachin Hegde -

How to write Tiles with Struts?

2004-10-09 Thread PC Leung
It is my 1st trial of tiles. Referring the tiles documentation, my index.jsp like this. <%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> It has header, menu bar, content and footer. It is a classic layout. In the content jsp, it has URL link. It points to

logic:equal tag always evaluates the body

2004-10-09 Thread David Alcoba
Hi, We've a very rare problem with our webapp. We've a webapp running under an iplanet 6 (jvm 1.2) and struts 1.0 There's a simple jsp with a lot of logic:equal (they're not nested) and all of them eval the same attributed stored in the session. Something like this: ... ... ... This code wo

Re: Struts /silly question / ignore

2004-10-09 Thread Rick Reumann
You should "VERY RARELY" ever need to call an action from an another action and never in the case of business logic. If you have stuff you need to do from more than one action then you should move it out into some helper class. I often have a UIhelper class that handles dealing with certain com

Re: Upgrading Woes

2004-10-09 Thread Adam Hardy
On 10/08/2004 04:11 PM Matt Hughes wrote: I just starting working on a project at work that is using a very old version of Struts (1.0). Having used the newest version of Struts, I am desperate to upgrade this application to use the newest version, but I have fixed all I can fix without a littl

Re: [OT] Request for comments on DAO pattern implementation

2004-10-09 Thread Adam Hardy
Interfaces are very useful for imposing class & method signatures on implementing classes - i.e. to make sure all your DAOs have the same methods available which allows you to handle DAOs generically when desirable. However I have never come across a situation where anybody has changed the imp

RE: Localization

2004-10-09 Thread Freddy Villalba A.
:)) -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: viernes, 08 de octubre de 2004 14:15 Para: [EMAIL PROTECTED] Asunto: SV: Localization Hi Welcome to the ugly world of Struts, Commons and Internationalization. I also had this problem, but solved it by re