Digester addObjectCreate

2001-07-25 Thread Steven D. Wilkinson
I have an object that takes an argument in the Constructor. How do I do this during an addObjectCreate call?

Re: Wrox Professional Site Design Book

2002-01-02 Thread Steven D. Wilkinson
Jeff, First, thanks for comment on the Pro JSP 2nd edition chapter. I wrote it and like to hear feedback. Second, I browsed through the Pro JSP Site Design over the Christmas holidays. It has struts all through the book. I wanted to buy it, but decided to wait a little while until I would

Re: Cant find the tld's for the tag libraries in the source download

2002-01-02 Thread Steven D. Wilkinson
If you download the binary distribution there is a blank web application in the form of a WAR file. I think it is called struts-blank.war. If you expand the war file the tlds are in the WEB-INF directory. z k wrote: Hi , I just heard of Struts and am taking a look at it. In specific I

Re: Struts with BES 5.0 problem

2002-01-05 Thread Steven D. Wilkinson
There is a new version of the Digester in the jakarta-commons project. You may want to look there also. I'm using the Digester from CVS (updated in December 2001) with: Tomcat 4.0.1 JDK1.3.1 struts from CVS (updated in December 2001) And I had had no problem. Note, the Digester in the release

Re: Struts Validator Load Failure

2002-01-06 Thread Steven D. Wilkinson
I haven't used the validator, but that is a Digester error. I would guess that something is wrong in the validation.xml file. Struts Newsgroup @Basebeans.com wrote: Subject: Struts Validator Load Failure From: Paul Heath [EMAIL PROTECTED] === The following is a partial stack trace of

Re: JavaScript -- use or not use???

2002-01-06 Thread Steven D. Wilkinson
Personally, I believe that only people that are very computer savy do this. However, another reason to avoid JavaScript in validation is if your application can have an interface other than the web. If the validation in on the server then the interface could be anything. For example, WAP and

Re: Struts docs?

2000-11-12 Thread Steven D. Wilkinson
ards Nikolaus Rumm -- --------- Steven D. Wilkinson, [EMAIL PROTECTED] Co-author: Professional JSP, Wrox Press Inc.; ISBN: 1861003625 Silent author: Developing Java Servlets, Sams; ISBN: 0672316005

Re: Struts docs?

2000-11-12 Thread Steven D. Wilkinson
Please ignore. I found it. "Steven D. Wilkinson" wrote: Can you give some more information on finding this link? I selected Programming|Java and tried to view through the articles (requires a login, which I have) and after the second click on "More Articles" link there

Re: debugging with struts/tomcat/JBuilder

2000-12-12 Thread Steven D. Wilkinson
I have done it for a nightly build (struts 1.0). To debug within the struts classes you must include the struts src code and jar file. The src code is from the dist/struts/src/share directory if you download the nightly src distribution. I had problems if I had more than one web application

Re: Howto use jbuilder4 with Struts?

2000-12-30 Thread Steven D. Wilkinson
with the struts.jar in the classpath. However, it is considered a bad thing within this user list. Please let me know if you choose this route and if you have any problems. Anything else? Steve [EMAIL PROTECTED] wrote: Yes. -Original Message- From: Steven D. Wilkinson [mailto:[EMAIL PROTECTED

Re: Howto use jbuilder4 with Struts?

2000-12-30 Thread Steven D. Wilkinson
project and I can edit them using JBuilder4's editor. Lou Farho Sr. Engineer Level (3) Communications, Inc. 720-888-7751 -- - Steven D. Wilkinson, [EMAIL PROTECTED] Co-author: Professional JSP, Wrox Press Inc.; ISBN: 1861003625

Release 1.0?

2001-01-07 Thread Steven D. Wilkinson
Any idea when 1.0 will be released? I know this has been asked before, but I think the last response was soon, very soon. If this is still the response, then I would like to ask if that means less than 1 month? Thanks in advance, Steve

Re: Does struts work with jdk 1.3?

2001-01-09 Thread Steven D. Wilkinson
I use struts with jdk1.3, but I'm using it with Tomcat4.0-m5. Why don't you use one of the nightly builds. They are going to release 1.0 soon and there are so many great changes, it would be better to use a nightly build. Steve Walter Holladay wrote: I am trying to use struts 0.5, resin

problems setting form attributes that are nested attributes

2001-01-12 Thread Steven D. Wilkinson
I'm having trouble using nested form attributes with the FORM tags (I know the HTML tags are replacements, I just wanted to finish my last few pages before using them. Unless it fixes this bug, then I'll switch immediately.) I have traced the code down to the PropertyUtils file. In the

Re: problems setting form attributes that are nested attributes

2001-01-12 Thread Steven D. Wilkinson
Craig, That worked Yea!!! Thanks soo much. I'll convert to the HTML tags from my form tags. I just wanted to make sure my logic was right in the Action before I made the switch. Steve "Craig R. McClanahan" wrote: "Steven D. Wilkinson" wrote: I'm having troub

Re: nightly build

2001-01-22 Thread Steven D. Wilkinson
Hello. I downloaded last night's build and compiled it. I was able to compile it with xalan/xerces (that I coopted from Cocoon 1.8) but not with jaxp.jar/parser.jar (that I coopted from Tomcat 3.2.1). From the stacktrace (see below), it looks like an Ant (1.2) "import" problem, but it's a

Re: Error: 500 from web.xml ????????????

2001-01-29 Thread Steven D. Wilkinson
lease help, thanks -- majid kamal [EMAIL PROTECTED] - email (781) 685-1450 x2371 - voicemail/fax __ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com -- - Steven D. Wilkinson, [EMAIL PROTECTED]

Re: ActionForm in this case

2001-01-29 Thread Steven D. Wilkinson
The actionForm must be registered as a form-bean and referenced within your action declaration. form-beans !-- Registration form bean -- form-bean name="registrationForm" type="com.mycompany.RegistrationForm"/ /form-beans action-mappings !-- Edit user

Re: comments in .properties file

2001-01-29 Thread Steven D. Wilkinson
# is a Comment label=value # another comment White space is ignored. Steve Peter Doyle wrote: Hi, How do I include comments in my AplicationResources.properties file? Do i use a # like in a shell or // in Java Cheers, Peter

Re: struts-config too large

2001-01-29 Thread Steven D. Wilkinson
My understanding is that you would need to extend the ActionServlet, pass multiple entries for each of the files as init-parameters to the ActionServlet and rewrite the initDigester() method. You will also need to create new DTDs and rebundle the struts.jar. The reason for the rebundle of the

Re: JSP probleme

2001-01-29 Thread Steven D. Wilkinson
Which version of struts are you using? Note my answer is how you do it in struts 1.0 (actually form the 01-28-2001 source download) I'm not sure how to do it in 0.5. If you are just starting and trying to use 0.5, I suggest you start with one of the nightly source distributions because 1.0

Re: JSP probleme

2001-01-29 Thread Steven D. Wilkinson
align="right" Password : /th td align="left" struts:password property="password" size="16" maxlength="16"/ /td /tr tr td align="right" struts:submit property="submit" value="Submit"/ /td td align="left" struts:reset/ /td /tr /table /struts:form /body /html -- - Steven D. Wilkinson, [EMAIL PROTECTED]

Re: struts-config too large

2001-01-30 Thread Steven D. Wilkinson
to divide the application into multiple smaller apps so I need to make the config file more manageable. Thanks, Peter -- ----- Steven D. Wilkinson, [EMAIL PROTECTED]

Re: session ids cont...

2001-02-01 Thread Steven D. Wilkinson
In [EMAIL PROTECTED] this issue was discussed (why and when IE supports different sessionID, and Netscape - not). The main thing is, Netscape is reading any cookies from one file, IE - from different files. Do you have a reference to said article? If not how about the subject and date?

Re: session ids cont...

2001-02-01 Thread Steven D. Wilkinson
Peter, I.E. 5.0 and 5.5 generate unique session ids for each simultaneous browser session. However, both Netscape 4.7 and Netscape 6 return the same Id. What do you mean by simultaneous browser sessions. If you create a new window CTL+N in IE5.0 you get the same id. (Is this simultaneous?)

Re: trouble building struts

2001-02-06 Thread Steven D. Wilkinson
-- - Steven D. Wilkinson, [EMAIL PROTECTED]

Re: JBuilder Enterprise

2001-02-07 Thread Steven D. Wilkinson
Regards, Jrgen -- --------- Steven D. Wilkinson, [EMAIL PROTECTED]

Re: Not sure if this is clear but I wanted to keep it short:

2001-02-07 Thread Steven D. Wilkinson
ot;element"/ /logic:iterate Question : How can we call a method on the instance of each ArrayObject Example : bean.getFirstName() Any Suggestions will be great. Ravi Manthena [EMAIL PROTECTED] -- - Steven D. Wilkinson, [EMAIL PROTECTED]

Re: which development tool to use?

2001-02-08 Thread Steven D. Wilkinson
Dan, You still have the negative comment about Struts and weblogic. It would be nice if you corrected that before doing whatever it is your going to do with this massive thing. I believe the

Re: which development tool to use?

2001-02-08 Thread Steven D. Wilkinson
Malcolm Davis wrote: 3. Do you have a preference on Tag editors/creators? I'm looking for something that creates/edit tags like I would a bean. Does JBuilder Enterprise do this and I'm just missing something? I only have JBuilder4 Professional, so I don't know what else the Enterprise

Re: Digester: How to read the body of a tag?

2001-02-09 Thread Steven D. Wilkinson
Tagwithbdoy"); What I am missing is a method called something like digester.addSetBody("database/user/tagwithbody"); after the addObjectCreate method. The setTagwithbody method is part of the User class. Jens -- - Steven D. Wilkinson, [EMAIL PROTECTED]

Re: Struts Build Error

2002-01-11 Thread Steven D. Wilkinson
You need xalan.jar in your local classpath. I had the same problem with ant1.4.x. I solved the problem by putting the xalan.jar in my classpath. You can also add the xalan.jar into the ant/bin directory and it works, at least with ant1.4.x. FYI, I'm using xalan-j_2_2_D10. Steve Mehmood

Re: Netscape 4.7 Adding Port Number after calling Action

2002-01-18 Thread Steven D. Wilkinson
I am using Netscape 4.78 and it works both with cookies on and with cookies off on port 8080. When I turn cookies off I see the jsessionid in the URL. When you have cookies turned on you will not see that in the URL. Note, I'm using Tomcat 4.0.1. Are you using Weblogic for your application

Re: Mapped property

2002-01-28 Thread Steven D. Wilkinson
It appears that you are trying to call a method on an attribute of a bean. It also appears that the attribute is the instance of a class. To my knowledge this is not supported. Note, if you are simply trying to access the attribute of an attribute stored in the bean you can do this using the

Re: Can I directly access properties in my ApplicationResources file?

2002-01-28 Thread Steven D. Wilkinson
The ActionServlet loads the MessageResources via the initApplication() method. One should really request the MessageResources from the ActionServlet to eliminate extra I/O calls. In general, Action classes extend the ActionForm and can access these via the following call: public class MyAction