Im using Struts 1.2.9 on Tomcat 4.1.31. Somehow, my form is null within my
Action. It's even null at the level FormBeanConfig.formBeanClass() is
called. The type, returned by FormBeanConfig.getType(), returns the correct
String, but the call to classLoader.loadClass(getType()) fails to load
If I knew exactly what to tell you, I would likely know enough to fix it.
Turns out I did. The root cause of the problem, and the solution, had
nothing todo with Struts.
On 2/25/07, Dave Newton [EMAIL PROTECTED] wrote:
--- Monkeyden [EMAIL PROTECTED] wrote:
Im using Struts 1.2.9 on Tomcat
Does anyone know of an OSS log file reporting tool? We're using a very old
version of WebTrends, which usually works fine (but sometimes not). MGMT
doesn't want to pony up so, well, you know. Was hoping that Apache had
something.
/06, Monkeyden [EMAIL PROTECTED] wrote:
Does anyone know of an OSS log file reporting tool? We're using a very
old
version of WebTrends, which usually works fine (but sometimes
not). MGMT
doesn't want to pony up so, well, you know. Was hoping that Apache
had
something.
What sort of log files
That wasn't very pedantic of you to mispell it. :)
On 11/10/06, Ed Griebel [EMAIL PROTECTED] wrote:
On 11/10/06, Martin Gainty [EMAIL PROTECTED] wrote:
I dont know 'pendantic' so I would suggest System.arrayCopy as in
(Sorry for being pedantic...)
LOL, TGI Friday! :-)
Using Struts 1.2.9, Tomcat 4, fmt-rt:number tag as such:
fmt-rt:formatNumber value=${result.avgPoints} pattern=#.##/
Getting In formatNumber, value attribute can not be parsed into
java.lang.Number: ${result.avgPoints}
avgPoints is a Float in the object.
Any ideas?
, Monkeyden [EMAIL PROTECTED] wrote:
Using Struts 1.2.9, Tomcat 4, fmt-rt:number tag as such:
fmt-rt:formatNumber value=${result.avgPoints} pattern=#.##/
Getting In formatNumber, value attribute can not be parsed into
java.lang.Number: ${result.avgPoints}
avgPoints is a Float in the object.
Any ideas?
Was it such a leap to consider posting the tile-def?
Does '/coeuslite/mit/irb/common/cwIRBHeader.jsp' exist? Assuming you have a
tag named header in your main tile-def, it appears as though you're trying
to pass in the name of a file that does not exist or is otherwise
inaccessible.
On
It's not finding the ActionForm. It looks like you need a slash before
process in the form tag, provided that you indeed have an action mapping
with path /process in your Struts config file.
On 9/18/06, Aftab Vhora [EMAIL PROTECTED] wrote:
Hi,
I m dynamically generating the html:text , i
c:out value=${beanName.methodName}/
or
c:set var=myVar value=${beanName.methodName}/
On 9/12/06, Lixin Chu [EMAIL PROTECTED] wrote:
Hi,
would like to check if there is existing tag available to allow method
invocation from JSP directly, something similar to this :
Call JavaBean methods
Even if this was on topic, no one would know what you're talking about. In
any case, read the spec.
http://www.w3.org/Protocols/rfc2616/rfc2616.html
On 9/8/06, Pankaj Gupta [EMAIL PROTECTED] wrote:
hi,
please tell me how can i validate an ip address. Validation needs to eb
both
client side
But to validate it for what? Syntax? Validity? Connectivity? Network
legality?
On 9/8/06, Guido García Bernardo [EMAIL PROTECTED] wrote:
BTW, does anyone know a regular expression to validate an IP address?
I think this is what Pankaj is looking for, isn't it ?
Thank you.
Pankaj Gupta
As a minimum requirement for this board, and all others, the original poster
should state his/her terms. Personally, I'm here to answer (and
occasionally ask) questions, not to extract questions.
On 9/8/06, David Friedman [EMAIL PROTECTED] wrote:
BTW, does anyone know a regular expression to
Then the answer depends on how you have your app configured. Post the
servlet and servlet-mapping snippets, from web.xml.
On 9/8/06, liner_zhao [EMAIL PROTECTED] wrote:
no typing error, my context path is C:tomcat/struts_project/x.html, the
file
is stored in the path
yeah, I overlooked those pesky slashes. who needs 'em? :)
On 9/7/06, Frank W. Zammetti [EMAIL PROTECTED] wrote:
But again, the URL you show here is NOT valid... if your just making a
typo, then OK, but http:localhost is a malformed URL... it needs to be
http://localhost (the rest after that
Add an init-param to the ActionServlet
Add the plug-in the struts-config.xml
Add the taglib directive to the JSP pages using tiles.
http://struts.apache.org/1.x/struts-tiles/installation.html
On 9/5/06, Darren Hall [EMAIL PROTECTED] wrote:
Ignore that last message. I see the tiles package in
You could override the processPreprocess or processRoles method of
RequestProcessor. If you only need to check for a session, more likely the
former. If you have more fine-grained security (like role-based screens)
then you could do it in the latter.
On 9/5/06, SrinivasaReddy [EMAIL
Data Structure - Initialize a static map somewhere (perhaps the Servlet).
Verification - For every login, check the map to see if the supplied
credentials exist.
Clean up - Implement HttpSessionBindingListener to remove the credentials
from the map when the Session expires.
On 9/5/06, Pedro Del
Security page for at least
4
more (some are OLD like SecurityFilter)
http://wiki.apache.org/struts/ApplicationSecurity?highlight=%28security%29
Regards,
David
-Original Message-
From: Monkeyden [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 05, 2006 12:10 PM
To: Struts Users Mailing
If you're looking for someone to tell you which is the best framework, you
won't find the answer here, because there isn't one. You have to determine
which framework best suits your preferences, your organization, the current
development resources/assets and most of all, the requirements.
If
Understanding that different companies interpret them in different ways, I
have always thought of webflow and workflow in the following terms:
webflow - the path by which a user travels through a WEB application to
complete a unit of work. An example would be a series of screens used by a
Ah, now I see. What you're looking for is a way to persist incomplete
webflows. Well, in a *typical* webflow, you have 1 screen per table, where
each screen is a new record/relationship. Each subsequent screen might use
the previous screen's primary key (or composite, if necessary for the
I asked this same question on the Ryan Seacrest Fan Club list. Can you
believe they couldn't answer it either?!
On 8/31/06, temp temp [EMAIL PROTECTED] wrote:
I using ant build file to compile .java files .I get
java.lang.OutOfMemoryError.
Here is the build file
property
going home.
On 8/31/06, Joel Espinosa [EMAIL PROTECTED] wrote:
Thanks for your quick responses.
I agree with you Monkeyden, there are differences between two
definitions webflow and workflow, I'm planing to code a webflow.
Monkeyden your aproach is very close to what I need but... certainly I
I'm dying to know why you could possibly want 2 sessions.
On 8/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello!
Is it possible to create a new session for an already logged in person
(which
has an actual session) without invalidating the existing session? It's
necessary
for me to
It's not that he wants to save everything when the session is invalidated.
He wants to have two HttpSession objects, representing the same user.
On 8/29/06, Puneet Lakhina [EMAIL PROTECTED] wrote:
On 8/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hello!
Is it possible to create a new
Yes, Adam, you MUST be a little more cordial. If there's anyone you don't
want to off, it's yourself.
On 8/25/06, Scott Van Wart [EMAIL PROTECTED] wrote:
Adam Gordon wrote:
Duh
tiles:getAsString ...
I was thinking to myself how rude a reply this was... then I noticed the
sender
You should really look at the Tomcat logs, as the message mentions. Perhaps
if you posted the root cause of the exception, and more context, someone
could help you. That said, what gives you the impression that it's the
Action and not something else, like the ActionForm? Did it manifest itself
Classic! What is the purpose of a lawn mower? What about a hair brush? A
screwdriver?
Noun + [implied] Verb = clearly stated purpose
On 8/23/06, Frank W. Zammetti [EMAIL PROTECTED] wrote:
Is this a bad Karnak routine?
Johnny: To parse requests
Ed McMahon: To parse requests
-tears
It is Friday, after all. I'm looking to simplify the QA handoff and defect
tracking, so I wondered what the other readers have employed for build
version strategies. We're currently using Ant, but may move to Maven down
the road. I have heard (perhaps on this list) of people using Ant to read
I usually just touch the web.xml, to redeploy the app, but this isn't always
feasible in production.
On 8/17/06, Harsh Gupta [EMAIL PROTECTED] wrote:
How to Reload Message resources i.e Resource Bundles in struts 1.1???
___
Harsh Gupta
Software
Sure, flatter us so we don't notice you're breaking a rule.
Is it a straight JSP application or do you have a controller?
On 8/17/06, Jean-Marie Pitre [EMAIL PROTECTED] wrote:
Hi,
Excuse-me, I know it is not the right forum to ask this question but
there are the best developper registered
, Jean-Marie Pitre [EMAIL PROTECTED] wrote:
Thanks, my application is struts based.
-Message d'origine-
De: Monkeyden [mailto:[EMAIL PROTECTED]
Envoyé: jeudi 17 août 2006 17:08
À: Struts Users Mailing List
Objet: Re: Page contentType
Sure, flatter us so we don't notice you're breaking
you need a path attribute for the action mapping.
action path=/helloWorld name=helloWorld class=HelloWorld
On 8/17/06, Peter Steil [EMAIL PROTECTED] wrote:
The exact same thing happens. I give you some more information. You know
how my web.xml looks like. Here are the other files:
logs the following:
SEVERE: Attribute path must be declared for element type action. at
(null:9:
72)
Original-Nachricht
Datum: Thu, 17 Aug 2006 15:47:54 -0400
Von: Monkeyden [EMAIL PROTECTED]
An: Struts Users Mailing List user@struts.apache.org
Betreff: Re: RE: Struts2
you
] wrote:
Hi,Monkeyden;
Thanks for your reply.
Now I can get the context-relative path, but the extension is also
omitted. How to get the path with extension?
Actually, I want to do this.
URL:
/context-name/appname.do?param1=1param2=2
I want to get
/appname.do?param1=1param2=2
and use this string
...by the way, they are on the HttpServletRequest object.
On 8/15/06, Monkeyden [EMAIL PROTECTED] wrote:
Then it will probably look something like the following:
getRequestURI() + ? + getQueryString()
If not, print out all of the methods below and see what they give you.
I've always hated
Either that or get the best price. Not my publisher of choice but I'm
always willing to support a colleague.
The only place to buy tech books
http://www.bookpool.com/ss?qs=1-59059-695-1sourceid=mozilla-searchx=1-59059-695-1y=1-59059-695-1
On 8/15/06, Frank W. Zammetti [EMAIL PROTECTED]
1590596951
On 8/15/06, Martin Gainty [EMAIL PROTECTED] wrote:
404 on all of the addresses Ive seen thu far..can you send me the ISBN?
(Congratulations on publishing your book)
Martin --
*
This email message and any files
You may want to look at ActionMapping.getPath().
Return context-relative path of the submitted request, starting with a
slash (/) character, and omitting any filename extension if extension
mapping is being used.
On 8/14/06, Michael Cheung [EMAIL PROTECTED] wrote:
Hi, all;
I get requestURL
First, what does send the Euro character via struts mean? Second, are you
using the entity or numeric references (euro; and #8364; respectively)?
Do you really need to send the character itself? It may be best to use
the character itself just for presentation purposes and pass some string
that
This avoids the real question. I would have to hear a pretty good case as
to why the character itself needs to be sent to begin with.
On 8/14/06, Chetan Pandey [EMAIL PROTECTED] wrote:
Try sending its Unicode Equivalent. Available from www.unicode.org.
CHetan
-Original Message-
If I understand you correctly, here is how it might look:
YourActionForm
Collection table1Data (retrieved from persistence on the first request
of the Action)
Collection table2Data (empty on first request)
YourAction
Loads table1 data
Expects a table1RowNum parameter (from clicking
:
Thank you Monkeyden,
1) That exactly what I want, but I did not understand :
Expects a table1RowNum parameter (from clicking on one of the rows
in table1
I have never used AJAX, is there any example on how to do it with ajax ?
thank you,
Monkeyden [EMAIL PROTECTED] wrote:
If I understand
Who cares where they're called or what their values are? Just add them to
the application resources file.
On 8/11/06, Jean-Marie Pitre [EMAIL PROTECTED] wrote:
Hi,
I would like to change the key name of errors.header, errors.footer,
errors.suffix ... but I don't see where they are called.
Are you returning false when there is an error in the validation?
if(userName.trim().length() == 0){
alert(Pathetic, technologically inept users must enter a user name.);
return false;
}
On 8/11/06, O'Shea, Sean Sean.O'[EMAIL PROTECTED] wrote:
Hi Adam,
I changed my login form to look
Now that gave me a chuckle.
On 8/8/06, Christopher Goldman [EMAIL PROTECTED] wrote:
On Mon, 2006-08-07 at 01:12 -0400, Monkeyden wrote:
or is like transferring Ted himself, as data?
Only if he implements the Serializable or Externalizable interfaces.
Chris
--
Christopher D. Goldman
[EMAIL
How big is the file?
On 8/8/06, Jon Koberstein [EMAIL PROTECTED] wrote:
We are using struts to develop an online classifieds site. While
uploading pictures for the classified a few clients get the error
message given below. We spoke briefly with one of the clients that is
having this problem
This is where I was going with it:
Search for maxFileSize. Default is 250M, which sounds big.
http://struts.apache.org/1.2.x/userGuide/configuration.html#struts-config
On 8/8/06, Monkeyden [EMAIL PROTECTED] wrote:
How big is the file?
On 8/8/06, Jon Koberstein [EMAIL PROTECTED] wrote
I don't include any tiles in my application(s). It's the layout JSP page
that includes the screen specific HTML and handles the common code (META,
HTML, BODY, menus, etc.). Implemented this way, it's not nearly as easy to
inadvertently avoid the META tags as you would have us believe. That
a referer and define another layout for pages which don't.
There are many ways to do this, each with it's own measure of artistic
license. I don't think there's a silver bullet however.
On 8/7/06, Monkeyden [EMAIL PROTECTED] wrote:
I don't include any tiles in my application(s). It's the layout
Human Data Transfer? Is that like transferring Ted's Struts knowledge to my
brain or is like transferring Ted himself, as data? If it's either one of
those, I have to click on it.
On 8/6/06, Frank W. Zammetti [EMAIL PROTECTED] wrote:
Yes, I too can practically feel the presence of Xenu
HAHA! I would have done the same thing. I don't want things like that
(regexp) creeping around my application, even if I do only have to touch it
once. Ech! shivers
On 8/3/06, Scott Van Wart [EMAIL PROTECTED] wrote:
Adam Gordon wrote:
IIOC, the only way you can do this with the stock
If I understand you correctly
If you have references to the subforms within an outter form, just call
each subform's validate() method in the outter forms validate() method.
Couldn't tell you how you'll get Struts to auto-populate those subforms
though.
MainActionForm{
validate(...){
I suppose you could get the http referer but it would have nothing to do
with what you see in the browser address bar.
req.getHeader(Referer);
On 8/2/06, Wbyeats [EMAIL PROTECTED] wrote:
Hi guys,
I have this problem: I'm using websphere 4, wth JDK 1.3 and J2EE 1.2, and
struts.
I have set
mapping.getPath()
On 8/2/06, Wbyeats [EMAIL PROTECTED] wrote:
I suppose you could get the http referer but it would have nothing to do
with what you see in the browser address bar.
req.getHeader(Referer);
Nope, that's not what I want. I need this as I want to make a link to
reload
page
Pass it to the JSP from the action in the request object? action form?
session? Pick your poison.
request.setAttribute(URL, mapping.getPath() + ?language=swahili);
On 8/2/06, Wbyeats [EMAIL PROTECTED] wrote:
But how would I use a mapping.getPath() inside a jsp?
mario
--
View this
Hari,
Form name won't work, or won't be reliable, since two forms have the same
name (via Struts). You MUST use the index.
Caroline (or Jen?)
All I can say is Wow! document.getElementById() only works in IE, not
FF. Your response is an arduous elaboration of my document.forms[0] and
Looks like it may not be wrapped in a html:form tag in your JSP. You
probably also want a field named toSelect, with accessor and mutators in
your form bean, to hold the selected value.
On 8/1/06, Francisco Exposito Aguilera [EMAIL PROTECTED] wrote:
Hi,
I have a Bean:
package
Can we please stop suggesting use of the form name? It.will.not.work. If
both forms have the same name, it makes a reference to document.forms['foo']
an array and not a reference to the form. Of course you *could *do this:
html
head
/head
script language=JavaScript type=text/javascript
it's File.getName() - it
returns everything after the last / character. Of course, you do have
to
construct a new File object so I've no idea if it's more or less efficient
than what Monkeyden suggested.
-Adam
-Original Message-
From: Monkeyden [mailto:[EMAIL PROTECTED]
Sent: Friday, 28
Your example WILL always point to the first form, since you use the index of
0 (zero). You need to use 1 to point to the second form. This works fine
for me:
html
head
/head
script language=JavaScript type=text/javascript
function tellMe(){
alert(Form 1: +
I don't mind if people/companies aren't onboard. I also have a policy not
to work with them.
BTW, a strategic offshore outsourcing company? That's the devil's work.
:)
On 7/28/06, Thomas Joseph [EMAIL PROTECTED] wrote:
Hi All,
I have often felt that, we need a slogan for the Open Source.
Great marketing! This reminds me of those ...for Dummies books. To
download, like buying those books, is to submit to the idea that you are, in
all likelyhood, an idiot.
On 7/28/06, Larry Meadors [EMAIL PROTECTED] wrote:
How about Software by idiots for idiots...download here.
Larry
On
Larry,
I didn't believe you'd be able to to improve on the first incarnation of it,
but there, you've gone and done it.
On 7/28/06, Larry Meadors [EMAIL PROTECTED] wrote:
Would you prefer half-wit?
Or maybe retard, one definition of that is A person considered to
be foolish or socially
You have to parse it. Something like this:
String requestUri = request.getRequestURI();
String resourceName = requestUri.substring(requestUri.lastIndexOf(/),
requestURI.length-1);
On 7/28/06, mosho [EMAIL PROTECTED] wrote:
Hi All,
I am using struts 1.1 I need to get the process.do from
Actually, the mapping parameter may give you something. Try mapping.getPath
()
On 7/28/06, Monkeyden [EMAIL PROTECTED] wrote:
You have to parse it. Something like this:
String requestUri = request.getRequestURI();
String resourceName = requestUri.substring(requestUri.lastIndexOf
You may have a battle with my former co-worker, Coach Wei at Nexaweb, to lay
claim to the first Ajax-like application. He is widely referred to as an
Ajax pioneer. We were doing this in '99-2000 and he was well into it before
I got involved. Our initial approach was pretty unique, however. We
realized the value of an Internet, like Al Gore
did. :)
On 7/27/06, Frank W. Zammetti [EMAIL PROTECTED] wrote:
On Thu, July 27, 2006 11:59 am, Monkeyden wrote:
You may have a battle with my former co-worker, Coach Wei at Nexaweb, to
lay
claim to the first Ajax-like application. He is widely
Follow Lance, he knows the way. I use JSTL whenever I can. I also use
Struts-EL to give Struts a dash of JSTL's expression language flavor.
On 7/27/06, Lance [EMAIL PROTECTED] wrote:
You can also use JSTL c:out tag
c:out value=${formName.propertyName} /
Using The JSTL tags means you no
The TilesRequestProcessor appears to do an exact text match, to determine
whether its a tile or not, so with a querystring it won't work. To get
around it you could overrride that method in a subclass.
On 7/27/06, prasad pondugula [EMAIL PROTECTED] wrote:
Hello all,
In struts/tiles
What behavior are you seeing? I believe you have to do the swap inline with
input type=image, like so:
onMouseOut=this.src='images/title_history.gif';
onMouseOver=this.src='images/title_leaderboard.gif';
Works in FF and IE6.
On 7/26/06, A. Lotfi [EMAIL PROTECTED] wrote:
Hi, I want to
I agree with Paul (and Shale). Dialog, or even Conversation, scope makes
the most sense. It's exactly as descript as it needs to be. If you can't
figure out what it means than you probably shouldn't venture out of page
scope.
On 7/22/06, Paul Benedict [EMAIL PROTECTED] wrote:
Shale calls
Search for:
JSTL and URL generation
http://www.sitepoint.com/article/java-standard-tag-library/3
uses c:set/ tags nested within c:url/c:url
On 7/24/06, David Haynes [EMAIL PROTECTED] wrote:
I want to be able to generate a URL with a GET method for a select
multiple=true scenario so that the
Give me a solution Ha! That's rich.
On 7/24/06, senthil.s [EMAIL PROTECTED] wrote:
Hi all
I have a table of records in SQL Server with UniqueID (unique ID enabled
with increment of 1 starting from 1 for each record, now I have 100 records
in that having Unique ID 1 - 100 now I want to
To elaborate on Frank's reply, the name of the form comes from the name
attribute of the action-mapping in the struts-config, but this value is
just a reference to the form-bean configuration. Within the context of
the action-mapping, I might even call it a misnomer. People new to struts
might
I love this part:
...you should avoid doing standard Web browsing while these settings are in
effect
Why should standard Web browsing not be subject to the HTTP Protocol
Specification? These guys are characters. I'm glad I made the right
decision years ago when I chose the Java camp, and not
Did you try html:hidden/?
Set the value dynamically if need be, just before you submit.
document.forms['yourFormName'].hiddenInputName.value = newValue;
document.forms['yourFormName'].submit();
On 7/13/06, Akshay Ahooja [EMAIL PROTECTED] wrote:
Hmm ok that makes sense and the form submits..
. I.e.,
Struts uses reflection to find the name of the setter methods on the bean
and calls them when the form is submitted.
Monkeyden also just mentioned another way. Just know that anyone can see
your hidden fields with the right browser - Firefox has that feature built
in - so they're
Tomcat 4.1 Struts 1.2.9
Anyone seen this? I get this message when I try to access properties of my
ActionForm, though the form is clearly there, since I can print the
values using JSTL:
No getter method for property: hPlayer1Team1Name of bean:
com.foo.web.action.captain.ScoreSubmitForm
Here
Thanks Wendy, that worked. I ended up replacing the H with home and V
with visiting, which is what they represent. I'm not sure I would have
considered that, since c:out worked.
The usual... consult the JavaBeans specification for property naming
conventions. :)
If a property name begins
Assuming you meant that you want to add errors in the Action, rather than
the ActionForm, in your Action...
1. Create an empty ActionErrors object. Let's call it errors.
2. Add messages to it as necessary (e.g. errors.add(propertyName
,new ActionMessage(msg.key));)
3. Then call the base
When you say different beans, will they have different accessor methods?
Even if the bean has a collection, you ultimately have to call accessor
methods to build the table, save introspection.
On 7/6/06, Dan Langer [EMAIL PROTECTED] wrote:
Antonio,
Thanks for the suggestion. From a design
Who can tell by this documentation? How can both if any [corresponding
bean property] and [Required] both be true?
Name of this input field, and the name of the corresponding bean property
if value is not specified. The corresponding bean property *(if any)* must
be of type String. *[Required]*
yeah, it's called Google. You can find pretty much anything there.
On 7/5/06, Gomathi [EMAIL PROTECTED] wrote:
how to create ajax application using dwr in myeclipse5.0
Is there is any site to follow this
Kindly regards
gomes
You looking for the jar or the war? In either case, there isn't one that I
know of. However, an exploded examples app come with Struts and the classes
you would expect to find in an examples.jar file can be found in the
WEB-INF\classes subdirectory of the exploded WAR.
On 7/5/06, Jim Reynolds
Is the content of each tab within a div tag, and you're just hiding and
showing the div?
Do they share the same form tag? Are all of them nested within it?
On 6/29/06, José María Tristán [EMAIL PROTECTED] wrote:
Hello:
I have five tabs. When i click into a tab one css hide and other
Your forward's path needs to point to the tile-def name (portal.index), not
the JSP page that defines the tile-def (/jsp/frameset.jsp). Also, be sure
you are using either the tiles plugin or the TilesRequestProcessor.
plug-in className=org.apache.struts.tiles.TilesPlugin
set-property
You could also check to see if the keycode is in a range. See the table
below. With a quick search, I found a javascript that will check it. codes
48-57 are numbers 0-9, codes 65-90 are upper letters A-B, codes 97-122 are
lower letters a-z.
ASCII table
managing the action mappings in the struts-config.xml file
can be a big headache, especially with multiple developers.
And how! That's why I use XDoclet. Only Ant knows.
On 6/27/06, Nathan Voxland [EMAIL PROTECTED] wrote:
The Hoople team just released the 1.0 version of Hoople. We've
This is particularly difficult in Java, since there is no reliable and
invariable way to measure the size of an object. Interestingly, while
trying to avoid work the other day, I stumbled onto this write up on the
topic. Martin Roth asserts that the only way to do it in Java is to get the
Correction...
...the operands for the measurement are at RUNTIME scope...
On 6/23/06, Monkeyden [EMAIL PROTECTED] wrote:
This is particularly difficult in Java, since there is no reliable and
invariable way to measure the size of an object. Interestingly, while
trying to avoid work
I suspect you can find an example for setting startup and runtime memory
allocation for NetBeans. It would look something like this, and you would
add it to the shortcut or shell script that starts NetBeans:
-Xms128M -Xmx512M
On 6/23/06, A. Lotfi [EMAIL PROTECTED] wrote:
Hi,
I am trying to
AFAIK, if the applications are in two separate contexts there is
no way to share data between them using a common session
Not to mention, some of the Struts tags (form, link) derive context at
runtime, so you don't have the ability to specify an external context.
You'll be forced to do
What is this business?
Monkeyden [EMAIL PROTECTED]
23/06/2006 07:42 AM
Please respond to Struts Users Mailing List
Here is the snippet from the raw message:
...
From: Eric Dahnke [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Subject: Re
If your implementation is similar to what Scott has mentioned (i.e.
different operations on the same type of object), then I consider this a
classic example of a DispatchAction, where type of business entity doesn't
change...just the selected operation on the business entity, thus it makes
sense
I'm as forward-thinking as the next guy but let's not lose sight of the fact
that, despite how pragmatic we engineers like to be, many more than half of
the applications developed and deployed are done so on a single JVM. An
overwhelming majority of those applications originally deployed on a
:
Monkeyden, I'd be careful with that assumption... clustering is pretty
common in mid to large organizations based on my experience... I think
any design that doesn't take it into consideration is a bad design.
Even if your in a 5-person shop now running on a single server, do you
want to deal with it 2
where every company has to be online 24/7 failure
safety becomes a very crucial subject, especially for small companies.
Monkeyden wrote:
I'd be surprised if that data was out there but logic tells me that
there
are far more small-med applications than there are med-large. Of
course
, req, res));
}else if(actionType.equals(select)){
return (myBaseAction.*doSelect*(mapping, form, req, res));
}
On 6/19/06, Rick Reumann [EMAIL PROTECTED] wrote:
Monkeyden wrote:
I don't use the execute() method of Action at all and have implemented a
separate abstract doCancel method in my
1 - 100 of 125 matches
Mail list logo