RE: [OT] JSP or Velocity

2004-02-28 Thread Navjot Singh
hi, As far as i am concerned. My prefs are Eclipse and UEdit(designers can use in combination with other design ides like dreamweaver etc). See more at http://jakarta.apache.org/velocity/devtools.html Navjot Singh >-Original Message- >From: Andrew Hill [mailto:[EMAIL PROTECTED]

RE: [OT] JSP or Velocity

2004-02-27 Thread Navjot Singh
Basically, i use velocity only for email templates and sometimes to generate other kind of templates from one template where the use of XSLT is not appropriate. For web templates, that have more complex requirements, i prefer to use taglibs. besides el makes life as easy as we may talk in velocity.

RE: data transfer from Action class to jsp page

2004-02-25 Thread Navjot Singh
yes, store your BO in request >-Original Message- >From: Pradeep, PK [mailto:[EMAIL PROTECTED] >Sent: Wednesday, February 25, 2004 10:21 PM >To: Struts Users Mailing List >Subject: RE: data transfer from Action class to jsp page > > >Sending the same question again.. > > >I have this basic

RE: Tomcat 4 Compression Filter

2004-02-25 Thread Navjot Singh
put apache in front of tomcat and install mod_gzip with apache. it will do almost everything you can wish for? >-Original Message- >From: Niall Pemberton [mailto:[EMAIL PROTECTED] >Sent: Wednesday, February 25, 2004 5:43 PM >To: Struts User Jakarta >Subject: Tomcat 4 Compression Filter > >

RE: Status 500

2004-02-24 Thread Navjot Singh
e great help if you could post your Form and request params here. HTH Navjot Singh >-Original Message- >From: Dixit, Shashank (Cognizant) [mailto:[EMAIL PROTECTED] >Sent: Tuesday, February 24, 2004 3:30 PM >To: Struts Users Mailing List >Subject: RE: Status 500 > > &

RE: Session management

2004-02-24 Thread Navjot Singh
struts has nothing to do with managing sessions. we should better talk about servlet containers that handles sessions. btw, 100 sessions are nothing to worry about :-) leave the txn mgmt to db layer. use any of the persistence frameworks that can handles this for you. >-Original Message

RE: Status 500

2004-02-24 Thread Navjot Singh
there's some mismatch happening while struts try to populate the form associated with your action. please check there. -Original Message- From: Dixit, Shashank (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 1:48 PM To: [EMAIL PROTECTED] Subject: Status 500 Hello

RE: MVC difference

2004-02-23 Thread Navjot Singh
yes, you are right that MVC is a pattern, rather architectural pattern. Can someone make me clear about the MVC pull and MVC push model and their pros and cons? TIA Navjot Singh >-Original Message- >From: Christian Bollmeyer [mailto:[EMAIL PROTECTED] >Sent: Tuesday, February

MVC difference

2004-02-23 Thread Navjot Singh
Hi, To the people who care about minute differences in the architecture. My question is "Is there any difference between Struts 1.0 and 1.1 in terms of MVC?" TIA Navjot - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

RE: urgent please -- XML document reading/parsing through SAX for the given snippet.

2004-02-23 Thread Navjot Singh
create a hashmap object and while you run SAX thru your xml document. is yourStartElement(), save the tag name currentElement variable. in characters(), save the characters value to your hash with key as currentElement. in the end, your element will filled. if you multiple such case tags. add the

RE: Role based access?

2004-02-18 Thread Navjot Singh
u can also override the default behaviour of processRoles and go your own way. HTH Navjot Singh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 8:49 PM To: Struts Users Mailing List Subject: Role based access? Hi Guys, Struts-

RE: trubble with session

2004-02-17 Thread Navjot Singh
When the user doesn't accept cookies, session is of no use. After login, you can fill the data in request object and *forward* the request. look into RequestDispatcher.forward() HTH Navjot Singh >-Original Message- >From: Claudia Woestheinrich [mailto:[EMAIL PROTECTED] >

RE: [OT] Case insensitive Map keys [Results]

2004-02-16 Thread Navjot Singh
Integer(h); > } > } > > private static class IgnoreCaseBitMap extends HashMap { > public Object put(Object key, Object value) { > return >super.put(this.generateKey(key.toString()), value); > } >

RE: [OT] Case insensitive Map keys

2004-02-13 Thread Navjot Singh
if(c>=97 && c <=122) > c-=32; > > h = 31*h + c; > } > return new Integer(h); > } > } > >This by now is three times faster than using t

RE: newlines

2004-02-13 Thread Navjot Singh
can you replace the \n to before sending to jsp >-Original Message- >From: Turner Benjamin [mailto:[EMAIL PROTECTED] >Sent: Friday, February 13, 2004 2:33 PM >To: Struts-User (E-mail) >Subject: newlines > > >hello, > >i looked in the archives about this problem but couldn't find >anythi

RE: Hi

2004-02-13 Thread Navjot Singh
February 13, 2004 3:04 PM >To: [EMAIL PROTECTED] >Subject: Re: Hi > > >Hi > >i am using the "pool implementation using apache commons pool and dbcp" >how can i test if it works? > >clement >- Original Message - >From: "Navjot Singh&quo

RE: Hi

2004-02-12 Thread Navjot Singh
any of the 3 will do 1. configure the data source in tomcat 2. configure the data source in struts 3. write your own pool implementation using apache commons pool and dbcp hth Navjot Singh >-Original Message- >From: Vishal Arora [mailto:[EMAIL PROTECTED] >Sent: Friday, February

RE: multiple struts-config files

2004-02-12 Thread Navjot Singh
e struts-config from within >another struts-config ? yes, see module switching in docs. HTH Navjot Singh >Any help is very appreciated >Koen > > > > >Find what you are looking for with the Lycos Yellow Pages >http

RE: [OT] Case insensitive Map keys

2004-02-12 Thread Navjot Singh
had taken a little bit longer and read carefully, then >maybe you'd have noticed. > >Regards, >Freddy. > >-Mensaje original- >De: Navjot Singh [mailto:[EMAIL PROTECTED] >Enviado el: jueves, 12 de febrero de 2004 13:14 >Para: Struts Users Mailing List; [EMAIL PR

RE: [OT] Case insensitive Map keys

2004-02-12 Thread Navjot Singh
simple implementation. By the time you ask the Q and wait for reply. you could have written on your own. Navjot Singh >-Original Message- >From: Guillermo Meyer [mailto:[EMAIL PROTECTED] >Sent: Thursday, February 12, 2004 5:24 PM >To: 'Struts Users Mailing List

RE: Need help on making Custom Validator work

2004-02-11 Thread Navjot Singh
if it shows you just blank page then something is *null* somewhere >-Original Message- >From: Pingili, Madhupal [mailto:[EMAIL PROTECTED] >Sent: Thursday, February 12, 2004 12:49 AM >To: '[EMAIL PROTECTED]' >Subject: Need help on making Custom Validator work > > >Hi All, >I have developed

RE: forwarding all request to the one JSP

2004-02-11 Thread Navjot Singh
jsp is servlet but servlet is not jsp. hope this point clears the point here. you should look into using jsp error page directive if you wish to redirect errors from jsp page. >-Original Message- >From: Bubeník Miroslav [mailto:[EMAIL PROTECTED] >Sent: Wednesday, February 11, 2004 10:10 P

RE: [OT] - Request against Session

2004-02-11 Thread Navjot Singh
utile exercise. Use of session or request varies on requirements basis. 1. Start with first form, collect values, pass as hidden values to second form and so on 2. Start with first form, collect values, save to session and so on HTH Navjot Singh >-Original Message- >From: Pani R [ma

RE: 2 PROBLEMs-Please Help

2004-02-11 Thread Navjot Singh
1. did you check the same property name in your messages.properties file. 2. ActionMapping is not deprecated. Reads the docs again. It saya "would have been deprecated". in fact, this class has 2 more subclasses. >-Original Message- >From: f f [mailto:[EMAIL PROTECTED] >Sent: Thursday, F

RE: Config issue

2004-02-11 Thread Navjot Singh
this can happen only when you have gannett (first )as context name AND gannett (second one) as module name. >-Original Message- >From: news [mailto:[EMAIL PROTECTED] Behalf Of Sam >Sent: Thursday, February 12, 2004 9:34 AM >To: [EMAIL PROTECTED] >Subject: Config issue > > >Greetings, > >I

RE: Orkut

2004-02-08 Thread Navjot Singh
count me in >-Original Message- >From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich >Sent: Monday, February 09, 2004 9:46 AM >To: [EMAIL PROTECTED] >Subject: Orkut > > >If you want to join Struts in Orkut Social Network send me an e-mail >saying so. > >.V >(if you do not know wh

RE: Making the fields non editable dynamically using a form bean element

2004-02-02 Thread Navjot Singh
guess there is some attribute called readonly for html:text. set that to true. >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Monday, February 02, 2004 4:06 PM >To: [EMAIL PROTECTED] >Subject: Making the fields non editable dynamically using a form bean >elem

RE: Is it possible to deploy a struts 1.1 application in Tomcat 5.x?

2004-01-22 Thread Navjot Singh
I am successfully running my Application based on Struts + Tiles + Taglibs (el also) seamlessly. No probs so far. >-Original Message- >From: Smith, Darrin [mailto:[EMAIL PROTECTED] >Sent: Thursday, January 22, 2004 6:55 PM >To: 'Struts Users Mailing List' >Subject: RE: Is it possible to d

RE: XML and JSP

2004-01-20 Thread Navjot Singh
pls look into xml taglibs at apache's website >-Original Message- >From: Prashanth.S [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 20, 2004 2:36 PM >To: [EMAIL PROTECTED] >Subject: XML and JSP > > >Hi all, >can anyone tell me a convinient way to display,add delete elements >in a xml f

RE: problems w/ logging.. again

2004-01-19 Thread Navjot Singh
role. regards Navjot Singh >-Original Message- >From: Adam L [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 20, 2004 11:09 AM >To: Struts Users Mailing List >Subject: problems w/ logging.. again > > >I've scoured the archives. I"ve tried a million diff

RE: Querystring builder

2004-01-05 Thread Navjot Singh
SOOO MUCH for providing such detail code in response. > >One of the lines in the iterating function: > > nvString.append(this.getString(key) + "&"); >What's the this and the getString suppose to be? Should it be the >map.get function? > >Rgds, &g

RE: Querystring builder

2004-01-05 Thread Navjot Singh
.lastIndexOf("&")); } return nv; } My this function may not be efficient and does the job you want. and HURRAY!! you will get QueryString like str=navjot&b.str=singh hope this helps Navjot Singh ** Wife sleeping in the middle of night suddenly wakes

RE: Querystring builder

2004-01-04 Thread Navjot Singh
that should be easy. BeanUtils gives you the way to populate a MAP object from a Bean. Now al you need to do is iterate over keys, form a querystring with each name-value pair separated by &. HTH Navjot SIngh >-Original Message- >From: Patrick Cheng [mailto:[EMAIL PROTEC

RE: PDF file in browser

2003-12-23 Thread Navjot Singh
whereever it is. 3. convert it into stream. 4. push the stream back to browser. note - must set the appropraite mime/type before you push the stream back. may be application/pdf or application/x-pdf HTH Navjot Singh >-Original Message- >From: vasudevrao gupta [mailto:[EMAIL PROTECTED]

RE: Form and Session

2003-12-12 Thread Navjot Singh
try to keep Session as light as possible. With that in mind, just save all you need, creator in your case, in Session. Navjot >-Original Message- >From: Caroline Jen [mailto:[EMAIL PROTECTED] >Sent: Saturday, December 13, 2003 12:15 PM >To: [EMAIL PROTECTED] >Subject: Form and Session > >

RE: session.invalidate() throws exception.

2003-12-10 Thread Navjot Singh
one should either *catch* Exception OR use errorPage attribute of <[EMAIL PROTECTED] ...> directive to handle error HTH Navjot Singh >-Original Message- >From: Antony Paul [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 10, 2003 5:08 PM >To: struts >Subjec

RE: When HashMap will replace ActionForm ?

2003-12-10 Thread Navjot Singh
I can't say there will be any move or not. But MAP backed ActionForms are alreadt there, If you are not interested in using the actionforms and be contended with just hashmaps. Mostly, not always, I treat ActionForm as HashMap but with getter setter already classcasted and defined for properties.

RE: Error message display in the case of redirect = true

2003-12-09 Thread Navjot Singh
not sure but the logic says that error messages are being stored in the REQUEST SCOPE and when you set redirect=true, naturally that's a new request so you won't get the errors set in earlier request. anybody else? >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Se

RE: Multiple Config files

2003-12-09 Thread Navjot Singh
>How can I add multiple config file support for struts?? config /WEB-INF/struts-default.xml config/ab /WEB-INF/struts-ab.xml >OFF-TOPIC : Does anyone know a cvs mailing list ? www.cvshome.org HTH Navjot Singh >-Original Message- >

RE: Struts and commons DBCP

2003-12-09 Thread Navjot Singh
gets trapped by PooledConnection interface and the connection will be returned back to the db pool and it WONT get closed. HTH Navjot Singh

RE: File Download?

2003-12-04 Thread Navjot Singh
All you need to use is ServletOutputStream. Check API. >-Original Message- >From: Jerry Jalenak [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 04, 2003 8:35 PM >To: '[EMAIL PROTECTED]' >Subject: File Download? > > >I have a need to send generated image files from my web server to a fi

RE: MySQL Driver List

2003-12-03 Thread Navjot Singh
http://www.mysql.com/downloads/api-myodbc-3.51.html >-Original Message- >From: Gurpreet Dhanoa [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 03, 2003 10:43 AM >To: Struts Users Mailing List >Subject: MySQL Driver List > > >hi ALl > >I want to connect my strut application with mySQL

RE: Changing SessionId at every request

2003-12-03 Thread Navjot Singh
don't know why do you wish to do so? but it an be done. Write a filter. pass every request thru that. 1. Fetch the session, expire it. Server will assign new. 2. Fetch the session, don't expire the session, just append a timestamp to it. set a cookie and use that to maintain session.

RE: Populating the next Form

2003-11-10 Thread Navjot Singh
surely in ActionB. Filling it's own form is action in itself. you can parameterized your action to do 2 things 1. fill the formB 2. accepts the submitted formB. HTH Navjot Singh >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] >Sent: Tuesday, Nov

RE: Can I use RequestProcessor to handle session?

2003-11-06 Thread Navjot Singh
yes and probably the right way to do >-Original Message- >From: Samanth Athrey [mailto:[EMAIL PROTECTED] >Sent: Thursday, November 06, 2003 10:35 AM >To: [EMAIL PROTECTED] >Subject: Can I use RequestProcessor to handle session? > > >Hello Gurus > >I am trying to handle session timeout by e

RE: two resource bundles?!

2003-10-30 Thread Navjot Singh
not sure by might be Globals.MESSAGES_KEY + prop2 >-Original Message- >From: Otto, Frank [mailto:[EMAIL PROTECTED] >Sent: Thursday, October 30, 2003 6:01 PM >To: Struts-User (E-Mail) >Subject: two resource bundles?! > > >Hi, > >I have defined two properties files in my struts-config.xml

RE: redirecting

2003-10-28 Thread Navjot Singh
sendRedirect() is OK to use. Go ahead. >-Original Message- >From: ajay brar [mailto:[EMAIL PROTECTED] >Sent: Wednesday, October 29, 2003 9:23 AM >To: [EMAIL PROTECTED] >Subject: redirecting > > >hi! >i have to redirect the user from within my action class to an >external site. >i'm curren

RE: multiple resource files in one struts-config file

2003-10-28 Thread Navjot Singh
first pls specify diff keys for diff resource files. second, pls check if you have specifiied errors.header= line in every property file. HTH Navjot Singh >-Original Message- >From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] >Sent: Wednesday, October 29, 2003 10:07 AM &g

RE: Antwort: [OT] Re: far reaching db question

2003-10-28 Thread Navjot Singh
you should escape your sql data values for mischieveous chars like single quotes etc. >-Original Message- >From: Manuel Lenz [mailto:[EMAIL PROTECTED] >Sent: Tuesday, October 28, 2003 4:33 PM >To: Struts Users Mailing List >Subject: Antwort: [OT] Re: far reaching db question > > >How do p

RE: HAPPY DIWALI!

2003-10-23 Thread Navjot Singh
to native amercians. See if this can help your job ;-) >And it has nothing to do with any ethnic holiday; if you think otherwise, >you are probably an H-1B. I have never been on H1B for your info and don't even want to be. However, if you are i

RE: HAPPY DIWALI!

2003-10-23 Thread Navjot Singh
Mark, Don't feel bad about it if you feel little out of place. just enjoy life. >but anybody from India can get an H1B visa, displacing millions of >jobs from indigenous Americans, dragging down market labor rates >and causing 7 percent unemployment in our industry. Business look for skills. If

RE: hi..

2003-10-22 Thread Navjot Singh
yes, if you can set the value first to some page/request scope variable? see in struts docs Navjot Singh -Original Message- From: Nisith Dash [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2003 12:01 PM To: Struts Users Mailing List Subject: hi.. Hi, is there

RE: Display Mode | Edit Mode

2003-10-21 Thread Navjot Singh
NO >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] >Sent: Wednesday, October 22, 2003 10:49 AM >To: [EMAIL PROTECTED] >Subject: Display Mode | Edit Mode > > >Does STRUTS provide any feature so that the same jsp can be used for >showing the page in Display Mode as we

RE: Help needed on Iterate Tag

2003-10-21 Thread Navjot Singh
can you post the error? >-Original Message- >From: Thakur, Vikram [mailto:[EMAIL PROTECTED] >Sent: Wednesday, October 22, 2003 10:04 AM >To: 'Struts Users Mailing List' >Subject: RE: Help needed on Iterate Tag > > >No It is not working.. > >-O

RE: Forward/redirect and virtual hosts

2003-10-21 Thread Navjot Singh
server.xml. Is your webapp context is configured under your *external* hostname? I can think that one of this is broken and hence the problem is coming. Or if we can get config files, i may help better. HTH Navjot Singh >-Original Message- >From: Dave Tilley [mailto:[EMAIL

RE: Help needed on Iterate Tag

2003-10-21 Thread Navjot Singh
quick try - try replacing Names with names in iterate tag >-Original Message- >From: Thakur, Vikram [mailto:[EMAIL PROTECTED] >Sent: Wednesday, October 22, 2003 9:55 AM >To: Struts (E-mail) >Subject: Help needed on Iterate Tag > > >Hi , > I have Collection of Strings and I want to

RE: communication between control layer & factory/model

2003-10-12 Thread Navjot Singh
can't you pass a HashMap back? >-Original Message- >From: Adam Hardy [mailto:[EMAIL PROTECTED] >Sent: Saturday, October 11, 2003 6:42 PM >To: Struts Users Mailing List >Subject: communication between control layer & factory/model > > >I've been happy until now passing objects backwards and

RE: ejb's and tomcat

2003-10-09 Thread Navjot Singh
then which one is good in your eyes? >-Original Message- >From: Mark Galbreath [mailto:[EMAIL PROTECTED] >Sent: Thursday, October 09, 2003 4:38 PM >To: Struts Users Mailing List >Subject: RE: ejb's and tomcat > > >JBoss is crap, anyway. > >-Original Message- >From: Brian McSweeney

RE: urlrewriting Vs Cookies

2003-10-08 Thread Navjot Singh
session cookies. If you love URL rewriting, you can disable the user session after 10 minutes of inactivity. Depends on how much pain would you like to take for it and how secure you wish your application to be. HTH Navjot Singh > >Hi navjot, >Thanks for the reply...But the problem with url

RE: urlrewriting Vs Cookies

2003-10-08 Thread Navjot Singh
theoretcially, there are 3 ways. 1. URL Rewriting 2. Client side Cookies 3. Server side Session (again use cookies but just for an ID) if you are adamant about not using cookies at any level. URL rewriting is the only option left. any other? navjot singh >-Original Message- &g

RE: Container-Managed Authentication in web.xml vs . Specifying Paths in the struts-config.xml

2003-10-07 Thread Navjot Singh
the roles are not valid for that action. etc etc.. Struts,using decalrative roles, tried to make things easier in term sof less programming efforts and easiness to manage roles . Rest i can't see much diff. Any opinions? HTH Navjot Singh >-Original Message- >From: Caroline

RE: Performance constraints

2003-10-07 Thread Navjot Singh
et tries to assign one Action instance from the pool. If it's not there, the new Action instance will be created and assigned to the request. HTH Navjot Singh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Urgent: No Getter Method found

2003-09-25 Thread Navjot Singh
change the variable txtusergroupcode to txtUserGroupCode. it will work. |-Original Message- |From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] |Sent: Friday, September 26, 2003 12:13 PM |To: Struts Users Mailing List |Subject: Urgent: No Getter Method found | | |hi All |I am getting follo

RE: ApplicationResources.properties

2003-09-24 Thread Navjot Singh
it just should be in classpath. |-Original Message- |From: Martin Gainty [mailto:[EMAIL PROTECTED] |Sent: Thursday, September 25, 2003 12:52 AM |To: [EMAIL PROTECTED] |Subject: ApplicationResources.properties | | |What mechanism does struts use to find the |ApplicationResources.properties

RE: debug level of struts...

2003-09-05 Thread Navjot Singh
quick dirty way :-) In you jdk installation dir..look out for logging.properties and append the following line in the end org.apache.struts = FINE navjot |-Original Message- |From: Pady Srinivasan [mailto:[EMAIL PROTECTED] |Sent: Friday, September 05, 2003 5:41 PM |To: [EMAIL PROTECTED]

RE: request.getContextPath();

2003-09-05 Thread Navjot Singh
but this your contextPath. so, request returns that string that you set. Is PostGraduate.war your file name? or in server.xml you have set contextPath="/PostGraduate". navjot |-Original Message- |From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED] |Sent: Friday, September 05, 2003 1:44 PM

RE: Probelm with routing.

2003-09-05 Thread Navjot Singh
not sure if struts handles exceptions thrown from RequestProcessor. |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED] |Sent: Friday, September 05, 2003 2:20 PM |To: [EMAIL PROTECTED] |Subject: Probelm with routing. | | |I have written my own RequestProcessor class (

RE: Exception framework Usage

2003-09-01 Thread Navjot Singh
u may replace DuplicateEmailException & DuplicateUserException with DuplicateKeyException - what /*what is duplicate, email oruser*/ + getWhat():String + setWhat(Stirng) It's just another way that is desired sometimes. Personally, I never followed this staregy ;-) >Thanks Navjo

RE: Exception framework Usage

2003-09-01 Thread Navjot Singh
out this. We MAY show some nice "SORRY" page and/or may LOG this exception somewhere) BTW, there is some nice article on "Exception handling" on IBM Developer site. Do check. hope this helps and suggestions are welcome. Navjot Singh -Original Message- From: Viral

RE: [OT] Scheduling

2003-09-01 Thread Navjot Singh
whynot? use crontab -e to add a program and the times when it should run use crontab -l to view what all programs are scheduled to run. navjot |-Original Message- |From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] |Sent: Monday, September 01, 2003 3:37 PM |To: [EMAIL PROTECTED] |Cc: [EM

RE: Handling Exceptions

2003-09-01 Thread Navjot Singh
For ServletException, configure the error page in web.xml file. it will work. navjot |-Original Message- |From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED] |Sent: Sunday, August 31, 2003 5:12 PM |To: [EMAIL PROTECTED] |Subject: Handling Exceptions | | |Hi, | |In struts-config, I have

RE: SubClass RequestProcessor or Action class

2003-09-01 Thread Navjot Singh
guys has posted some XML that he would use in config.xml. regards Navjot Singh |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED] |Sent: Monday, September 01, 2003 12:17 PM |To: Struts Users Mailing List |Subject: RE: SubClass RequestProcessor or Action class

RE: What is Java Server faces ?

2003-08-29 Thread Navjot Singh
Hi, I guess most of the people have some misconception about JSF. They are not here to compete with Struts and i think of them as complementary support to Struts framework. Start reading on JSF here http://www.jsfcentral.com regards Navjot Singh |-Original Message- |From: Madhu Nair

RE: How to access a session object from a form class

2003-08-27 Thread Navjot Singh
I guess you can't and why would you need it? Your Action SHOULD play with Session objects and Form objects. |-Original Message- |From: Bård Arve Evjen [mailto:[EMAIL PROTECTED] |Sent: Wednesday, August 27, 2003 12:25 PM |To: [EMAIL PROTECTED] |Subject: How to access a session object from

RE: J2EE IDE

2003-08-27 Thread Navjot Singh
Well, i like Eclipse a lot but it has it's constraints. If you wish to have O/R mapping support in your IDE, try JDeveloper etc. Although i have never used JBulder or IntelliJ but they are also good ones. navjot |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED] |Sent

RE: Design question

2003-08-26 Thread Navjot Singh
od of action class. If you follow my advice on 1, you need not to bother about that. HTH navjot Singh PS - may i know where are you located? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Paging through DB ResultSets

2003-08-26 Thread Navjot Singh
Model Layer If you database supports *limit* clause, use that. OR Use Paging Patterns (known as Value List Handler in J2EE but i think it's misnomer ;-) Presentation Layer Use Pager Taglib |-Original Message- |From: Kapadia Mitesh-C23457 [mailto:[EMAIL PROTECTED] |Sent: Tuesday, August

RE: struts with other frameworks and JSTL

2003-08-26 Thread Navjot Singh
|Hi all, |I have 2 questions |1-->Where can i find comparision between struts and other |frameworks[like cacoon etc etc] See struts archives, around 2 months back someone gave a wonderful comparison of struts with expresso etc |2-->How can i switch existing application [which uses lot os jstl |an

RE: Design question...

2003-08-25 Thread Navjot Singh
w when you pass the DTO back, it will contain maximum 10 records. Reducing network load and you get only those records that you want in presentation layer. HTH navjot singh |-Original Message- |From: Keith Pemberton [mailto:[EMAIL PROTECTED] |Sent: Sunday, August 24, 2003 7:09 PM |

RE: Problem build war using Ant

2003-08-25 Thread Navjot Singh
have you checked the ANT version? |-Original Message- |From: deepaksawdekar [mailto:[EMAIL PROTECTED] |Sent: Monday, August 25, 2003 10:39 AM |To: Navjot Singh; Struts Users Mailing List |Subject: RE: Problem build war using Ant | | |Thanks for the response, |My dir strucute is |webgui

RE: Problem build war using Ant

2003-08-23 Thread Navjot Singh
hi deepak, Posting the directory structure would have been great help. BTW, which version of Ant are you using? If any less than 1.5.3, switch RIGHT NOW. Lower version are buggy in terms of getting classes and lib tasks. hth Navjot Singh |-Original Message- |From: deepaksawdekar

RE: Generating logs w/Log4J in ActionClass

2003-08-22 Thread Navjot Singh
i just vaguely remember private Logger logger = Logger.getLogger(Test.class); logger.debug("Better Check log4j docs"); and keep the log4j.properties file in classpath. hth navjot singh |-Original Message- |From: Kapadia Mitesh-C23457 [mailto:[EMAIL PROTECTED] |Sent: Thursday,

RE: Struts Action or EJB session bean

2003-08-22 Thread Navjot Singh
file uploading is user front job and let the Struts handle it. Sessionbeans are bad choice!! |-Original Message- |From: Erez Efrati [mailto:[EMAIL PROTECTED] |Sent: Friday, August 22, 2003 5:33 PM |To: 'Struts Users Mailing List' |Subject: Struts Action or EJB session bean | | |My EJB/We

RE: Logging to application directory

2003-08-22 Thread Navjot Singh
use log4j or jdk1.4 logging. |-Original Message- |From: Louise Pryor [mailto:[EMAIL PROTECTED] |Sent: Friday, August 22, 2003 8:38 PM |To: Struts Users Mailing List |Subject: Logging to application directory | | |Is there any easy way of sending logs to somewhere in my application |directo

RE: login request + ActionServlet RequestProcessor Action

2003-08-21 Thread Navjot Singh
Although I am extending Action class as of now but extending Requestprocessor should be a better choice. After all ActionServlet, after all the initializations, delegates control to RequestProcessor. Let's keep ActionServlet only for one time inits. hth Navjot Singh |-Original Me

RE: Security and Roles related

2003-08-20 Thread Navjot Singh
Moreover, in your JSPs, you can always check isUserInRole() etc. it's just call on your request object. Struts even provide the tag for that et al.. do write should you need more help. Navjot Singh |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED] |Sent: We

RE: How to set Struts package as default

2003-08-20 Thread Navjot Singh
war file deployment won't work here. configure one host entry in server.xml file with appBase="/dir/path/to/app". one context entru with docBase="", path="/" and unpackWars="false" it should work. hth navjot singh |-Original Message- |F

RE: Security and Roles related

2003-08-19 Thread Navjot Singh
struts provide support for JAAS and JAAS further supports the security roles and accesses independent of mechanisms. will that do? hth -navjot |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED] |Sent: Tuesday, August 19, 2003 4:38 PM |To: [EMAIL PROTECTED] |Subject: S

RE: Session expired

2003-08-19 Thread Navjot Singh
yes. If you are using servlet 2.3 container, write a filter that can check the session status, if expired will redirect the control to the standard expired.jsp page otherwise the control is passed to thr requested jsp. hth navjot singh |-Original Message- |From: Kwok Peng Tuck [mailto

RE: get data source in servlet

2003-08-19 Thread Navjot Singh
your Data Source from struts-config.xml to web.xml hth navjot singh |-Original Message- |From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] |Sent: Monday, August 18, 2003 8:38 PM |To: [EMAIL PROTECTED] |Subject: get data source in servlet | | |Hi, |I have defined a data source in my struts-c

RE: Tiles. using action for attribute value.

2003-08-18 Thread Navjot Singh
Tiles. using action for attribute value.try making straight call to header.jsp, it should work. OR if you must need Struts Controller in call to header.jsp, use "include" (instead of forward) in your header.do action mapping. hth navjot singh -Original Message- From: deep

RE: How to identify the Requested Path Info

2003-08-14 Thread Navjot Singh
servlet container provides that info |-Original Message- |From: Kommineni, Sateesh (IndSys) |[mailto:[EMAIL PROTECTED] |Sent: Wednesday, August 13, 2003 5:20 PM |To: Struts Users Mailing List |Subject: How to identify the Requested Path Info | | |Hi All, | | How can the framework will k

RE: Parsing error on startup

2003-08-14 Thread Navjot Singh
ew load() |exception javax.servlet.UnavailableException: Parsing error processing |resource path | at |org.apache.struts.action.ActionServlet.initModuleConfig(ActionServl |et.java:952) | |Thanks very much for the help, | |Guy. | |Navjot Singh wrote: | |> guess your jdk version is 1.4.1_03. u

RE: Parsing error on startup

2003-08-14 Thread Navjot Singh
guess your jdk version is 1.4.1_03. upgrade to the latest one 1.4.1_04. problem solved. hth navjot singh |-Original Message- |From: Guy Caseley [mailto:[EMAIL PROTECTED] |Sent: Wednesday, August 06, 2003 4:57 PM |To: [EMAIL PROTECTED] |Subject: Parsing error on startup | | |Hi, | | I

RE: ActionForm Design Question

2003-08-02 Thread Navjot Singh
n I would use the transerring mechanism in the BeanUtil package. If your app is simple enough, you can use Map. If you know your app is gonna expand like hell, invest time on BeanUtil. Navjot Singh |> |> I highly value your opinions and advices. Thanks. |> | |Jing |Netsp

RE: Database Connection

2003-07-31 Thread Navjot Singh
not, and so on) |I think it's better to put it in the webapps classpath, if you're |not using |jndi. | |yours | |Marc | | |Am Donnerstag, 31. Juli 2003 13:37 schrieb Navjot Singh: |> the jar file for your sybase driver should in the class path of tha app |> server. |> If it&#x

RE: Database Connection

2003-07-31 Thread Navjot Singh
the jar file for your sybase driver should in the class path of tha app server. If it's tomcat put your jar file in tomcat_home/common/lib it will work. -navjot singh |-Original Message- |From: Chirag Mehta [mailto:[EMAIL PROTECTED] |Sent: Thursday, July 31, 2003 5:01 PM |To: S

RE: Problem with redisplay of form values when issuing error messages

2003-07-30 Thread Navjot Singh
it WILL redisplay the form with filled values. say, you submit a filled form, some data was wrong, the same form will be displayed WITH filled-in values. navjot |-Original Message- |From: Rodney Paul [mailto:[EMAIL PROTECTED] |Sent: Wednesday, July 30, 2003 2:09 PM |To: Struts Users Mail

RE: Development time using Struts,

2003-07-29 Thread Navjot Singh
now a framework that suits your needs, it WILL save lots of time. regards Navjot Singh |-Original Message- |From: Konstadinis Euaggelos [mailto:[EMAIL PROTECTED] |Sent: Tuesday, July 29, 2003 1:26 PM |To: Struts Users Mailing List |Subject: Development time using Struts, | | |Hi to all, I wa

RE: need suggestion on logic

2003-07-28 Thread Navjot Singh
to checker again. This case will be treated same as 2,3 steps. Checker can be implemented either using + Filter OR + Some method in Base Action + extend request controller. See what suits you. -Navjot Singh PS - If all you are looking for is general login system. See CMA/Realm Security

  1   2   >