Re: [OT] Re: Best Tool to develop html pages

2008-02-05 Thread Leon Rosenberg
The best tool to develop a html page is clearly a web designer paired with a html producer. Leon. On Feb 5, 2008 1:39 PM, Dave Newton [EMAIL PROTECTED] wrote: --- Al Sutton [EMAIL PROTECTED] wrote: My vote is for vi I don't even know you, man. d. Al. - Original Message -

[OT] Jobs in Kiev, Ukraine available

2007-12-13 Thread Leon Rosenberg
Hi, sorry for off topic. I work as consulter for a company which has some positions to fill in Kiev, Ukraine. Basically they are searching for Java Developers WEB/Backend, and good HTML-ers/ JSScripters. Everyone interested please email me your CV and loan expectations I will forward it to the

Re: [OT] Write a thread to check database in web application

2007-11-05 Thread Leon Rosenberg
2 cents servlet context sounds good. Start from ServletContextListener upon server start. /2 cents regards Leon On 11/5/07, Ashish Kulkarni [EMAIL PROTECTED] wrote: Hi I have to write a thread in web application which will check some values in database, and then perform some function

Re: [OT] Write a thread to check database in web application

2007-11-05 Thread Leon Rosenberg
On 11/5/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Antonio, Antonio Petrelli wrote: Though I think that Quartz is a great product, it is discouraged by the Java EE specifications to create threads in a webapp. Hey, every time someone

Re: Execute Action on the server

2007-09-21 Thread Leon Rosenberg
there is a mail taglib but a mail is sent from the jsp then. or you grab the reply from the server via httpclient, put it in a multipart mail message and send. Leon On 9/21/07, Oguz Kologlu [EMAIL PROTECTED] wrote: Not really suitable for what I'm after since I need the result of the rendered

Re: MVC2 question

2007-09-03 Thread Leon Rosenberg
1) there is no such thing as MVC2. You are probably mixing things up: Model2 for JSP Development and MVC Pattern. 2) If you are talking about struts 2, there is a major difference between a servlet and an action, since the action incorporates both, request data and logic, which servlet doesnt.

Re: MVC2 question

2007-09-03 Thread Leon Rosenberg
On 9/3/07, Alexandre Seabra [EMAIL PROTECTED] wrote: Leon, Frist of all, I wanna say hi to the community. I just sign in the list, and hope we have a good time! welcome aboard. I don't remember reading a book about MVC2, but informaly, with friends at work, this subject comes up some

Re: logic:iterate - Question

2007-08-09 Thread Leon Rosenberg
you seems to have problems with logging configuration. apparently your weblogic server isn't properly configured which log to use with commons-logging adaptor. On 8/9/07, Mad Shop [EMAIL PROTECTED] wrote: I have following scenario. I have getExSummary() method in exForm which returns a

Re: logic:greaterThan tag - issue

2007-08-09 Thread Leon Rosenberg
have you tried to use double instead? Leon On 8/9/07, Mad Shop [EMAIL PROTECTED] wrote: Following is my actual code nested:notEmpty property=completeItems nested:iterate property=completeItems id=complete indexId=completeIdx nested:write property=paymentAmount /

Re: logic:greaterThan tag - issue

2007-08-09 Thread Leon Rosenberg
the tld files under my WEB-INF directory are not correct. Can you please let me know the compatable nested tld files for struts1.2.7 version. Regards Leon Rosenberg [EMAIL PROTECTED] wrote: have you tried to use double instead? Leon On 8/9/07, Mad Shop wrote: Following is my actual

Re: Performance Vows , Requests get lost ..

2007-07-25 Thread Leon Rosenberg
how about measuring the number of request, and in which actions the requests spend how much time, and in which layers behind the actions, and how many parallel and and and ? I mean, you are guessing around instead of make a performance analysis. regards Leon On 7/25/07, jasdeep [EMAIL

Re: Performance Vows , Requests get lost ..

2007-07-25 Thread Leon Rosenberg
On 7/25/07, Aram Mkhitaryan [EMAIL PROTECTED] wrote: I'm not guessing, I'm telling my experience. No one will make so good performance analysis for you that you are satisfied. :-) meanwhile, the main bottleneck is in view part of the Struts. do you have any resources behind the actions?

Re: Open Source Struts Dating Application

2007-07-18 Thread Leon Rosenberg
run it by yourself and make a lot of money like the guy who owns plentyoffish.com On 7/18/07, Strut Date [EMAIL PROTECTED] wrote: Hi I have been writing a Struts based dating application for the last 2 years, and would like to explore the possibility of contributing this to the Apache SW

Re: slowing down action execution time

2007-07-17 Thread Leon Rosenberg
actually you named it. Thread.sleep(). only for debugging purposes of course :-) regards leon On 7/17/07, Ing. Andrea Vettori [EMAIL PROTECTED] wrote: Hi what's the best method to slow an action execution time ? Something like Thread.sleep(...). Thanks ! -- Ing. Andrea Vettori Consulente

Re: [OT] Re: slowing down action execution time [Friday]

2007-07-17 Thread Leon Rosenberg
On 7/17/07, Antonio Petrelli [EMAIL PROTECTED] wrote: 2007/7/17, Wesley Wannemacher [EMAIL PROTECTED]: I've found the most effective way to slow down the execution time is ask an intern to optimize it... Hey it's not friday, you broke the rule! ;-) yeah, but it was funny :-) Antonio

Re: slowing down action execution time

2007-07-17 Thread Leon Rosenberg
On 7/17/07, Antonio Petrelli [EMAIL PROTECTED] wrote: 2007/7/17, Ing. Andrea Vettori [EMAIL PROTECTED]: I don't remember where but I think I read somewhere that's not possibile to call Thread methods inside a servlet container. Anyone can confirm this ? AFAIK you cannot create any thread

Re: slowing down action execution time

2007-07-17 Thread Leon Rosenberg
anything useful in your webapp ;-) regards Leon On 7/17/07, Antonio Petrelli [EMAIL PROTECTED] wrote: 2007/7/17, Leon Rosenberg [EMAIL PROTECTED]: you can create threads in tomcat. It's not recommended unless you know what you are doing, but you can. It seems that you are right

Re: slowing down action execution time

2007-07-17 Thread Leon Rosenberg
We actually didnt provide you any solution, but its pretty hard, since you haven't provided any details :-) There are many possibilities, IP-Throttle, session-based throttle or a mechanism which manages the overall load on the server. Without knowing what you are doing, providing even a hint is

Re: Struts 2 performance

2007-07-11 Thread Leon Rosenberg
On 7/11/07, Aram Mkhitaryan [EMAIL PROTECTED] wrote: The problem is not just in dojo's js files and stuff like that. Struts2 is too slow, 7-8x times than struts1 Any reproduceable measurements which can support this statement? Leon Best, Aram Aram Mkhitaryan

Re: Struts 2 performance

2007-07-11 Thread Leon Rosenberg
hmm, if someone would specify a valid test-case or test-app, i'd volunteer to implement it in both s1 and s2 and measure the points where the performance is lost exactly. /2cents Leon On 7/11/07, Musachy Barroso [EMAIL PROTECTED] wrote: I think so far a couple of people have tried to decouple

Re: Somewhat OT: Forward to JSP in JAR file

2007-04-25 Thread Leon Rosenberg
another cheap workaround i'm currently using, is to unpack the jsps from jars in the ant script which builds the war file: unjar src=${packlib}/moskito-webui-jsps.jar dest=${output.webapp}/ in this case the jar file was specially prepared previously, but you can also tell unjar task to unjar

Re: [s2] s:url escaping '' between params

2007-04-12 Thread Leon Rosenberg
I'm not sure that I understand you correctly, but has to be encoded to amp; in html. A html link http://bla?a=bc=d is invalid, the proper link would be http://bla?a=bamp;c=d regards Leon On 4/12/07, Manu Mahajan [EMAIL PROTECTED] wrote: Hi I'm facing a very annoying problem with s:url. For

Re: Modeling Struts with UML

2007-04-10 Thread Leon Rosenberg
it doesn't depend on struts or not struts, but on what you want to model and how deep you want to go. I'd say use-cases and activity-diagrams for the first level. class diagrams and collaborations for the seconds level (which can be less or more detailed) sequence if you like sequences.

Re: Somewhat OT: Forward to JSP in JAR file

2007-04-10 Thread Leon Rosenberg
resin does, tomcat doesnt. :-) Leon On 4/10/07, Musachy Barroso [EMAIL PROTECTED] wrote: I'm working on an Struts plugin to try to work around (more like hack around) that and other fun stuff :) musachy On 4/10/07, Laurie Harper [EMAIL PROTECTED] wrote: Frank W. Zammetti wrote: Quick

Re: [s2] [Friday] [OT] [BBQ] ant build file eclipse webtools

2007-04-06 Thread Leon Rosenberg
https://moskito.dev.java.net/source/browse/*checkout*/moskito/moskito-demo/build.xml not the best probably but it works. leon On 4/6/07, Wesley Wannemacher [EMAIL PROTECTED] wrote: Hello, I'm feeling a bit lazy right now and was wondering if anyone here has an example that can help me out.

Re: Book recommendations for performance tuning

2007-03-22 Thread Leon Rosenberg
Christopher, I think you should just start by measuring different layers of your application and different pathes the use cases go, and then start to think how to improve things that are slow. Blind performance tuning without knowing where the problem lies is the last thing that will help you.

Re: [BEER] Ruby Roundup (was Is there a mailing list for S2 only?)

2007-03-20 Thread Leon Rosenberg
I hope you understand that your argument beats your own argumentation... I mean RoR... hmm integrated full stack scripting language which lacks everything a good language needs... sounds familiar... VBA? PHP? I thought we were moving from scripting and hacking into software engineering...

Re: [BEER] Ruby Roundup (was Is there a mailing list for S2 only?)

2007-03-20 Thread Leon Rosenberg
Newton [EMAIL PROTECTED] wrote: --- Leon Rosenberg wrote: [...] integrated full stack scripting language which lacks everything a good language needs... Hey, maybe we should have yet another what is a scripting language or, better yet, static vs. dynamic vs. strong vs. weak typing argument

Re: [BEER] Ruby Roundup (was Is there a mailing list for S2 only?)

2007-03-19 Thread Leon Rosenberg
On 3/19/07, Ted Husted [EMAIL PROTECTED] wrote: I know many of us think of JavaScript as a tinkertoy language, but it's not. There's nothing that people do in Java or Ruby or Python that we couldn't do just as easily in JavaScript. CrockFord's video training clips are a real eye-opener How

Re: Cross site scripting issue

2007-03-16 Thread Leon Rosenberg
On 3/16/07, Dale Newfield [EMAIL PROTECTED] wrote: There are two discussions here that are getting convoluted: WHEN to clean and HOW to clean. I still have yet to find a good comprehensive way to do the latter (more below), but right here I'm responding to the former. Christopher Schultz

Re: Cross site scripting issue

2007-03-16 Thread Leon Rosenberg
Hi Dave, On 3/16/07, Dave Newton [EMAIL PROTECTED] wrote: --- Leon Rosenberg wrote: And even with an rdbms, have you ever tried to update like 1.000.000 rows of an in production db under traffic? Stuff like that happens all the time, although I tend to do such things at low-traffic times

Re: Cross site scripting issue

2007-03-15 Thread Leon Rosenberg
On 3/15/07, Levan Dvalishvili [EMAIL PROTECTED] wrote: That looks interesting, can I add that to my toolking? One question thought, it is regexp pattern right? So I assume it's evaluated for every request that comes into the system, is not it kind of performance load on the system? But I guess

Re: Cross site scripting issue

2007-03-14 Thread Leon Rosenberg
Jason Britain (author of Tomcat, the definitive guide) has a ready-to-run filter/valve solution for that. You could talk to him on the #tomcat channel on irc. Besides, best XSS prevention is imo not filtering the input, but the output. if you write everything out with bean:write ... filter=true

Re: Working with other technologies

2007-03-02 Thread Leon Rosenberg
the answer is: goto www.google.com type in java framework you got your answer... with 90% accuracy... regards Leon On 3/2/07, puchacz [EMAIL PROTECTED] wrote: Hi I have a question. If anyone could list me all frameworks that I can intagrate with Struts? If there are any ?? Thanx -- View

Re: How to change from .do to .whatever in struts 1.2.9 ?

2007-02-22 Thread Leon Rosenberg
just change the mapping in your web.xml? regards Leon On 2/22/07, Bolutiwi, Olu [EMAIL PROTECTED] wrote: Hi all, How can I change the default extension provided in struts 1.2.9 from .do to .go or .whatever ? Cheers This e-mail (and any attachment) is intended only for the attention of the

Re: getting Session from SessionId

2007-02-10 Thread Leon Rosenberg
On 2/10/07, Mon Cab [EMAIL PROTECTED] wrote: I think its going to have to be solution 1. All Im really interested in is user data associated with a session, so I'll probably map userId to sessionID in the DB and then pull user info when the service sends me a session id. I like the idea of

Re: volatile vs ThreadLocal

2007-02-09 Thread Leon Rosenberg
Sorry Martin, but using volatile will not make your code any thread-safer. Volatile (if implemented at all by your VM) will ensure that all threads sees the central copy instead of their own copy. It won't prevent you from concurrent modification. Example: public MyThread{ private boolean

Re: getCookies at beginning of HttpSession

2007-01-11 Thread Leon Rosenberg
It may sound weird, but will do the job perfectly: At first request you read the cookies and put a flag into session, that you already read them: Action (best in a base action of course): execute(HttpServlet req, HttpSession session = req.getSession(); if

Re: Newbie Lost in the Apache Jungle

2007-01-10 Thread Leon Rosenberg
are you talking about RAD a in Rapid application development (RAD) ? If yes, than it doesn't depend on the framework you use. It's the definition of development process, not on which framework you intend to run. regards Leon On 1/10/07, Phil_M [EMAIL PROTECTED] wrote: Nicolas: This is a

Re: Newbie Lost in the Apache Jungle

2007-01-10 Thread Leon Rosenberg
, and lots of my customer base just doesn't have that kind of cash to throw around. Plus, if they're going to spend that kind of money, I'd rather they give it to me for services rather than to BMC for product. :) Thanks, --Phil Leon Rosenberg-3 wrote: are you talking about RAD a in Rapid application

Re: Session Object Storage Capacity.

2007-01-08 Thread Leon Rosenberg
On 1/8/07, Antonio Petrelli [EMAIL PROTECTED] wrote: Leon Rosenberg ha scritto: it solely depends on how much heap you give your webcontainer divided by the number of users you have/expect minus the memory the remaining application requires. size = (HEAP - APP_MEMORY)/users. Is it really so

Re: Session Object Storage Capacity.

2007-01-07 Thread Leon Rosenberg
it solely depends on how much heap you give your webcontainer divided by the number of users you have/expect minus the memory the remaining application requires. regards Leon On 1/8/07, Balwinder [EMAIL PROTECTED] wrote: Hi Everyone!!! While working with struts application, i cmae across a

Re: additional scope of a variable

2007-01-05 Thread Leon Rosenberg
/07, Antonio Petrelli [EMAIL PROTECTED] wrote: Leon Rosenberg ha scritto: If you want to start a project which performs a better (or more powerful) attribute management than struts does, feel free to do this on java.net or sourceforge (I'd even conribute some code :-)) but don't expect

Re: additional scope of a variable

2007-01-05 Thread Leon Rosenberg
, since such declarations apply only to the immediately declaring class--serialVersionUID fields are not useful as inherited members. Leon Rosenberg wrote: Hi Antonio, looking at your example app I have a rather side-question: Why do you add serialUid to your servlets? public class

Re: Data security

2007-01-04 Thread Leon Rosenberg
Just to clarify things, do you mean another user sending your sessionId stored in your cookie to the shop? leon On 1/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, The question I have is not purely specific to Struts, but I expect that it's a common problem for Struts users. Suppose you

Re: Data security

2007-01-04 Thread Leon Rosenberg
is an order of another user), and without a check the action would show me this order. What's the best way to avoid this situation? Zitat von Leon Rosenberg [EMAIL PROTECTED]: Just to clarify things, do you mean another user sending your sessionId stored in your cookie to the shop? leon On 1/4

Re: Performance issue

2007-01-04 Thread Leon Rosenberg
This only happen when the method validate of the actionErrors returns an error, why the request is lost or why the jsp don´t found the object? How can I solve this problem, thanks!!! Hope you can answer Leon 2007/1/2, Leon Rosenberg [EMAIL PROTECTED]: u welcome :-) L On 1/2/07, Daniel Chacón

Re: Performance issue

2007-01-04 Thread Leon Rosenberg
there are 4 scopes or visibilities/lifecycles of attributes in the servlet/jsp world. page : the jsp page, same as local variable in a class. request: the duration of the request over multiple pages session: the duration of the user session, over multiple requests application scope: the whole

Re: additional scope of a variable

2007-01-04 Thread Leon Rosenberg
You are opening a real can of worms :-) The reason struts (and any else framework out there) support the 4 scopes is that those are the four defined by the servlet spec, and thus available in any container. Of course each application may and many will have some additional requirements. After a

Re: Performance issue

2007-01-02 Thread Leon Rosenberg
The easiest way is to initialize the data once in the init(ServletConfig) method of the servlet and put them into the application scope (servletcontext). The struts tags will be able to access the data directly, so you don't need to change a bit. Of course the data structures theirself must be

Re: Max length of String - report in a single string for display

2007-01-02 Thread Leon Rosenberg
What about retrieving and storing byte chunks? This way you don't have to copy the data and its easier to write out the chunks one-by-one for the outputstream too, since writing out a huge string is kindof messy for the performance. However it doesn't matter for the vm whether you store the data

Re: Performance issue

2007-01-02 Thread Leon Rosenberg
super.preProcess. The advantage of this method is, that actions at the end of the hierarchy have a chance to overwrite the data by the base action, which is quite useful for internationalization and such. Same rules for updates as for servletContext apply. regards Leon 2007/1/2, Leon Rosenberg

Re: Performance issue

2007-01-02 Thread Leon Rosenberg
u welcome :-) L On 1/2/07, Daniel Chacón Sánchez [EMAIL PROTECTED] wrote: Thanks Leon!!!, I got it!!! 2007/1/2, Leon Rosenberg [EMAIL PROTECTED]: On 1/2/07, Daniel Chacón Sánchez [EMAIL PROTECTED] wrote: Thanks Leon, about using the servlet context, I read that on a distributed

Re: Max length of String - report in a single string for display

2007-01-02 Thread Leon Rosenberg
* -- *From:* Leon Rosenberg [mailto:[EMAIL PROTECTED] *Sent:* Wed 1/3/2007 12:34 AM *To:* Struts Users Mailing List *Subject:* Re: Max length of String - report in a single string for display What about retrieving and storing byte chunks? This way you don't have to copy the data and its

Re: How to reduce redundant form code in JSPs?

2007-01-02 Thread Leon Rosenberg
scriptlets aren't we considering scriptlets evil? :-) Leon On 1/2/07, Martin Gainty [EMAIL PROTECTED] wrote: conceptually you could pull bean:message key and input type when previously populating Bean properties using the example of LabelValueBean %@ page import=java.util.*%

Re: [ANN] Java Web Parts 1.0 (GA) is now available

2007-01-01 Thread Leon Rosenberg
congrats for the 1.0 Frank! Leon On 1/1/07, Frank W. Zammetti [EMAIL PROTECTED] wrote: The Java Web Parts (JWP) team is proud to announce that new year's day sees our first GA release, 1.0, unleashed upon the world! For those of you new to JWP, it is a project that provides small, reusable and

[OT] Will you install VISTA?

2006-12-30 Thread Leon Rosenberg
Hi, I don't want to start a flame war on microsoft or something, but I stubbled on this article and was quite shocked what vista really is... Maybe you will be shocked as well, maybe you don't care, but it's worth reading anyway :-) http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt

Re: OFF RECORD

2006-12-21 Thread Leon Rosenberg
On 12/21/06, Larry Meadors [EMAIL PROTECTED] wrote: In never ceases to amaze me how people will go through amazingly convoluted complexity in the name of keeping things simple. +1 Leon - To unsubscribe, e-mail: [EMAIL

Re: [offtopic] periodic cleanup task scheduling for webapp?

2006-12-04 Thread Leon Rosenberg
On 12/4/06, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick, J. Patrick Bedell wrote: Hello, Sorry for the offtopic question! How might I configure my servlet container or webapp web.xml so that a periodic application performs a

Re: Struts, running email process in separate thread

2006-11-21 Thread Leon Rosenberg
if you are on jdk 1.5 you may want to check the Executor interface. Its basically the same pattern, but removes complexity from your code. http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/Executor.html regards Leon On 11/21/06, Levan Dvalishvili [EMAIL PROTECTED] wrote: Hi ! this

Re: Drag-and-drop struts-aware IDE?

2006-10-25 Thread Leon Rosenberg
evils and all that. Anyway, the Exadel Studio mentioned by Juan looks promising. It seems to allow drag-and-drop layout while preserving the basic coding model. bruno -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Monday, October 23, 2006 6:43 AM To: Struts

Re: Drag-and-drop struts-aware IDE?

2006-10-23 Thread Leon Rosenberg
On 10/21/06, Li [EMAIL PROTECTED] wrote: A drag-and-drop struts aware IDE ... I believed that there are some existed My team use text editor and some page layout design tool to develop struts and webwork webapp, quite fast and the most important thing is they will understand how a web ui

Re: FRIDAY #2 non-MVC pages

2006-10-06 Thread Leon Rosenberg
you probably want the http://struts.apache.org/1.x/struts-extras/apidocs/org/apache/struts/actions/ForwardAction.html :-) Leon On 10/6/06, Wesley Wannemacher [EMAIL PROTECTED] wrote: Hello, This is my next question... When building a struts application, is it a good idea to base everything

Re: Handling breadcrumbs with Struts

2006-09-20 Thread Leon Rosenberg
I don't know about a preferred way, but as I had to implement the breadcrumbs, I had too choices, do it in the base action (which fits perfectly for this kind of processing) or, if you don't have a baseaction in your action hierarchy, use a servlet filter. regards Leon On 9/20/06, Darren Hall

Re: Model 3?

2006-09-06 Thread Leon Rosenberg
One note to what Martin and Antonio said. If you can live with what browsers make out of your xslt/xml then go for it. Having the rendering on your server is a huge performance break. But if you can let the browser do the rendering, than its a very cool alternative. regards Leon On 9/6/06,

Re: [OT] Re: How to turn off logging info on struts startup?

2006-09-01 Thread Leon Rosenberg
log4j.rootLogger=ERROR, cons or log4j.logger.org.apache.struts=ERROR, myAppender On 9/1/06, Peter Neu [EMAIL PROTECTED] wrote: That's it: log4j.rootLogger=INFO, cons log4j.logger.de.ktbl=, myAppender log4j.appender.cons=org.apache.log4j.ConsoleAppender

Re: scriptlet not evaluated inside tag

2006-08-29 Thread Leon Rosenberg
hi, try: onclick=%=this.value='+labelPrinterButton+'%' regards Leon On 8/29/06, Laurent Duparchy [EMAIL PROTECTED] wrote: Hi, I'm forced to use a scriptlet to insert a localized label into a tag. The code is this ; (Note : this code is changing a button display by an image, defined in the

Re: Best way to secure struts-webapps?

2006-08-29 Thread Leon Rosenberg
The options number 2 and 3 (filter and action) sound both very hale to me. If you just want to separate between logged in and not logged in users i would go for option 2. If you need fine-grained separation go for baseaction and make not only login check but also for action-dependant permissions.

Re: [OT] Remoting question

2006-08-29 Thread Leon Rosenberg
Hi, actually its the problem of the proper architectural design. If you assume that your client works with objects internally used in the business layer like in your parent-child example, you are screwed regardless of hidden updates. (Btw with CORBA your use-case won't happen, if you design

Re: current framework choices

2006-08-28 Thread Leon Rosenberg
I think first of all you should share with us, what kind of web-application you intend to build. Depending on this a discussion of frameworks make sense. regards Leon On 8/28/06, Dan Cancro [EMAIL PROTECTED] wrote: Hi group, I haven't done web app development in a while and was wondering

Re: Action will be processed two times

2006-08-23 Thread Leon Rosenberg
lemme guess, internet explorer? Leon On 8/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I use struts for a long time and have a lot of experience with struts I think (or better hope) Now I have the problem that after I submit a form the action of the form will be processed two

Re: about overriding the excute method

2006-08-23 Thread Leon Rosenberg
the overriding action's method will be called, what do you expect? leon On 8/23/06, Gomathi [EMAIL PROTECTED] wrote: hai, what will happen when the execute () of action class is overrided by the subclass called dispatch action?. Regards gomes

Re: Struts encoding problem ?

2006-08-16 Thread Leon Rosenberg
are you using iso-8859-1 (latin1) ? cause it doesn't contain euro, you should switch to iso-8859-15 or utf-8 regards leon On 8/14/06, Mark Breitner [EMAIL PROTECTED] wrote: Hi, I´ve got the problem the I want to send the € (Euro) character via struts and whenever this character appears in a

Re: Congratulations Frank

2006-08-15 Thread Leon Rosenberg
cool stuff! *congrats* Leon On 8/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi I wondering out about yesterday in a London bookstore and to my surprise I saw a regular Struts User's name on a cover of an Apress book!

Re: [OT] A question on garbage collecting

2006-08-02 Thread Leon Rosenberg
a myth!!! My best friends girlfriend works for storagetek which now belongs to sun, and even they don't get support. regards Leon :-) Tamas On 8/2/06, Leon Rosenberg [EMAIL PROTECTED] wrote: Hi, I have a question regarding a weird behaviour of the garbage collector, maybe someone here

[OT] A question on garbage collecting

2006-08-01 Thread Leon Rosenberg
Hi, I have a question regarding a weird behaviour of the garbage collector, maybe someone here, has more experience with it, and can answer the question. Otherwise sorry for the OT. We have a cache for caching 1000.000 user objects along with many (some hundred thousand) not existing objects

Re: Performance issues Struts+Tiles

2006-07-21 Thread Leon Rosenberg
sorry, but this is normal behaviour. tiles:insert basically does a jsp:include, and a jsp:include isn't cheap. What exact are your times? Leon On 7/21/06, Antonio Petrelli [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] ha scritto: Hi, I have a rendering issue with Struts+Tiles (1.2.8) I run

Re: Java Source Compare utility

2006-07-19 Thread Leon Rosenberg
what about old plain diff? or fc in windows world. and of course each ide brings one. leon On 7/19/06, Romuald this i forgot [EMAIL PROTECTED] wrote: u think of CVS may be ? we use this one for a java project : http://www.tortoisecvs.org/ On 7/19/06, Antonio Petrelli [EMAIL PROTECTED]

Re: interface for constants

2006-07-18 Thread Leon Rosenberg
it is a good practice to have a constants interface, but its a really bad practice to perform hidden data accesses for constant initialization. In your case a UtilityClass (static methods) with a controlled initialization would be much better. if ObjectDAO.get(APPLICATION) fails the results are

Re: Performance Tests on Action Level

2006-07-11 Thread Leon Rosenberg
http://moskito.anotheria.net is probably what you want. try http://moskito.anotheria.net/moskitodemo/mui/mskShowAllProducers The project is (yet) rather bad documented (working on it) so ask me directly if you have any questions :-) regards Leon On 7/11/06, Julian Tillmann [EMAIL PROTECTED]

Re: Re: Performance Tests on Action Level

2006-07-11 Thread Leon Rosenberg
possibilities. regards Leon Original-Nachricht Datum: Tue, 11 Jul 2006 13:21:59 +0200 Von: Leon Rosenberg [EMAIL PROTECTED] An: Struts Users Mailing List user@struts.apache.org Betreff: Re: Performance Tests on Action Level http://moskito.anotheria.net is probably what you want

Re: Struts forwarding to jsp Problem, Losing path to image/css/scripts resources

2006-07-09 Thread Leon Rosenberg
If the browser requests http://server/appname/login, than ../images/foo.gif will point to http://server/images/foo.gif instead of your desired http://server/appname/images/foo.gif. To solve this simply change the link to the image from ../images/foo.gif into images/foo.gif regards leon On

Re: Struts forwarding to jsp Problem, Losing path to image/css/scripts resources

2006-07-09 Thread Leon Rosenberg
is to control the path via property, like: img src=bean:message key=image.path arg0=foo.gif/... and in your application properties: image.path=images/{0} Regards Leon On 7/9/06, Leon Rosenberg [EMAIL PROTECTED] wrote: If the browser requests http://server/appname/login, than ../images/foo.gif

Re: Operating System identification

2006-07-08 Thread Leon Rosenberg
try: if (System.getProperty(os.name).equals(Linux)){ leon On 7/8/06, Raghuveer [EMAIL PROTECTED] wrote: How to identify Operating System of my Application server. I have property file in my web application for Windows and Linus. I need to identify th Operating System and read specific

Re: Anti-piracy software

2006-07-03 Thread Leon Rosenberg
if you are developing a commercial struts application, than best prevention would be not to publish your source code. leon On 7/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, I would like to know if any anti-piracy tools available opensource that can prevent illigal use of web

Re: Ejb

2006-06-29 Thread Leon Rosenberg
On 6/29/06, Abhimanyu Koul [EMAIL PROTECTED] wrote: hi! Why do we use ejbs in our application particularly entity and sessions. can't we write java classes to do the same and use java beans as data carriers. what are the true benefits of using ejbs with struts. why do you ask us? It's your

Re: java.lang.OutOfMemoryError when building in Netbeans

2006-06-23 Thread Leon Rosenberg
a) How this question is struts-related? b) Give it more memory (-xmx -xms switches) leon On 6/23/06, A. Lotfi [EMAIL PROTECTED] wrote: Hi, I am trying to build a big project using Netbeans5, but I can't it always giving me : java.lang.OutOfMemoryError Could you please help. Thank you.

Re: Communicate between two struts apps

2006-06-23 Thread Leon Rosenberg
On 6/23/06, Madhav Bhargava [EMAIL PROTECTED] wrote: From your original mail the entire concept of having 2 war files bundled in one EAR file is a bit strange. You can totally avoid this by using different struts-config files and SwitchActions in struts. The two different teams can have their

Re: Communicate between two struts apps

2006-06-23 Thread Leon Rosenberg
release processes, will you still go ahead with the same approach. On 6/24/06, Leon Rosenberg [EMAIL PROTECTED] wrote: On 6/23/06, Madhav Bhargava [EMAIL PROTECTED] wrote: From your original mail the entire concept of having 2 war files bundled in one EAR file is a bit strange. You can totally

Re: Communicate between two struts apps

2006-06-22 Thread Leon Rosenberg
there are about one trillion technologies to share data between two java applications, most popular are probably RMI and CORBA. In your case I would call the second application via CORBA and register a user obtaining an unique code, than inlude this code into the link to the second webapp which

Re: [FRIDAY] No mercy

2006-06-16 Thread Leon Rosenberg
On 6/16/06, Antonio Petrelli [EMAIL PROTECTED] wrote: Hello everybody Tomorrow there will be the soccer match Italy vs U.S.A. I am sorry for all American friends but Italians will have no mercy for you :-P . Marcello Lippi and his team will show what playing real soccer means. VAI

proper web.xml version for taglib specification

2006-06-16 Thread Leon Rosenberg
Hi, I'm trying to change the hard-wired references to the struts-taglibs in the jsps to the maped taglibs: in the jsp: %@ page language=java contentType=text/html;charset=iso-8859-15 session=true %%@ taglib uri=/tags/struts-bean.tld prefix=bean %%@ taglib uri=/tags/struts-logic.tld

Re: proper web.xml version for taglib specification [SOLVED]

2006-06-16 Thread Leon Rosenberg
sorry, stupid stupid me: %@ taglib uri=/tags/struts-bean.tld prefix=bean % should have been %@ taglib uri=/tags/struts-bean prefix=bean % :-) Leon On 6/16/06, Leon Rosenberg [EMAIL PROTECTED] wrote: Hi, I'm trying to change the hard-wired references to the struts-taglibs in the jsps

Re: [FRIDAY] No mercy

2006-06-16 Thread Leon Rosenberg
football (and which is played more by hand than foot), doesn't mean that we have to rename ours, do we? ;-) Leon Frank -Original Message- From: Leon Rosenberg [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: 6/16/06 3:31 AM Subject: Re: [FRIDAY] No mercy On 6

Re: Struts and RMI

2006-06-15 Thread Leon Rosenberg
Hi, sounds pretty much like our architecture, except we are using CORBA instead of RMI (corba is faster). Since RMI is pretty tied to java I would strongly encourage you to write a java-file generator, which generates a facade on top of the rmi interfaces, hiding error handling and

Re: what on earth is a session

2006-06-15 Thread Leon Rosenberg
well it depends a lot on your application. in a specific case concurrent sessions are greater than concurrent users, but if you can drive your webapp stateless, you could have more users than sessions. However, typically each visitor of your site will get a new session, even without logging so,

Re: Poll: What part of a Struts will be the most important to support for migration?

2006-06-12 Thread Leon Rosenberg
2. 1. 4. 5. 6. 3. regards leon On 6/12/06, Don Brown [EMAIL PROTECTED] wrote: As we approach the topic of migration for Struts Action 1 applications to Struts Action 2, I want to find out what we should focus on first. You are able to run both frameworks side-by-side, but for the developers

Re: struts tags in a .js file?

2006-06-11 Thread Leon Rosenberg
On 6/11/06, Ronald Traikovich [EMAIL PROTECTED] wrote: Hi group, I was given a javascript file called operations.js that handles javascript events that load images. So this javascript file is included in my jsp page. The problem is that the image paths are hardcoded, so I want to rewrite these

Re: Problem in a action

2006-06-07 Thread Leon Rosenberg
I think you're are missing the input param: action path=/coffeenet/SeguimientoComercial/IndexSeguiComer type=seda.coffeenet.SeguimientoComercial.struts.action.IndexSeguiComerActio n name=seguimientoComercialForm scope=session validate=true --

Re: javabeans explanation

2006-06-05 Thread Leon Rosenberg
El lun, 05 de 06 de 2006 a las 16:32, Emilia Ipate escribió: That is true, but my question is: why does it have to be the same? because of the java bean specification? Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For

  1   2   3   4   5   6   >