: Re: AW: talking about paradigms
>
> Hello, Leon,
>
> There are pointers in Java. Every object is referenced by a pointer.
> Indeed, how else could an object be referenced? I am not sure why you
> cited Joshua Bloch's book on this. There is not, as Eddie said,
> pointer
Hi Jack,
I like you kind of "cashing out", but I think your diagram misses some points.
In fact the view-controller itself is a view on the application model, where
the business logic unit (which can be a component in a co-architecture i.e.
session-bean) is the appropriate controller. So a comp
gt; a very elegant solution to certain problems --- just like recursion
(which
> I
> try to use sparingly as well).
>
> Enough :-) I like power. Java has enough, and makes up for what it
> doesn't
> have by adding other cool functionality. In the end, it's the
> responsibi
> > No, but what about
> >
> > ?
> > (not sure about the syntax).
> whats the problem?
> MVC usually allows 'read-only access to model' for the view
> Also the question is, what you expose to the view.
> If you are afraid that somebody will misuse the library entries -
don't
> expose them.
> I
n be
misused, and he will.
Leon
>
> Mark
>
> On Thu, 11 Nov 2004 10:42:27 +0100, Rosenberg, Leon
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > since we started talking about paradigms... how does JSTL and especially
> > EL fit into MVC paradigm?
> &
Hi,
since we started talking about paradigms... how does JSTL and especially
EL fit into MVC paradigm?
Or, the better question, why does struts support EL nowadays, when it
breaks the paradigm?
Regards
Leon
If you want to use MVC (and so struts) the "proper" and "modern" way,
each of your action classes should exactly match one "use case".
If you share same use cases across different "modules" (what ever you call modules)
those actions would be automatically reusable.
Using _one_ action for a com
Send a message with more then 1024 bytes.
(resin does it)
> -Ursprüngliche Nachricht-
> Von: lixin chu [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 16. August 2004 16:22
> An: [EMAIL PROTECTED]
> Betreff: error code 404 not used in IE
>
> Hi,
> MS IE has default setting:
> Tools->Optio
Sorry, this mail was send by error :-)
> -Ursprüngliche Nachricht-
> Von: Rosenberg, Leon
> Gesendet: Dienstag, 10. August 2004 12:48
> An: 'Struts Users Mailing List'
> Betreff: AW: Scriptlet in html:img
>
> 10.0.33.231:80
>
> > -Ur
10.0.33.231:80
> -Ursprüngliche Nachricht-
> Von: Paul McCulloch [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 10. August 2004 11:19
> An: 'Struts Users Mailing List'
> Betreff: RE: Scriptlet in html:img
>
> You can use *either* literals or RT expressions to provide an attribute
> value
Hi,
A bit off-topic, but maybe you have had this too...
We have an application running with struts on tomcat 5 in an application
running with xslt on tomcat 3 in a frame.
The problem is, that explorer doesn't send the jsession cookie to the
embedded application (we tcpdumped this).
The
uot; evaluate to something like "foo.properties" (no other path
> info)
> and is that file located in WEB-INF/classes?
>
> Quoting "Rosenberg, Leon" <[EMAIL PROTECTED]>:
>
> > Thanx, but it doesn't work either.
> >
> > > -Ursprüngliche Nac
> ..
> String fileName = target.getConfigurationName() + ".properties";
> ClassLoader cl = Thread.currentThread().getContextClassLoader();
> InputStream in = cl.getResourceAsStream(fileName);
> Properties props = new Properties();
> props.load(in);
&g
one of the pathes according to
tomcat5 class loader faq). (Sorry, I wrote shared/classes in my first mail, it was
common/classes, but it doesn't really matter, because both aren't the right ones :-)
Regards
Leon
>
> On Wed, 21 Jul 2004 15:45:01 +0200, Rosenberg, Leon
> <[
Hi,
it's a bit OT but maybe some of you had a similar problem shortly and
can help.
We have a configuration component which configures other components of
the application out of property files. The property files lies in the
'classes' directory of the application. Everything works fine unt
Take a look at the pager taglib.
http://jsptags.com/tags/navigation/pager/pager-taglib-2.0.html
regards
Leon
> -Ursprüngliche Nachricht-
> Von: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 14. Juni 2004 11:23
> An: '[EMAIL PROTECTED]'
> Betreff: Caching data from results
You can't split the lib in web-inf, but you can hold the libs in separate folders in
your project and have ant to copy it into web-inf. So if you update to a newer
version, just update the project and ask ant to build (deploy) :-)
Something like this:
<2cents>
If you plan to use model 1 -> use jstl
If you plan to use model 2 -> use struts
:-)
Leon
> -Ursprüngliche Nachricht-
> Von: Andrea M [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 2. Juni 2004 11:55
> An: 'Struts Users Mailing List'
> Betreff: R: Struts Tag Library
>
> I agr
I don't know anything about jspf's performance (yet :-)) but we are measuring the
performance of jsps, and they take about 0.x ms for generation (incl. tiles) on a good
container (resin, tomcat5) , so I don't think you should have a headache there.
> -Ursprüngliche Nachricht-
> Von: Mar
Errm, I think you are misunderstanding a thing, html:file allows the user to select a
file on _his_ computer, you can't search _his_ computer from the server.
Regards
Leon
> -Ursprüngliche Nachricht-
> Von: praveen kulkarni [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 24. Mai 2004 06:54
That depends. If you want to use the mvc from struts then use struts taglibs. If you
build a 3 tier use struts taglibs. If you want manageable jsps use struts taglibs.
Otherwise use jstl or struts-el.
:-)
Leon
> -Ursprüngliche Nachricht-
> Von: Linus Nikander [mailto:[EMAIL PROTECTED]
>
This is not a struts question, but, put your file in the context of your web-app ->
.../webserver/webapps/your-web/audioFiles/sample.wav and reference it in the jsp as
/audioFiles/sample.wav
> -Ursprüngliche Nachricht-
> Von: ganesh g [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 12.
Set following in your jsp:
This will force explorer to reload the page each time. And don't set the "check the
page" setting to never.
> -Ursprüngliche Nachricht-
> Von: Claudia Woestheinrich [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 10. Mai 2004 10:25
> An: [EMAIL PROTECTED]
> B
23 matches
Mail list logo