I have an object that takes an argument in the Constructor. How do I do
this during an addObjectCreate call?
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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]
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
# 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
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
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
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]
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]
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?
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?)
--
-
Steven D. Wilkinson, [EMAIL PROTECTED]
Regards,
Jrgen
--
---------
Steven D. Wilkinson, [EMAIL PROTECTED]
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]
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
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
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]
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
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
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
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
35 matches
Mail list logo