RE: is OJB a good choice for Modeling ?

2004-05-28 Thread Navjot Singh
IMO, ibatis +1 >-Original Message- >From: Zaid [mailto:[EMAIL PROTECTED] >Sent: Friday, May 28, 2004 1:53 PM >To: Struts Users Mailing List >Subject: is OJB a good choice for Modeling ? > > >Hi all, > >is OJB(http://db.apache.org/ojb) is a good ORM ? please advise me, I have >3 types for c

RE: When to use EJB?

2004-06-02 Thread Navjot Singh
If all you need is 2phase commit, You can directly use JTA along with XA drivers for both of your databases. 2-phase commit using EJBs could have been an option if your system currently uses EJBs for managing these database schemas. >-Original Message- >From: Zhang, Larry (L.) [mailto:[E

[OT] Good env for struts-based-web-tier and ejb components development

2004-06-02 Thread Navjot Singh
know what kinda env do you use? How do streamline your development process? TIA Navjot Singh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] Good env for struts-based-web-tier and ejb components development

2004-06-04 Thread Navjot Singh
. > >IDE r powerful, no doubt on that, but I prefer plain old notepad.. >If u end up getting acquainted with a powerful IDE, then as soon >As u change it u get lost > >My 2 cents > >Regards > marco > > > > >-Original Message---

[OT] EJB/Struts Design Question

2004-06-05 Thread Navjot Singh
s are appreciated. --- regards Navjot Singh Net4India Ltd. If there's only one answer, then this must not be a very interesting topic. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ValidatorForm vs ValidatorActionForm

2004-06-07 Thread Navjot Singh
hi, What's the use of ValidatorActionForm when ValidatorForm is already there? --- regards Navjot Singh Net4India Ltd. Politicians are like diapers and need to be changed for same reason. - To unsubscribe, e

RE: [OT] EJB/Struts Design Question

2004-06-09 Thread Navjot Singh
s - I have more than 100 intermingled entity beans. and i have 2 type of clients. >Are you using some caching mechanism in business delegate ? NO. >Are you using service locator pattern also ? YES. and caching of homes happen here. > >Harjot Navjot >- Original Message - >Fr

RE: J2EE design help needed!

2004-06-09 Thread Navjot Singh
hi, >I see the following options: > >a) Application gets packaged as is, in a single ear containing a single war >and jar. >pros - simple build, current architecture >cons - monolithic, not component based, not modular >b) individual war file for each new service >pros - modular, possibly more und

Re: [OT]Help needed in wring regular expression

2004-06-14 Thread Navjot Singh
but you can achieve your objective in 2 easy regex. Anyway can you try something like this (\d(1)[^0])|(\d(1)\d(1)[0-9]{1,3})|(FEW)|(few)|(MANY)|(many) [EMAIL PROTECTED] wrote: Hi, Web page contains a text box can accept only maximum of four digits and it can be integers/String(accepts only "many"

Re: RowSetDynaClass

2004-06-14 Thread Navjot Singh
if that was really a problem for you, then there could any/both of 2 reasons. 1. You never used ValueListHandler pattern. 2. You never had used any pager taglib. and Chris, you could also look into *sql* JSTL that can help you doing what you want. And probabaly i recommend using this only for qu

Re: RowSetDynaClass

2004-06-14 Thread Navjot Singh
caching stuff etc. Any pointers? Rajat (OT (only for navjot) ps: any clue where amit malhotra is these days?) -Original Message- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 11:38 AM To: Struts Users Mailing List Subject: Re: RowSetDynaClass if that was really a

Re: j2EE question

2004-06-16 Thread Navjot Singh
it seems this is big misconception that ejb == j2ee j2ee is not just ejb. It includes a lotmore like servlet/jsp/taglibs/jmx/jaxr/jms...so on Richard Raquepo wrote: Hi everyone, does using struts means your a j2ee programmer/developer? we have built our own OR library, used javamail, some threads,

Re: [OT]Help needed in wring regular expression

2004-06-16 Thread Navjot Singh
try this [1-9]|[0-9]{1}[0-9]{1,3} add rest of your many, few etc HTH navjot [EMAIL PROTECTED] wrote: Chris: thank you for your help. yes, I need to accept any leading zeros but it should be followed by any non-zero integer in that case. ([1-9][0-9]{0,3})|([Ff][Ee]

Re: case insensitive action mapping ?

2004-06-18 Thread Navjot Singh
i am not sure about any config that can help but all you need to is + override processPath method in RequestProcessor to check for case-insenstive path. + override ActionConfig class to keep path saved in lowercase/uppercase. list, am i missing anything? navjot Albrecht Berger wrote: Hello, at le

http 405 error

2004-06-18 Thread Navjot Singh
declined the access to GET method to any URL. However, if index.html file and another .jsp file is working. Can anybody provide any insight how to dig into this? Or better how to turn on the logging for struts when the app is deployed on JBoss? TIA Navjot Singh

Re: http 405 error

2004-06-18 Thread Navjot Singh
Is there lots of complaints comming out of the log file (JBoss console) ? Don't recall having such an error with struts tomcat + jboss combo. On Fri, 18 Jun 2004 18:50:35 +0530, Navjot Singh <[EMAIL PROTECTED]> wrote: hi, I have deployed my app on Jboss 3.2.3(with Tomcat 4.1.29). Suc

Re: http 405 error

2004-06-18 Thread Navjot Singh
great help in itself. Without that i can't zero in anywhere. Navjot Singh Kommana, Sridhar wrote: I don't think so it is related with Jboss. Just check the url in the browser. If you call your action using link something like '/ShowReg.do' you will get 405 error. bec

Re: http 405 error

2004-06-18 Thread Navjot Singh
+0530, Navjot Singh <[EMAIL PROTECTED]> wrote: hi peng, That's the problem. Nothing comes on to my jboss console. I couldn't see anything happening here. Even the jboss's error log shows nothing. However, access log does show a url was visited and the respose code returned in

[OT] Issues while developing and deploying enterprise application

2004-06-22 Thread Navjot Singh
s the possibility of independent module development as still the DDs are to be generated a single large monolithic file. Any suggestions how to develop in these scenarios. Navjot Singh - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: [OT] Issues while developing and deploying enterprise application

2004-06-23 Thread Navjot Singh
thx a lot, robert. i thought nobody will reply to my trivial question. i will follow up on that list. navjot singh Robert Taylor wrote: Navjot, although I don't have an answer for you, I posted (forwarded) your question to the [EMAIL PROTECTED] mailing list which may be a more appropriate

Re: How to implements Role Based Access Control in Struts ?

2004-06-25 Thread Navjot Singh
you may better try securityfilter.sf.net or jGurad Lesaint Sébastien wrote: Hi, I was just looking into Pow2ACL, I wonder if this solution is up to date, looks like the last release came out in 2002. It is said it is integrated with Struts, but if it is that old, I wonder if it does work with the l

parameterized html:link problem

2004-06-25 Thread Navjot Singh
hi list, I am not good in jsp views. Can someone tell me the way to accomplish the below? I wish to generate is link View and i am doing this. = View = but it generates '">View TIA

Re: parameterized html:link problem

2004-06-25 Thread Navjot Singh
n jsp views. Can someone tell me the way to accomplish the below? I wish to generate is link View and i am doing this. = View = but it generates '">View TIA Navjot Singh - To unsubscri

Re: RE : Struts, XDoclet, and Maven...

2004-06-27 Thread Navjot Singh
truts form class and it's tags in struts-config.xml FROM the entity bean you just created. But ,tell me frankly, how many times we have forms that correspond one-to-one with our entity schema. Use xdoclet only where it makes sense to use. my 2 cents navjot singh Rick Reumann wrote: Andy Akins

[OT] JAAS behaviour

2004-06-30 Thread Navjot Singh
cated principals and it's mapping with session ids?? and why not just save it in usual session? Any insights. TIA Navjot Singh Sign on Tombstone: "Here lies an atheist, all dressed up and nowhere to go." - To unsubsc

Re: [OT] Speaking of "gratuitously difficult".....

2004-07-06 Thread Navjot Singh
All you need is ANT - ant.apache.org either use it standalone outside eclipse OR use it as plugin wihtin eclipse. HTH navjot singh Mike Duffy wrote: Speaking of "gratuitously difficult". Has anyone ever messed with the "deploytool" in J2EE? AHHGGG I just want to depl

Re: EXTERNALIZE SQL QUERIES

2004-07-07 Thread Navjot Singh
be, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . -- regards Navjot Singh If I'm over the hill, why is it

Re: Design Problem

2004-07-08 Thread Navjot Singh
Model part or controller part(Action) if you like to talk in these 2 terms, then "model" Nikhil Yahoo! India Careers: Over 50,000 jobsonline. -- regards Navjot Singh When you jump for joy, beware that no-one moves the ground from beneath your feet. -- Stanislaw Lem, "U

[OT] how to calculate the size of an object

2004-07-08 Thread Navjot Singh
String filename; long lastLoadedTime; } public class Card{ String name; String email String mobile; } -- regards Navjot Singh When you jump for joy, beware that no-one moves the ground from beneath your feet. -- Stanislaw Lem, "Unkempt Tho

Re: [OT] how to calculate the size of an object

2004-07-08 Thread Navjot Singh
memory in it's heap between steps 2 & 4. so that one can assume that whatsoever output comes belongs to my object. I am at something better. Jim you are absolutely right, this technique may return a negative number. navjot singh [EMAIL PROTECTED] wrote: http://www.google.com/search?hl=en&a

[OT] Editor for Struts/J2ee apps

2004-07-14 Thread Navjot Singh
hi, I am starting a j2ee app(servlets,jsp.taglibs,ejb,jms,jaxp) with struts as web framework and i need to decide on the IDE that i should use. May i have your inputs on pros/cons on IDEs that you are using. Any specific inputs on IDEA/MyEclipse are most welcome. -- regards Navjot Singh

Re: very dynamic forms

2004-08-05 Thread Navjot Singh
then why do you need from? Anyway, if you still wish to live within struts scope, map based forms will help you. regards Navjot Singh Dew on red rose girl dancing sweat droplets on her face (Unknown) Peng Tuck Kwok wrote: I think I'm uncertain about the question you asked as well, do you

Re: HTTP Compression (Struts)

2004-08-11 Thread Navjot Singh
unless you have special reasons why do you wish to burden struts or web app with everything? why not use mod_gzip with apache and put tomcat/xyz behind apache? it gives good compression and you can define compression or no compression based on mime types. regards Navjot Singh Nathan Maves

Re: [OT] DAO ... where to draw the line?

2004-08-11 Thread Navjot Singh
sense? Navjot Singh -Original Message- From: Matthew J. Vincent [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 11, 2004 8:21 AM To: Struts Users Mailing List Subject: [OT] DAO ... where to draw the line? [OFF TOPIC] I know this is a struts forum, but as struts developers using DAOs

Re: Mapping ActionPath to a method in DispatchAction

2004-08-15 Thread Navjot Singh
DispatchAction. you dont have to do much. just a few lines. regards Navjot Singh Kunal Parikh wrote: Hi! I was wondering if it were possible to drop the parameter attribute in a dispatch action and map an actionPath to a method/methodName ? E.g /createUser -> public ActionForward createU

Re: Mapping ActionPath to a method in DispatchAction

2004-08-15 Thread Navjot Singh
but then it wont remain a DisptachAction anymore ;-) as control will not reach same class for multiple actions. regards Navjot Singh Navjot Singh wrote: 110% POSSIBLE. retreiving the paramter name and method calls using reflection and are already done. all you need to do is override the

Re: Action Servlet not getting called.

2004-08-15 Thread Navjot Singh
what does tomcat log returned? does it throw error or a blank page? is it because of space after this dot? type="mascot.workqueue.action. SummaryAction" regards Navjot Singh Divakar Satyanarayan wrote: Hi All, I have added following action mapping to struts-config.xml for

Re: HTTP Compression

2004-08-16 Thread Navjot Singh
Upload file thru activex or applet. Can't see anything to happen from browser(currently) otherwise. - Navjot Singh Shailender Jain wrote: Hi, Using the servlet 2.3 specification one can compress the data (gzip) while sending from server and uncompress on the client (Browser). Has anybody

[OT] any body aware of good UML mailing list

2004-08-17 Thread Navjot Singh
please send me the links if you know any. TIA Navjot Singh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Filters..

2004-04-06 Thread Navjot Singh
yes. feel free to use them if you have a need. They are really good at handle some problems. >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] >Sent: Tuesday, April 06, 2004 7:53 PM >To: [EMAIL PROTECTED] >Subject: Filters.. > > >Hello All, > >I know this is an off t

RE: Connection Pooling (How i use...)

2004-04-06 Thread Navjot Singh
exception , may bejust ignore} } HTH Navjot Singh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: generate dynamic Microsoft PowerPoint presentation

2004-05-12 Thread Navjot Singh
i did something of this sort for microsoft word but not sure about ppts. i did use jni to achieve that. http://danadler.com/jacob/ you may also have a look at this http://www.winnetmag.com/WindowsScripting/Article/ArticleID/26972/26972.html >-Original Message- >From: Gabriel Forradellas

action with context relative forward

2004-05-13 Thread Navjot Singh
anything that can be done with in struts-member.xml? Or you can suggest some changes in how can i go about it? --- regards Navjot Singh Net4India Ltd. If there's only one answer, then this must not be a very interesting topic. --