The correct answer is "off-topic"
On 3/7/06, atta-ur rehman <[EMAIL PROTECTED]> wrote:
>
> Folks,
>
> I was wondering if someone could please share some recommendations on a
> good
> beginner book on the topic of OO analysis and design.
>
> Thanks.
>
> ATTA
>
>
> I found Applying UML and Patterns: An Introduction to
> Object-Oriented Analysis and Design and Iterative
> Development, 3rd Edition by Craig Larman to be a good book on
> OO analysis and design.
I second on that.
Larman is great.
Regards
Thor
-
204 or 304 ?
http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6.1.1
On 3/9/06, Madhav Bhargava <[EMAIL PROTECTED]> wrote:
> did not find anything that would be of help.
>
> On 3/8/06, Madhav Bhargava <[EMAIL PROTECTED]> wrote:
> >
> > Hmm... let me check that out. Will get back to you if
I need some information of why we get the following error
can any one heipme out
2006-03-08 12:48:47,161 DEBUG
[org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE
java.net.SocketException: socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.
Actually, in computers there are differences that make a difference and are
not reducible to syntax. For example, late binding allows optimization with
individual machines which is completely impossible with other options. The
idea that layers in object-oriented programming are somehow like the l
did not find anything that would be of help.
On 3/8/06, Madhav Bhargava <[EMAIL PROTECTED]> wrote:
>
> Hmm... let me check that out. Will get back to you if this does not work.
> The purpose however is to know when the download is complete and to
> refresh a JSP.
>
> --Madhav
>
> On 3/8/06, Davi
Thank you all for sharing your thoughts.
ATTA
On 3/8/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
>
> On 3/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > I would also get the "Gang of Four" book if you don't have it -- the
> original "Design Patterns" book with code examples in C++.
>
It is - but it also indicates its going to be removed. Typically
deprecations are removed in the version following the one thery are
deprecated in.
Opnions are great, but if there are conflicting ones then maybe they're
better off on the wiki?
Niall
- Original Message -
From: "Michael J
On 3/8/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> I see no real need to force people to change working implementations that
> use DispatchAction or LookupDispatchAction by deprecating them.
Still some do the same job better than other. I am not saying about
forcing people. Just telling them
Hi all,
yep, I'm looking for a solution to upload muti files at one time.
I have a form with 3 , and FormBean like below:
FormFile upload1;
FormFile upload2;
FormFile upload3;
and in reset() method, I set upload1 = null, do the same thing for upload2
and upload3.
and get/set method for each
I see no real need to force people to change working implementations that
use DispatchAction or LookupDispatchAction by deprecating them. We probably
need better docs to explain the different implementations - but peoples
opnions on whats best to use vary widely - some people don't think
DispatchAc
How about using an exception handler to catch both unspecified and invalid
method names? I recently added "dispatch" flavour examples (primarily for
testing) to the struts-examples webapp - you can take a look at them in the
nightly build if thats of interest:
http://svn.apache.org/builds/struts/m
DispatchAction sucks. Use
http://wiki.apache.org/struts/EventActionDispatcher It is so much
better. It is Javascript-free and allows to set arbitrary caption for
your button.
You can get it from here:
http://issues.apache.org/bugzilla/attachment.cgi?id=17724
or from here:
http://svn.apache.org/vi
The "unspecified()" method is only invoked if the
parameter wasn't passed in. However, when an invalid
method name is passed in, a
java.lang.NoSuchMethodException exception is thrown.
If possible, I want "unspecified()" to be invoked for
invalid method names also...
Example... parameter name: "p
Joe, override the unspecified method. That method
is invoked whenever the dispatch cannot be resolved.
--- Joe Mun <[EMAIL PROTECTED]> wrote:
> Using DispatchAction, if a non-existent method name is
> passed, a java.lang.NoSuchMethodException is thrown.
> How (and where) can I catch (and ignore
On 3/9/06, Lionel Port <[EMAIL PROTECTED]> wrote:
>
> As wendy said you need to follow bean:size with something like:
>
>
>
> As for the scriptlet version. Sorry the ActivityForm variable is not
> defined in the page scope. If you want to access it using scriptlet you
> would need to do bring it
As wendy said you need to follow bean:size with something like:
As for the scriptlet version. Sorry the ActivityForm variable is not defined
in the page scope. If you want to access it using scriptlet you would need
to do bring it out of the request or session scope first, something like:
<%=a
On 3/8/06, Caroline Jen <[EMAIL PROTECTED]> wrote:
> property="businessCollection"/>
>
> does not display anything (it looks like the
> does not exist.)
http://struts.apache.org/struts-taglib/tagreference-struts-bean.html#bean:size
The 'id' attribute is defined as "The name of a page scope JSP
Using DispatchAction, if a non-existent method name is
passed, a java.lang.NoSuchMethodException is thrown.
How (and where) can I catch (and ignore) this
exception, so that invalid methods default to
"unspecified(..)"???
Thanks!
--
Thanks for your kind help.
<%=ActivityForm.getBusinessCollection().size() %>
gives JSP processing error. Somehow, ActivityForm
cannot be recognized.
The struts tag for retrieving the size does not give
runtime error, the web page is displayed. However,
does not display anything (it looks li
On 3/8/06, Caroline Jen <[EMAIL PROTECTED]> wrote:
> When I tested whether businessCollection is empty or
> not, I used:
>
> property="businessCollection">
> blah, blah
>
>
> And it was successful.
>
> Then, how do I display the counts of the Collection in
> this situation?
There is a tag:
Two options
Using your scriptlet example
<%= ActivityForm.getBusinessCollection().size() %>
Or there is a struts tag to retrieve size
On 3/9/06, Caroline Jen <[EMAIL PROTECTED]> wrote:
>
> I am trying to display 'counts' in a Collection. And
> I use JSP scriptlet to do it:
>
> <%=businessC
I am trying to display 'counts' in a Collection. And
I use JSP scriptlet to do it:
<%=businessCollection.size()%>
The compiler cannot recognize the Collection
'businessCollection'. It is because
businessCollection is defined in the
ActivityForm.java.
When I tested whether businessCollection is
On 3/8/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> Basically, I'm going to claim that "anything you can do in an action
> oriented framework can also be done in a component oriented framework" --
:) Didn't Turing prove that already :)
Mathematically, anything we do with an IDE, you can do w
On 3/8/06, Gary VanMatre <[EMAIL PROTECTED]> wrote:
>
> Hey Craig,
>
> I saw you have a couple sessions at TheServerSide Java Symposium in Vegas
> (swet). Wish I could see these - break a leg!
>
> Gary
>
Thanks.
My first session is likely to generate some interesting commentary :-).
Basicall
The FormDef version that has built-in support for nested beans
actually requires Struts 1.2.7 or higher.
I'm not aware of a "concise document" that covers what you're asking.
However, there are upgrade notes you can check for upgrading from 1.1
to 1.2.4, then from 1.2.4 to 1.2.7 [1]. There's not
Since no one has mentioned it...
Vaneet, before posting your questions, please read the guidelines we
have for the list on http://struts.apache.org/mail.html
Hubert
On 3/8/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> I advise taking out the disclaimer. The addressee is a bot, and if you
>
On 3/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I would also get the "Gang of Four" book if you don't have it -- the original
> "Design Patterns" book with code examples in C++.
The early prints used to have a companion CD-ROM with full book
content on it and a really thought-out design
Hey Craig,
I saw you have a couple sessions at TheServerSide Java Symposium in Vegas
(swet). Wish I could see these - break a leg!
Gary
I found Applying UML and Patterns: An Introduction to Object-Oriented
Analysis and Design and Iterative Development, 3rd Edition by Craig
Larman to be a good book on OO analysis and design.
You can read about the book here: http://www.bookpool.com/sm/0131489062
On 3/7/06, atta-ur rehman <[EMAIL
Hello,
I have a third party application which uses struts 1.0.2 and i want migrate
it to use struts 1.1.
I already found an issue with that as it uses following line of code,
This does not work because, as per my guess, the name property is deprecated
for Form taglib.
So i would like to
Hey ATTA.
One of the neatest books I ever read was "Java Design" by Peter Coad and Mark
Mayfield. It takes you through the design of three or four applications in
terms of scratching out the objects and the application states and work flow
with pencil and paper. It serves as a good intro to obj
Em Qua 08 Mar 2006 14:15, Greg Reddin escreveu:
> On Mar 8, 2006, at 10:49 AM, Joe Germuska wrote:
> > At 10:36 AM -0600 3/8/06, Greg Reddin wrote:
> >> On Mar 8, 2006, at 7:14 AM, vinicius wrote:
> >>> My forward and action:
> >>>
> >>> >>> name="institucional"
> >>> path=
I advise taking out the disclaimer. The addressee is a bot, and if you
want people to read your message, it may be helpful if you don't tell
them it's forbidden. Messages sent to the list are automatically
archived in a number of places, and it's not likely that someone will go
through deleting y
Krishna, Mattam (M.) asked:
> > What is the meaning of "^\(?(\d{3})\)?[-| ]?(\d{3})[-|
> ]?(\d{4})$" in
> > the above code.?
It's the regular expression for a US-style phone number.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
On 3/8/06, Babu Subburathinam <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am reading Husted's book on struts.
>
> There are several references to the scaffold classes in the book. I
> googled
> for it. I find that the generic scaffold page indicates that the struts
> scaffold is shipped with struts co
Hi,
I am reading Husted's book on struts.
There are several references to the scaffold classes in the book. I googled
for it. I find that the generic scaffold page indicates that the struts
scaffold is shipped with struts code.
I browsed struts code and find that there is no scaffold package. Fo
On Mar 8, 2006, at 10:49 AM, Joe Germuska wrote:
At 10:36 AM -0600 3/8/06, Greg Reddin wrote:
On Mar 8, 2006, at 7:14 AM, vinicius wrote:
My forward and action:
...
Which is a long way of saying that a tiles definition can be any
string, but if you get an IllegalArgumentExcepti
I think maybe we are getting warm here. Look at the last 3 lines below
(at the very bottom of this e-mail)...
It says it can't find file '/WEB-INF/tiles-defs.xml'
I don't understand because the struts-config file has (by the way, same
error with or without the pathname property being set below)-
At 10:36 AM -0600 3/8/06, Greg Reddin wrote:
On Mar 8, 2006, at 7:14 AM, vinicius wrote:
My forward and action:
my tiles.defs.xml
Does it work to specify a Tiles Forward that begins with a "." or
will it try to find a relative URL? That looks a bit strang
Ok, I noticed that you have moduleAware="true" in your plugin
configuration. Are you using modules? I'm not very familiar with
them myself, but will it work if you take the moduleAware attribute out?
Greg
On Mar 8, 2006, at 10:36 AM, Hilton, Steve wrote:
Sorry, I should have shown that.
On 3/8/06, Dave Newton <[EMAIL PROTECTED]> wrote:
> Vaneet Sharma wrote:
> > Regards
> >
> Yeah.
>
> Send an email to it and millions of people around the world will get to
> read it.
If there anything to read besides a freaking huge disclaimer.
---
Dave Newton ha scritto:
Antonio Petrelli wrote:
Dave Newton ha scritto:
Why? I'm uploading multiple files under Struts w/ no difficulties.
Really? Are you meaning more that one file at a time?
It it is so, please share your solution!
What problems are you having? I did
Sorry, I should have shown that. I just stripped down the struts-config
file that I pasted in the e-mail. I do have the following code in the
struts-config file...
-Original Message-
From: Greg Reddin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 10:33 AM
To: Str
On Mar 8, 2006, at 7:14 AM, vinicius wrote:
My forward and action:
my tiles.defs.xml
Does it work to specify a Tiles Forward that begins with a "." or
will it try to find a relative URL? That looks a bit strange to me
and I'm not sure if I'd expect it
On Mar 8, 2006, at 10:06 AM, Hilton, Steve wrote:
First of all, I am using Websphere 5.1.0. The problem is this
Any time I try to reference a definition name in the tiles-defs.xml
file, any reference to that definition in the struts-config file
always
produces a warning which states "Tar
Vaneet Sharma wrote:
> Regards
>
Yeah.
Send an email to it and millions of people around the world will get to
read it.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Antonio Petrelli wrote:
> Dave Newton ha scritto:
>> Why? I'm uploading multiple files under Struts w/ no difficulties.
> Really? Are you meaning more that one file at a time?
> It it is so, please share your solution!
What problems are you having? I didn't do anything interesting; I have
two
Regards
Vaneet. Sharma
CRISIL.
Office- (91)-22-56913095
M- (91)-93223 39127
Disclaimer :
This message and any attachments (hereinafter referred to as the Said
Information) are intended solely for the addressee. The Said Information is
confidential and may be privileged and is also prohibited
On 3/8/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> The most common cause of this in LookupDispatchAction is the presence of
> "whitespace" in the label value. So in the example I gave you, this happens
> if you don't put the tags all on one line, something like this:
>
>
>
>
>
> You n
Joe Germuska wrote:
> Check out FormDef: https://formdef.dev.java.net/
> I haven't actually had need to apply it, but I believe its intention
> matches your use case.
I did take an initial look at it, but I missed the details about nested
beans. It does seem to map to what I want to accomplish.
Hello every. I am new to this e-mail forum, so hopefully I am posting
this question correctly. I have been pulling my hair out over this
problem. I have looked in many books and at many examples on websites
and cannot see where I am doing anything wrong. I have listed the tiles
and struts confi
Hello,
thank you very much - this was the error - its working now - I setted the
scope to "session" ... THANKS A LOT!!
But another question - this also means, that the data is stored in the
session - so the session-size is growing ... is there another solution,
because I think there is data in the
On 3/8/06, Yariel Ramos Moreno <[EMAIL PROTECTED]> wrote:
> I tried your solution but it does't work. I get the exception:
>
> SEVERE: Servlet.service() for servlet action threw exception
> javax.servlet.ServletException: Request[/search] does not contain handler
> parameter named searchType
We
The most common cause of this in LookupDispatchAction is the presence of
"whitespace" in the label value. So in the example I gave you, this happens
if you don't put the tags all on one line, something like this:
You need them, on one line, like this:
Otherwise you need to look at how
Dave Newton ha scritto:
Why? I'm uploading multiple files under Struts w/ no difficulties.
Really? Are you meaning more that one file at a time?
It it is so, please share your solution!
Ciao
Antonio
-
To unsubscribe, e-mail:
Niall:
I tried your solution but it does't work. I get the exception:
SEVERE: Servlet.service() for servlet action threw exception
javax.servlet.ServletException: Request[/search] does not contain handler
parameter named searchType
at
org.apache.struts.actions.LookupDispatchAction.execute(Looku
--- Rick Reumann <[EMAIL PROTECTED]> wrote:
> PETER BLIZNAK wrote:
> > Hi there,
> > I run into something I cant figure perhaps someone
> > here can help me to shed some light on it.
> >
> > Basically I have dynamic table - meaning I iterate
> > over supplied colection and build up table. No
>
Praveen Kumar wrote:
> You have to use applet for that
>
Why? I'm uploading multiple files under Struts w/ no difficulties.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
On 3/8/06, Yariel Ramos Moreno <[EMAIL PROTECTED]> wrote:
> It's there a way of submit an html:form to a LookUpDispathAction with
> a link instead of a submit button?
What problem are you trying to solve?
* If you can get all of the request parameters into the link URL, yes.
* Otherwise, not
I believe you can do something like the following, although I haven't tried
it myself:
... link text here e.g.
This adds a parameter called "foo" to the link with the internationalized
value of "foo.label" from the message resources. If you want more than one
parameter you need to
Hi
You have to use applet for that
See www.radinks.com -- uploadapplet and thinfile.com
Regards
Praveen
[EMAIL PROTECTED]> wrote:
Hi all,
I'm looking for example of multi files upload in struts, help me plz ...
thanks in advance!
bowlkhin
-
Hi everybody:
It's there a way of submit an html:form to a LookUpDispathAction with a link
instead of a submit button?
Thanks and regards.
At 10:14 AM -0300 3/8/06, vinicius wrote:
my stack trace:
java.lang.RuntimeException: Path teste does not start with a "/" character
When using Tiles, interpret this message to mean that your path is
not defined as a tile. The error cannot be more meaningful because
Tiles is meant to co-exi
At 11:03 PM -0600 3/7/06, news.gmane.org wrote:
What are the recommendations for dealing with ActionForms that contain or
represent complex nested data structures, preferrably using JavaBeans that
already exist within the application?
Check out FormDef: https://formdef.dev.java.net/
I haven't
>
>
>
> phone
> ^\(?(\d{3})\)?[-| ]?(\d{3})[-|
> ]?(\d{4})$
>
>
>
>
>
>key="registrationForm.firstname.displayname"/>
>
> Hi All,
> I have a doubt related to Struts validations.
> I want to know how to use indexedListProperty in Validation.xml file.
>
> Template code(Validation.xml):
>
>
>
>
>
>
>
> In which scenarios it is useful and how to use it.
> Would anyone have a suggestion on h
Thanx Ted and Peter,
MIT will do, I will suggest it to the customer, and it is really VERY
brief and understandable :-)
Emmanouil:
>IMO the libraries have very little value without the source code being
>available under an OS license
Normally I would agree, but in this case the MIT license will
my stack trace:
java.lang.RuntimeException: Path teste does not start with a "/" character
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1055)
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
org.apache.struts.action.Requ
Hmm... let me check that out. Will get back to you if this does not work.
The purpose however is to know when the download is complete and to refresh
a JSP.
--Madhav
On 3/8/06, David Delbecq <[EMAIL PROTECTED]> wrote:
>
> If i remember well there are special http header that can be used to
> tell
If it were me, I'd probably suggest putting the binaries under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
It talks about "software" but doesn't distinguish between source and
object form.
The MIT license also has the virtue of being brief and easy to understand :)
The
Hello Krishna:
Here is the code for the action-mapping:
If i remember well there are special http header that can be used to
tell client the response is split in several part. This is mainly used
when you send a partial response to client (like a html with table
containing 3 rows) and after process advanced you send a more complete
response (like the sa
Hi All,
I have a JSP where if a link is clicked then a Save As dialog box is
invoked. If the user chooses to save the file, then on the successful
completion of the file download i need to update a status in the database.
After the status is updated the page from which the Save As dialog box was
i
Hello Leon,
IMO the libraries have very little value without the source code being
available under an OS license. In my experience this view now also
applies in the corporate environment; managers want to stay away from
free binary packages since they cannot know how the code actually works
I'm sorry for OT, but I am pretty stupid with legal stuff, and after
carefully reading gnu und apache license packages I am as unknowing as
I was before. Here my problem:
I am trying to convince one of my customers to make some of the libs I
wrote for him public available. For process reasons the
Hi all,
I'm looking for example of multi files upload in struts, help me plz ...
thanks in advance!
bowlkhin
Hi Yariel Ramos Moreno,
Can you send your struts-confing's action mapping code.
Thanks and Regards,
Krishna Mattam
Team Member - CDF Toolset
Contact:044-22548575
Email: [EMAIL PROTECTED]
-Original Message-
From: Yariel Ramos Moreno [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 20
On 3/8/06, Morten Egelund Rasmussen <[EMAIL PROTECTED]> wrote:
> Hi there!
>
> I don't have any formbean called CustomerOpen.
Then don't define it in the mapping.
> CustomerOpen is my
> action, which forwards to a formbean called CustomerInfo.
> (CustomerInfo is defined in struts-config.xml in my
Hi there!
I don't have any formbean called CustomerOpen. CustomerOpen is my
action, which forwards to a formbean called CustomerInfo.
(CustomerInfo is defined in struts-config.xml in my
section.)
Do I need to define the formbean within my action-mappings in
struts-config.xml, or what is wrong he
Yup i realised that as soon as sent this mail. Thanks for the reply.
On 3/7/06, David Delbecq <[EMAIL PROTECTED]> wrote:
>
> Encoding and decoding of query parameters is the job of container
> (tomcat, jboss, websphere, what ever you are using). The only struts
> related exception is for multipart
81 matches
Mail list logo