Re: Struts and X11

2002-05-12 Thread Brett Porter
] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- | Brett Porter [EMAIL PROTECTED] . . f2 network ~ everything essential | -- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

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:

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

RE: Forward after check-login

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: struts and wls5.1sp9 problem

2002-04-17 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

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,

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

Struts 1.1b1, JDK1.4 and commons-logging

2002-04-01 Thread Brett Porter
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 2 8596 4437 Email: [EMAIL

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' % logic:present name='source' bean:define name='mysourcebean' id='source' scope='session' toScope='page' type='SourceBean' / bean:include id='content'

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

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

2001-11-28 Thread Brett Porter
? 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 ) any day! :) -Original Message- From: Yee Keat [mailto:[EMAIL PROTECTED]] Sent: Thursday, 29 November

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- From

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 html:errors/ Of course, you don't have to use ActionErrors - and list will do, but why not? :) - Brett -Original Message- From: Greg Callaghan [mailto:[EMAIL

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, Brett

RE: All the jar files cann't be read

2001-11-22 Thread Brett Porter
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 PROTECTED]] Sent: Wednesday, November 21, 2001 6:04 PM To: 'Struts Users

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

RE: All the jar files cann't be read

2001-11-21 Thread Brett Porter
/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, November 21, 2001 5:09 PM To: 'Struts Users Mailing

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

RE: ~~ Confusion with triggering an Action ~~

2001-10-22 Thread Brett Porter
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: Brett Porter To: '[

RE: ~~ Confusion with triggering an Action ~~

2001-10-22 Thread Brett Porter
Asbell [mailto:[EMAIL PROTECTED]]Sent: Tuesday, 23 October 2001 12:17 PMTo: [EMAIL PROTECTED]Subject: Re: ~~ Confusion with triggering an Action ~~ currently weblogic 5.1 sp 10, with the default webapp set as I mentioned - Original Message - From: Brett Porter

RE: ~~ Confusion with triggering an Action ~~

2001-10-22 Thread Brett Porter
weblogic.httpd.defaultWebApp=D:/myapp Everything 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 Acti

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

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

RE: collection attribute in html:options tag

2001-10-03 Thread Brett Porter
Title: RE: collection attribute in html:options 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

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

RE: Struts DB example

2001-10-03 Thread Brett Porter
. -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: Bill G [mailto:[EMAIL PROTECTED]] Sent

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-

RE: Tomcat 4.0 and Struts.

2001-10-01 Thread Brett Porter
/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: '[EMAIL PROTECTED]'Asunto: RE

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

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

RE: example struts app

2001-09-26 Thread Brett Porter
) 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 PROTECTED]'Subject: RE: example struts app I

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 jsp:include/ 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

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 (likewise

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 bean:include instead. Cheers, Brett -Original Message- From: