Re: talking about paradigms, or why there are no pointer in java

2004-11-16 Thread Rosenberg, Leon
: 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

AW: talking about paradigms

2004-11-16 Thread Rosenberg, Leon
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

AW: talking about paradigms

2004-11-16 Thread Rosenberg, Leon
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

AW: talking about paradigms

2004-11-15 Thread Rosenberg, Leon
> > 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

AW: talking about paradigms

2004-11-11 Thread Rosenberg, Leon
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? > &

talking about paradigms

2004-11-11 Thread Rosenberg, Leon
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

AW: Action Class Reusable

2004-09-01 Thread Rosenberg, 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

AW: error code 404 not used in IE

2004-08-16 Thread Rosenberg, Leon
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

AW: Scriptlet in html:img

2004-08-10 Thread Rosenberg, Leon
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

AW: Scriptlet in html:img

2004-08-10 Thread Rosenberg, Leon
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

OT: IE loosing session / cookies

2004-08-05 Thread Rosenberg, Leon
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

AW: AW: AW: OT: Problems with classpath under tomcat 5

2004-07-21 Thread Rosenberg, Leon
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

AW: AW: OT: Problems with classpath under tomcat 5

2004-07-21 Thread Rosenberg, Leon
> .. > String fileName = target.getConfigurationName() + ".properties"; > ClassLoader cl = Thread.currentThread().getContextClassLoader(); > InputStream in = cl.getResourceAsStream(fileName); > Properties props = new Properties(); > props.load(in); &g

AW: OT: Problems with classpath under tomcat 5

2004-07-21 Thread Rosenberg, Leon
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 > <[

OT: Problems with classpath under tomcat 5

2004-07-21 Thread 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

AW: Caching data from resultset

2004-06-14 Thread Rosenberg, Leon
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

AW: Semi-OT: Organizing WEB-INF/lib dir...

2004-06-03 Thread Rosenberg, Leon
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:

AW: Struts Tag Library

2004-06-02 Thread Rosenberg, Leon
<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

AW: Tiles performance - jsp vs jspf

2004-05-25 Thread Rosenberg, Leon
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

AW: Selecting a folder or directory

2004-05-24 Thread Rosenberg, Leon
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

AW: Struts Taglib recommendations

2004-05-18 Thread Rosenberg, Leon
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] >

AW: convert locamachine serverpath to universal clientpath he can download it and play very very urgent please

2004-05-12 Thread Rosenberg, Leon
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.

AW: Problem with

2004-05-10 Thread Rosenberg, Leon
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