Re: Struts and X11

2002-05-12 Thread Brett Porter
; Thanks for any assistance. >> >> Micael >> >> P.S. If you don't understand the above, please do not offer >> suggestions. Thanks for that too. >> >> >> >> -- >> To unsubscribe, e-mail: >> <mailto:[EMAIL PROTECTED]> &g

RE: off topic - ARGO UML - URGENT

2002-04-25 Thread Brett Porter
putting off topic in the subject doesn't excuse you to ask whatever you want ;) I have no idea, but I think that Argo UML has a list of its own... I'm sure they can give a better answer -Original Message- From: Jefferson Rodrigues de Oliveira e Silva [mailto:[EMAIL PROTECTED]] Sent: Frid

RE: Forward after

2002-04-23 Thread Brett Porter
I actually extended ActionServlet and intercept each request. From there, I can check whether we are restricting certain paths, then check the login cookie for the necessary permissions. If they haven't logged in, I forward to the login page with the requested URL in an attribute. This might not

RE: can't register struts-config dtd on tomcat 4.0.3 (1.4 LE) - P roxy problems?

2002-04-23 Thread Brett Porter
I'm really strecthing here, but: * I was under the impression that it would use the dtd from the struts.jar... are you using the v1.1 JAR in the webapp? Is there a problem with the way 1.1 works, because I get this for v1.0: register('-//Apache Software Foundation//DTD Struts Configuration 1.0//E

RE: Date fields in forms - what is the best way

2002-04-22 Thread Brett Porter
I can't speak authoritatively and haven't investigated Struts 1.1 yet, but I keep them as strings, but modify the form "setXXX" function to also update a private java.util.Date variable using a DateFormat. eg String birthDate; java.util.Date javaBirthDate; java.util.Date getJavaBirthDate() { ret

RE: struts and wls5.1sp9 problem

2002-04-16 Thread Brett Porter
I'd seriously recommend using sp11 - sp9 has some serious JSP issues that might be the cause of this. -Original Message- From: Rakesh N R [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 17 April 2002 4:55 PM To: [EMAIL PROTECTED] Subject: struts and wls5.1sp9 problem Hi, I am using WLSer

RE: (Urgent) Please help - validating checkboxes

2002-04-15 Thread Brett Porter
e.checked = !e.checked to toggle existing, or e.checked = selectAllCB.checked -Original Message- From: days [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 16 April 2002 3:34 PM To: Struts Users Mailing List Subject: (Urgent) Please help - validating checkboxes Thanks Joe, it works great, but

RE: Struts vs EJB, thoughts?

2002-04-14 Thread Brett Porter
I prefer apples to oranges because they don't take their name from their colour. FYI, we use Struts with EJBs. EJBs are the M of MVC, Struts is the VC. There is little to no overlap. If you don't need the container support provided for EJBs (remote invocation, pooling, transactions, etc), then yo

Struts 1.1b1, JDK1.4 and commons-logging

2002-04-01 Thread Brett Porter
't seem to have anything unusual. I'll need to obtain the source next which'll take a while to download from home. Has anyone else encountered this and have a shortcut solution? Cheers, Brett ~*~*~*~*~*~*~ Brett Porter - Web Developer f2 Network ~ everything essential Ph: +61

RE: Getting line number in stacktrace

2001-11-29 Thread Brett Porter
compile with -g If you use ant, set debug="on" in the javac task. Also, don't compile with -O (set optimize="off"). - Brett -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, 30 November 2001 1:08 PM To: Struts Users Mailing List Subject: Getting line nu

RE: <%@ include File =" <%= includefile%> " %> is there a way doto this

2001-11-29 Thread Brett Porter
<%@taglib uri='/WEB-INF/tlds/struts-bean.tld' prefix='bean' %> <%@taglib uri='/WEB-INF/tlds/struts-logic.tld' prefix='logic' %> <%= content %> <%@include file="/welcome.jsp" %> The logic:present parameters might not be right - its first up in the morning :)

RE: Hidden Field in a form. Do I use struts taglib or vanilla ht ml?

2001-11-28 Thread Brett Porter
s extra field in my message formbean then I will do it. What do you think? Cheers Tony Brett Porter wrote: > The question I ask is why you wouldn't put it in your form bean? > > I prefer form.getAction() over httpServletRequest.getParameter( "action" ) > an

RE: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-28 Thread Brett Porter
The question I ask is why you wouldn't put it in your form bean? I prefer form.getAction() over httpServletRequest.getParameter( "action" ) any day! :) -Original Message- From: Yee Keat [mailto:[EMAIL PROTECTED]] Sent: Thursday, 29 November 2001 12:36 PM To: Struts Users Mailing List Sub

RE: Struts Error Page Approach - Recommended / Struts Support

2001-11-27 Thread Brett Porter
a combination of 2 and 4 works well. ie, put together ActionErrors, forward to the page where they are displayed with Of course, you don't have to use ActionErrors - and list will do, but why not? :) - Brett -Original Message- From: Greg Callaghan [mailto:[EMAIL PROTECTED]] Sent: Wedne

RE: What does CRUD mean?

2001-11-27 Thread Brett Porter
did I see remove AND delete? oh dear... :) -Original Message- From: Brett Porter Sent: Tuesday, 27 November 2001 1:53 PM To: 'Struts Users Mailing List' Subject: RE: What does CRUD mean? create, remove, update, delete. Database terminology, usually. -Original Message

RE: Problem with Iterating-No getter method for property....... Any Ideas?

2001-11-26 Thread Brett Porter
It isn't directly related, but: >> public void Messages() >> { should be >> public Messages() >> { I seem to remember something about beans needing to have a public default construtor to work. If this helps, you may also need public Message() {} in your other class. Good luck,

RE: What does CRUD mean?

2001-11-26 Thread Brett Porter
create, remove, update, delete. Database terminology, usually. -Original Message- From: Francisco Hernandez [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 27 November 2001 1:52 PM To: [EMAIL PROTECTED] Subject: What does CRUD mean? Ive seen people use the word (or acronym) CRUD, what does th

RE: All the jar files cann't be read

2001-11-22 Thread Brett Porter
which means that all the taglib or related lib files could not be found or linked. I think I put all the lib files in right place. May I ask where I could config this path other than at the top of each JSP page ? Tons of thanks. Lily -Original Message- From: Brett Porter [mailto:[EMAIL P

RE: All the jar files cann't be read

2001-11-21 Thread Brett Porter
:file:/C:/opt/redknee/product/s2100/1_0_1/lib/struts.jar!/org/apache/str uts/resources/struts-config_1_0.dtd' New org.apache.struts.action.ActionMapping May I ask why I got this ? Lily -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, N

RE: All the jar files cann't be read

2001-11-21 Thread Brett Porter
My guess is that it got corrupted in the download, or perhaps because you have two paths in the webapp name (s2100\si) - I've never seen that before, not sure if it should work. Can you unjar the struts.jar file manually into a temp dir to check it is not corrupt? - Brett -Original Message-

RE: ~~ Confusion with triggering an Action ~~

2001-10-22 Thread Brett Porter
rything else came preinstalled that way     - Original Message - From: Brett Porter To: '[EMAIL PROTECTED]' Sent: Monday, October 22, 2001 10:25 PM Subject: RE: ~~ Confusion with triggering an Action ~~ If you got m

RE: ~~ Confusion with triggering an Action ~~

2001-10-22 Thread Brett Porter
ot;.  If the site was live the web app would be "http://www.mysite.com", and I would be in the "/sports" directory.  What can I do to get the behavior I am expecting? - Original Message - From: Brett Porter To: '

RE: ~~ Confusion with triggering an Action ~~

2001-10-22 Thread Brett Porter
t;/sports", but rather just "localhost".  If the site was live the web app would be "http://www.mysite.com", and I would be in the "/sports" directory.  What can I do to get the behavior I am expecting? - Original Message - From:

RE: ~~ Confusion with triggering an Action ~~

2001-10-22 Thread Brett Porter
/processTrivia.do is in fact "root-slash-processTrivia" - but in relation to your current context. If your webapp is named sports, then it will have to be /sports/processTrivia.do   How you get around this depends on your servlet container. In Tomcat 4, you could make sports the default weba

Error: MAPPING configuration error for request URI

2001-10-04 Thread Brett Porter
Title: Error: MAPPING configuration error for request URI Hi, I'm getting this error out of either struts or Tomcat. I'm a bit confused - the number of them (13) at a time, matches the number of action mappings I have, so it appears to be Struts related, but grepping the source doesn't revea

RE: Struts DB example

2001-10-04 Thread Brett Porter
Title: RE: Struts DB example Castor has a mailing list you can subscribe to from http://www.exolab.org. The examples it comes with are quite good, and the list will be helpful in getting them configured for you. As far as using it with Struts (as I do), I've placed a wrapper around the persis

RE: tomcat 4.0 and struts problem

2001-10-04 Thread Brett Porter
Title: RE: tomcat 4.0 and struts problem Hi, There was a similar problem discussed last week. My solution at the time was similar, and a bit dodgy :) I've just read the Tomcat 4 Class Loader HOWTO today and that explains the problems - as you've said its all to do with XML parsers. I think

RE: Struts DB example

2001-10-03 Thread Brett Porter
es CRUD would be great.     -Original Message-From: Brett Porter [mailto:[EMAIL PROTECTED]]Sent: Wednesday, October 03, 2001 4:53 PMTo: '[EMAIL PROTECTED]'Subject: RE: Struts DB example have a closer look. -Original Message- From:

RE: Struts DB example

2001-10-03 Thread Brett Porter
Title: RE: Struts DB example have a closer look. -Original Message- From: Bill G [mailto:[EMAIL PROTECTED]] Sent: Thursday, 4 October 2001 9:50 AM To: [EMAIL PROTECTED] Subject: RE: Struts DB example Francisco, That is not a database example. Thanks though. -Original Mes

RE: collection attribute in tag

2001-10-03 Thread Brett Porter
Title: RE: collection attribute in tag Have a look at the struts examples webapps (there is a taglib one, as well as struts-example itself). - Brett -Original Message- From: Fang, Frank [mailto:[EMAIL PROTECTED]] Sent: Thursday, 4 October 2001 8:39 AM To: '[EMAIL PROTECTED]' Subje

RE: Tomcat 4.0 and Struts.

2001-10-01 Thread Brett Porter
but don't know if you are talking about these files.   Thanks.   -Mensaje original-De: Brett Porter [mailto:[EMAIL PROTECTED]]Enviado el: Lunes, 01 de Octubre de 2001 07:06 p.m.Para: '[EMAIL PROTECTED]'Asunto: RE: Tomcat 4.0 and Struts. I had the same pr

RE: Tomcat 4.0 and Struts.

2001-10-01 Thread Brett Porter
OMCAT/commons/lib are the crimson files:   crimson.jar and jaxp.jar , but don't know if you are talking about these files.   Thanks.   -Mensaje original-De: Brett Porter [mailto:[EMAIL PROTECTED]]Enviado el: Lunes, 01 de Octubre de 2001 07:06 p.m.Para: '[

RE: Tomcat 4.0 and Struts.

2001-10-01 Thread Brett Porter
Title: RE: Tomcat 4.0 and Struts. I had the same problem. I removed jaxp.jar from the tomcat lib directory, as it seemed to be conflicting with Xerces. Removing Xerces from the classpath also works, but I use another library that depends on it. Cheers, Brett -Original Message- From:

RE: ActionError() problem

2001-09-26 Thread Brett Porter
Title: ActionError() problem You have answered your own question :)   Use a message properties file, and have the property value as something like   error.lineError=error at line {0}   then call   new ActionError( "error.lineError", lineNo );   the {0} will be replaced with value0 (likew

RE: Bad File Argument to include error

2001-09-26 Thread Brett Porter
Title: RE: Bad File Argument to include error Looks to me like you are specify a file to include that doesn't exist with or <%@include file=""  %> BTW, posting a 30 line exception will not help as much as the 1 line (line 10 of index.jsp) where the error occured (and perhaps a few more

RE: example struts app

2001-09-26 Thread Brett Porter
tionHandler.java:160) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java, Compiled Code) at java.lang.Thread.run(Thread.java:479) -Original Message-From: Brett Porter [mailto:[EMAIL PROTECTED]]Sent: Wednesday, September 26, 2001 4:44 PMTo: '[EMAIL P

RE: example struts app

2001-09-26 Thread Brett Porter
I believe if you use Tomcat 3.2 there are additional steps required (check in the install docs). Tomcat 4.0 should work as is. The example may be using a PostgeSQL database (I've seen the data source in the setup), but it seemed to work for me without one set up. I deployed it into Resin 2.

RE: WML version of Struts?

2001-09-26 Thread Brett Porter
Title: RE: WML version of Struts? Have a look around the struts website. It's already listed. http://jakarta.apache.org/struts/todo-1.1.html It doesn't have a volunteer yet, so it is a way off. If you are going to do it anyway, maybe you should discuss it with the maintainers and write it fo

RE: Need explanation: include tag in struts.tld and bean:include tag

2001-09-25 Thread Brett Porter
Title: RE: Need explanation: include tag in struts.tld and bean:include tag The comment at the beginning of struts.tld says that is has been deprecated and is present only for backwards compatibility. You should use instead. Cheers, Brett -Original Message- From: "Paradis, André" [