r and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
> Quoting "Frank W. Zammetti (MLists)" <[EMAIL PROTECTED]>:
>
>> It's not an argument Eric, it's a debate. Are not debates about how to
>> approach various problems part of what this
It's not an argument Eric, it's a debate. Are not debates about how to
approach various problems part of what this list is for? After all, you
can ignore the threads you have no interest in, I do it all the time :)
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
h
On Fri, February 11, 2005 12:43 pm, Larry Meadors said:
> Hmm, I only sent it twice (once for each of the emails I got from you).
>
> Odd.
Not a problem, probably just the typical list posting issues that pop up
every so often. I should have thrown a smiley at the end of that first
paragraph, I c
have to get dirty
> at some point although I'd probably stop at downloading the Struts
> source and not reach for my copy of Peter Norton's Guide to x86
> Assembler :-)
> The real fun comes later with that pesky data, but that's a whole
> separate topic.
> My 2p
&
I hope I didn't come across being anti-IDE... that wasn't my intent.
Even though I don't use an IDE myself for my web development work, I would
not dissuade anyone from using one. The point I was trying to make,
perhaps not as elloquently as I had hoped, was that starting out by hand
will probabl
nytex.com
On Fri, February 11, 2005 11:43 am, Larry Meadors said:
> No offense, but that is *crazy* *bad* advice Frank.
>
> Larry
>
> On Fri, 11 Feb 2005 11:22:26 -0500 (EST), Frank W. Zammetti (MLists)
<[EMAIL PROTECTED]> wrote:
>> <%@ page language="java&qu
There's two ways you can go... One is to have an ActionForm associated
with your Action, another is to use request directly.
Using request directly, you simply do this in your Action class:
request.setAttribute("temp_", temp_);
(that's an unusual variable name... was that underscore a typo?)
..
To answer your question, no, I haven't used it. But, since you are new to
Struts, I'd actually caution against using such a tool.
As a general rule, I believe it is better to do things manually by hand
when you are new to them. I think you will get a better understanding of
how everything works
I do something like this in one app...
I'm creating PDFs on-the-fly and then displaying them on the browser. I
have a directory named temp under my webapp that the PDFs get written to.
The files are named according the the user ID.
You have the Action writing out the file already... if we assum
Today I find myself converting an existing webapp from using Log4J
directly to using JCL instead. As per the JCL User's Guide, I'm creating
a private static Log variable in all my classes, Struts Actions included.
My question is, why is this OK? Static variables in Actions are a Bad
Thing, that'
Please ignore me. Just seeing if my web host fixed the webmail problem
I've been having. Thanks!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
on context. I base that on the 404 and the
>> location being the RouterAction with parm...
>>
>> http://localhost:9080/AIM/router.do?destination=handHeld
>>
>> from a forward of
>>
>> forward name="handHeld"
>> path="file:///C:/AIM/AuditorW
ode sample I posted wouldn't work.
>
> Hubert
>
> On Wed, 22 Sep 2004 14:05:43 -0400 (EDT), Frank W. Zammetti (MLists)
> <[EMAIL PROTECTED]> wrote:
>> That presumes that the app server is on the same box as the client
>> (which
>> is, I think, the only way the fi
[EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
>>
>>
>> "Frank W. Zammetti (MLists)" <[EMAIL PROTECTED]> wrote on 09/22/2004
>> 01:34:07 PM:
>>
>> > Are you actually trying to FORWARD to the file or is your intention to
>> > initiate
PROTECTED] said:
>
>
>
>
>
>
>
>
>
> "Frank W. Zammetti (MLists)" <[EMAIL PROTECTED]> wrote on 09/22/2004
> 01:34:07 PM:
>
>> Are you actually trying to FORWARD to the file or is your intention to
>> initiate download of the file?
>
> FORWARD
>
>
Are you actually trying to FORWARD to the file or is your intention to
initiate download of the file?
If the later, you'll need to do the usual download code, and just point it
at the file.
Your specifying an HTML file though, so I assume you want the user to see
that page... So, the question is,
I've had the same requirement a couple of times. The way I've settled on
doing it, whether it's the best or not I don't know, is this...
I used client-side scripting to prompt the user whether they want to save
or not (just some simple dirty data checking, i.e., any time they press a
key I set a
I've MOSTLY fell on the side of the one Action per use case way of
thinking. There have been instances where I did the multiple functions in
a single Action, but generally not.
One production app I did here has something on the order of 400 Actions.
Kind of a lot I think :) I'm not sure if it m
That's a good point...
If you KNOW your application is NEVER going to be anything other than a
web-based application, and if you KNOW you won't need to re-use your
business logic (or expose it in any way outside the application), and if
your development team is not really separated (especially if
Thanks for defining POJO Dennis! I've seen that floating around lately
and wasn't sure what it meant. Glad it's not something new I'll have to
learn :)
(Leave it to the tech industry to invent an acronym for something that
doesn't need an acronym at all! :) )
--
Frank W. Zammetti
Founder and C
One thing to be careful of, a mistake I've seen made often, is a clean
separation of the business delegates and the Actions... When calling on
your delegates, be sure NOT to pass anything that is web-specific like
session or request objects. This will make changing business classes a
lot easier an
> If I understand your code correctly, you are loading all the bytes of
> the file (or BLOB) into memory at once, without good reason (a good
> reason might be if several objects were editing an XML document before
> it was to be served).
>
> I would use a variable (but small) buffer size. Then I w
I posted this a few days ago to the Struts dev list... I only got one
response, which I think either means (a) we're too busy to look at this
right now, or (b) this is stupid, go away. I'm OK with either answer, but
I thought maybe posting it here would be a good idea, especially if the
answer is
Erik's answer is what I would call the correct one... That being said, if
for some reason you don't want to use that approach, I don't think there's
anything specifically in Struts to do what you want anyway, but you might
want to have a look through the Commons BeanUtils packages. If such a
thing
I think your getting confused because when you set up a path to an Action,
it's a virtual path, but when it's a forward, it's a physical path, in
BOTH cases it's relative to the root of your webapp.
For instance... You may have an Action that you map to the path
"/my/action/is/the/best/Action.act"
e to fight myself to
NOT do what feels natural after so many years :)
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Fri, September 17, 2004 2:57 pm, Rick Reumann said:
> Frank W. Zammetti (MLists) wrote the following on 9/17/2004 2:54 PM
ogies
http://www.omnytex.com
On Fri, September 17, 2004 2:54 pm, Frank W. Zammetti (MLists) said:
> I personally use #3. In fact, all my projects have a pretty
> internally-standard packaging scheme (my own creation)...
>
> com.company.project
> |
> *---actionfo
I personally use #3. In fact, all my projects have a pretty
internally-standard packaging scheme (my own creation)...
com.company.project
|
*---actionforms
|
*---actions
|
*---business
|
*---config
|
*---daemonthreads
|
*---exceptions
|
*---listeners
|
*---plugins
|
*---webservi
28 matches
Mail list logo