AspectJ question

2004-10-18 Thread struts Dude
Hi Does Struts work well with AspectJ? Sorry if this is a stupid question. Thanks Duuude - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Best load testing tool for Java applications

2004-10-05 Thread struts Dude
If I only have 1 machine and I want to approximate best maximum load on struts application on the line I have, what can I do?? Ok, so the result will likely be under estimated ( i.e. less than real maximum load due to same cpu running both application and test) but it's better to under estimate

Re: Best load testing tool for Java applications

2004-10-04 Thread struts Dude
Pardon me if my question sounds stupid. Didn't JMetor require you to run load testing on a different machine from the server?? Or is it possible to run both testing and application on same machine? Thanks - Original Message - From: Jesse Alexander (KXT) [EMAIL PROTECTED] To: Struts

Re: File Upload Limits

2004-09-30 Thread struts Dude
Hi David, Let me get this straight. By using the way you described, if the file to upload exceeds maximum allowable size, then no upload will be proceeded right? I only know how to upload the stupid way, i.e. upload the whole file and abort if file size exceeds maximum. Thanks - Original

Advice on adding/updating products to an online store?

2004-09-29 Thread struts Dude
Hi, Just a question on what's the usual practice or the easiest way of adding/updating a product to an online store. 1. Is the usualy practice using web services where a registered supplier login and send an XML file with images serialized as binary data to add a new product or update product?

JPetStore question?

2004-09-29 Thread struts Dude
Hi, Just curious, did anyone use JPetStore as a prototype to implement a real online store?? What's your experience of it? Excellent practice? JPetStore seems to have high review and top-notch ... Plus, it's using Struts, so I am going to dive in and study its source. Just curious about the

Re: Xml files as backend database question?

2004-09-28 Thread struts Dude
- Original Message - From: struts Dude [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, September 29, 2004 10:14 AM Subject: Xml files as backend database question? Hi, Just want some thought on this question. Nobody in their right mind wud use xml

Re: Can I detect file size without uploading?

2004-09-28 Thread struts Dude
- Original Message - From: Jason Lea [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, September 29, 2004 8:57 AM Subject: Re: Can I detect file size without uploading? You could shortcut the process using a filter. You create a filter that checks the

Seeking advice for buying a Struts book

2004-09-28 Thread struts Dude
Hello, Just want to get some advice on buying a book. I have the book 'Struts in Action' already, thinking of buying the other book 'Programming Jakarta Struts' 2nd editn to complement it. Now is this a waste of $ ?? What does someone who have both books think. BTW, I am not experienced Struts

Re: Can I detect file size without uploading?

2004-09-28 Thread struts Dude
- Original Message - From: Jason Lea [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, September 29, 2004 1:09 PM Subject: Re: Can I detect file size without uploading? struts Dude wrote: Cool! I was told 'detect file size without uploading

Struts with CVS??

2004-09-24 Thread struts Dude
Hi Has anyone written a project management web application using Struts with CVS server?? I am thinking of writing 1 and wud be most interested to hear from someone who has done this already to stop reinventing wheel. Thanks

Project management web application with CVS?

2004-09-24 Thread struts Dude
Hi Has anyone written a project management web application using Struts with CVS server?? I am thinking of writing 1 and wud most interested to hear from someone who has done this already to stop reinventing wheel. Thanks Duuude where is my car ...

Sequence of events for Action.execute(), ActionForm.reset(), ActionForm.validate()?

2004-09-12 Thread struts Dude
Hi, I just want to clear up the sequence of events for calling an Action from action mapping specified in struts-config.xml. Is it ActionForm.reset(), ActionForm.validate(), Action.execute()? And implication of these, any objects set to request scope within ActionForm.reset() or

Re: Simple log4j.properties HELP

2004-09-12 Thread struts Dude
07, 2004 2:42 PM Subject: RE: Simple log4j.properties HELP Can you show us your commons-logging.properties file, which should set up the sending of log messages to log4j? Regards, David -Original Message- From: struts Dude [mailto:[EMAIL PROTECTED] Sent: Monday, September 06, 2004

Re: Not happy with approaches.. looking for better/other suggestions

2004-09-12 Thread struts Dude
Just a silly question. Where did ListUtils come from?? I can't find this in my JDK1.4.2. Thanks - Original Message - From: Hubert Rabago [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, September 03, 2004 7:40 AM Subject: Re: Not happy with approaches..

Simple log4j.properties HELP

2004-09-06 Thread struts Dude
Hi guys I can't seem to get the following simple log4j.properties file to work. I have log4j-1.2.8.jar and commons-logging-1-0-3.jar in WEB-INF/lib of my web app. Also the following log4j.properties in class folder of web app. - log4j.rootCategory=info, stdout

Re: struts servlet chaining and immutable request?

2004-09-06 Thread struts Dude
- Original Message - From: Woodchuck [EMAIL PROTECTED] To: struts [EMAIL PROTECTED] Sent: Friday, September 03, 2004 5:01 AM Subject: struts servlet chaining and immutable request? hihi, in my Action object, i am doing servlet chaining by forwarding to another .do instead of

Ibatis and cocurrent user management questions

2004-09-04 Thread struts Dude
Hi, Ok I really shud ask this at ibatis forum but since many here seem to work with ibatis, i give it a shot here. How do I register some kind of listener with ibatis so that if data in a table, say, Users, change, ibatis will notify struts application? The scenario I am trying to solve is

How long does it take to master appfuse?

2004-09-02 Thread struts Dude
Hi How long does it take to master appfuse.? Appfuse looks powerful but daunting to learn. It uses hibernate, xdoclet, junit, cactus, spring .. whatever, each technology can fill a book. Do I need to learn J2EE to get full benefit of appfuse? Can I get much out of appfuse if I don't use J2EE

Re: How long does it take to master appfuse?

2004-09-02 Thread struts Dude
- Original Message - From: Jim Barrows [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, September 03, 2004 3:52 AM Subject: RE: How long does it take to master appfuse? Another way of saying this is , is using appfuse overkill for a simple web app that

Hibernate VS ibatis, which is better?

2004-09-01 Thread struts Dude
Hello Just want some feedback from ppl who know both. Which one is more powerful and easier to use? Personally I only know iBatis but seeing so many web app built on hibernate and even a book on hibernate to be published, just wandering if it's worth my time to learn hibernate. Thanks

Re: Hibernate VS ibatis, which is better?

2004-09-01 Thread struts Dude
Thanks guys. Seeing so many support for either side, I might as well flip a coin to decide whether or not to learn hibernate. ;) - Original Message - From: struts Dude [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 02, 2004 8:36 AM Subject

Re: SecurityFilter Question?

2004-08-31 Thread struts Dude
) == null) { // do other login stuff here } } chain.doFilter(req, res); hth, robert -Original Message- From: struts Dude [mailto:[EMAIL PROTECTED] Sent: Monday, August 30, 2004 8:19 PM To: Struts Users Mailing List Subject: Re: SecurityFilter Question

Question about rr_sitemesh demo

2004-08-31 Thread struts Dude
Hi Rick I have runned rr_sitemesh example, change width of navigaitonal bar to 150 pixel by changing the line td valign=top width=200 to td valign=top width=150 in mainDecorator.jsp but an empty space seemed to have been created now between navigational bar and content, and content is created

Re: SecurityFilter Question?

2004-08-30 Thread struts Dude
- Original Message - From: Jason Lea [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, August 30, 2004 6:07 PM Subject: Re: SecurityFilter Question? Can't u do this using an Action? Say, accessing /admin/LogAction.do invokes SecurityFilter, after

Re: Scaffold

2004-08-30 Thread struts Dude
ProcessAction, ProcessResultBase combo is handy but evilll as it is full of pitfalls and can cost u hrs of debugging. To save u time, here is the lessons i learned the hard way (no guarantee they r right) 1. Only ActionError can be added to ProcessResult.addMessage or else ClassCastException

Re: SecurityFilter Question?

2004-08-30 Thread struts Dude
[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 1:06 PM Subject: Re: SecurityFilter Question? struts Dude wrote: You don't have to use a filter though, you could make a base action that does puts the bean into session and have all your actions sub-class that one. Using action to put

Re: SecurityFilter Question?

2004-08-29 Thread struts Dude
- Original Message - From: struts Dude [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, August 29, 2004 5:36 PM Subject: SecurityFilter Question? Hi Can someone give me a few pointers on using SecurityFilter with Struts? This can save me potentially

Re: SecurityFilter Question?

2004-08-29 Thread struts Dude
Wow that was quick response, thanks Jason. :D - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SecurityFilter Question?

2004-08-29 Thread struts Dude
Hi Jason, How do I use a login form that branch out to 2 restricted area depending on user's role using SecurityFilter? i.e. - if user has user role and log on, give access to /user/* - if user has admin role and log on, give access to /admin/* The only way I can think of how to do

Re: SecurityFilter Question?

2004-08-29 Thread struts Dude
throw an exception that you can catch and display an error message? struts Dude wrote: Hi Jason, How do I use a login form that branch out to 2 restricted area depending on user's role using SecurityFilter? i.e. - if user has user role and log on, give access to /user

Container Managed authentication question

2004-08-29 Thread struts Dude
hi Using container managed authentication, can i relay request parameters(i.e. username password) to loginAction after successful authentication? Because I want to construct a User bean and add it to Session after successful authentication but request parameters seem to get lost. Thanks

SecurityFilter Question?

2004-08-28 Thread struts Dude
Hi Can someone give me a few pointers on using SecurityFilter with Struts? This can save me potentially hrs of debugging. My securityfilter-config.xml is: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE securityfilter-config PUBLIC -//SecurityFilter.org//DTD Security Filter Configuration

Re: Question about authentication

2004-08-27 Thread struts Dude
that they would have to rewrite something if an underlying assumption fails. For some people the assumption is their choice of servlet container being used. -Original Message- From: struts Dude [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 11:16 PM To: Struts Users

Re: Select One Row

2004-08-27 Thread struts Dude
Can't u do it using checkbox? Thanks - Original Message - From: Varley, Roger [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 26, 2004 10:44 PM Subject: Select One Row Hi I'm starting my first Struts project and I have got a .jsp page that displays a list of beans

Re: Question about authentication

2004-08-26 Thread struts Dude
- Original Message - From: David Suarez [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, August 27, 2004 2:35 AM Subject: RE: Question about authentication My question is, does it really matter? Does it really represent a security issue? Ummm I think

Re: Question about authentication

2004-08-26 Thread struts Dude
authentication on web.xml is dependent on Tomcat. Thanks Manos struts Dude wrote: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Question about authentication

2004-08-26 Thread struts Dude
Thanks Joe. Geee I wander why someone would advocate for container managed security since it's not portable between servers. :D - Original Message - From: Joe Hertz [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, August 27, 2004 3:02 PM Subject: RE:

Re: Struts login with JAAS (Part 2)

2004-08-26 Thread struts Dude
Is it really necessary to learn JAAS in order to authenticate users in complex J2EE systems?? More API to learn, more complication and headache. I would try to get away with it if I can. Regards - Original Message - From: Leandro Melo [EMAIL PROTECTED] To: struts jakarta [EMAIL

Question about authentication

2004-08-25 Thread struts Dude
Hi I am going to use custom tags for checking access to Jsp, if no user/bean bean in session, then direct to login page. And I am also going to check admin bean again in Action before invoking life cycle methods on business beans. Now am I over kill with authentication?? I mean, if all JSP

Re: Question about authentication

2004-08-25 Thread struts Dude
Thanks to all who replied. I can't always count on u guys :D If I really did use the stupid approach on the job, I guess I am going to be fired on the spot. ;D Regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

How to set up 'userProfile' bean in session for ProcessAction?

2004-08-21 Thread struts Dude
Hi How would I set up to add a userProfile form object in my struts-config.xml and store user info in it so that ProcessAction from Scaffold will merge information coming from the request form (ActionForm) and the userProfile form and pass them to the execute method of my business bean

Why not make scaffold exceptions as ModulExceptions with chaining ability?

2004-08-21 Thread struts Dude
Ok this is more like a question that shud be asked in developer group, but authors of scaffold are going to read it here any way. I hope. The org.apache.commons.scaffold.lang dir has a whole bunch of exceptions that simply does chaining. Why not integrate them with ActionErrors as in

Help with ProcessDispatchAction?

2004-08-20 Thread struts Dude
Can someone show me how I can use ProcessDispatchAction as DispatchAction in struts-config.xml? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Help with ProcessDispatchAction?

2004-08-20 Thread struts Dude
Message - From: struts Dude [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, August 21, 2004 12:06 AM Subject: Help with ProcessDispatchAction? Can someone show me how I can use ProcessDispatchAction as DispatchAction in struts-config.xml? Thanks

Re: Help on Action implementing thread for checking user registration thru email?

2004-08-19 Thread struts Dude
Wow, u guys r super. So many help. I will go with Daniel's solution. To maximize portability, I think the best solution is not to depend on DB timestamp to delete it as different DB will have different ways of doing it, hence learning new things if change new DB. Thanks guys. :D - Original

Re: Security - From tradition to struts

2004-08-19 Thread struts Dude
Hi The following is the strategy I use. It may help. It may also be bad practice so feedback welcome. I am writing a simple app right now that only checks whether user is logged in as ordinary user or admin. I use an utility class UserUtil.java that has static methods for other Action to call.

Did anyone really find ProcessBean, ProcessAction, ResultList useful?

2004-08-19 Thread struts Dude
Well did anyone? I find them complicated, not useful, hard to use, maybe it's just me and = because not many documentation on these. Can anyone provide links of tutorial to these? BTW, ProcessBean is like a DTO, so there are a lot more better choice of = tools to use than ProcessBean right? say

Help on Action implementing thread for checking user registration thru email?

2004-08-18 Thread struts Dude
Hi, I am going to write an app that allow user to register in a JSP page, press submit, then user redirected to a new page telling user to check email, click on a link on email, redirected to a page, then commit user info to database. If user doesn't do this within 24 hrs, then delete user