how many struts_config.xml

2004-01-02 Thread Kalra, Ashwani
hi, Is there any drawbacks of having too many struts_config.xml files. Any guidelines on this ? Thanks Regds Ashwani Kalra This message contains information that may be privileged or confidential and is the property of the Cap Gemini

struts and JDeveloper 9.03

2003-12-29 Thread Kalra, Ashwani
hi, I am working with Jdeveloper and Struts 1.1 When I try to run any page , its not able to find the core action class. struts.jar is lying in lib dir Error is java.lang.NoClassDefFoundError: org/apache/struts/action/Action java.lang.Class java.lang.ClassLoader.defineClass0(java.lang.String,

RE: struts and JDeveloper 9.03

2003-12-29 Thread Kalra, Ashwani
Yeah, they are already there. Without this I will not be able to compile my files. and IMO ie for development. -Original Message- From: Adrien GEYMOND [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 4:30 PM To: Struts Users Mailing List Subject: Re: struts and JDeveloper 9.03

RE: retrieving values from application.properties file

2003-12-26 Thread Kalra, Ashwani
ResourceBundle resource = ResourceBundle.getBundle(resources.application); Else : If you are in Action/Lookup Dispatch Action class MessageResources resource = getResources(request); -Original Message- From: Kalra, Ashwani [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 2:24 AM

any tool which can generate formbeans from jsp or html

2003-12-24 Thread Kalra, Ashwani
hi, Is it possible to generate the formbeans from jsp or html. Is there any tool available ? Regds Ashwani This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst Young Group. It is

retrieving values from application.properties file

2003-12-23 Thread Kalra, Ashwani
hi, I want to directly access the keys and its values in applcation.properties ( default resource bundle file in struts). Can any body tell me which is the class in struts(utility class) which helps me retrieve the values based on the keys from this file. /Ashwani

RE: retrieving values from application.properties file

2003-12-23 Thread Kalra, Ashwani
= (org.apache.struts.util.PropertyMessageResources)application.ge tAttribut e(org.apache.struts.Globals.MESSAGES_KEY); out.println(res.getMessage(KEYNAME)); Dhiraj -Original Message- From: Kalra, Ashwani [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 12:27 PM To: Struts (E-mail) Subject: retrieving values from

RE: retrieving values from application.properties file

2003-12-23 Thread Kalra, Ashwani
= getResources(request); -Original Message- From: Kalra, Ashwani [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 2:24 AM To: Struts Users Mailing List Subject: RE: retrieving values from application.properties file hi, One more thing to add is that I dont have access to request

RE: sub classing Action Servlet

2003-12-22 Thread Kalra, Ashwani
Extending ActionServlet is discouraged in 1.1 . Which version are you on. Extend RequestProcessor instead. /Ashwani -Original Message- From: Sudhakar G [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 4:46 PM To: [EMAIL PROTECTED] Subject: sub classing Action Servlet Hi,

RE: Log4J

2003-12-10 Thread Kalra, Ashwani
from the code you sent , there doesnt seem to be any problem. i don't use category class at all then how come its showing errori don't get it... Some classes internally still uses this class. They will finally be removed. Check to see that Category class (org/apache/log4j/Category) is

RE: Log4J

2003-12-10 Thread Kalra, Ashwani
, Log regards sathish --- Kalra, Ashwani [EMAIL PROTECTED] wrote: from the code you sent , there doesnt seem to be any problem. i don't use category class at all then how come its showing errori don't get it... Some classes internally still uses this class. They will finally

RE: When HashMap will replace ActionForm ?

2003-12-10 Thread Kalra, Ashwani
DynaValidator forms stores data in Hashmap internally if you dont want to define norma action forms. -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 2:40 PM To: struts Subject: When HashMap will replace ActionForm ? Hi, Is there

token pattern

2003-12-10 Thread Kalra, Ashwani
hi, Can any one point me to the above pattern documentation/usage used in struts. Thanks Regds Ashwani Kalra This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst Young Group.

RE: Log4J

2003-12-09 Thread Kalra, Ashwani
Do you have log4j.jar in web-inf\lib dir ? -Original Message- From: Sathish Babu K R [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 12:16 PM To: Struts Users Mailing List Subject: Log4J hi all i m getting this error... java.lang.NoClassDefFoundError:

how to handle refresh button ?

2003-12-08 Thread Kalra, Ashwani
hi, I am adding a blank row in my jsp page by pressing the button and submitting to the same page. The problem is that when user presses the referesh button, It should not add a row. Is there any standard way of handling this problem ? TIA Ashwani Kalra

RE: Antwort: how to handle refresh button ?

2003-12-08 Thread Kalra, Ashwani
An Struts (E-mail) Kalra, Ashwani [EMAIL PROTECTED] [EMAIL PROTECTED] Kopie 08.12.2003 07:56

RE: how to handle refresh button ?

2003-12-08 Thread Kalra, Ashwani
hi Caroline, Redirect has problem that request parameters will be lost. But I think I give it a try.. Thanks Ashwani Kalra http://www.geocities.com/ashwani_kalra -Original Message- From: Caroline Lauferon [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 2:59 PM To: Struts

RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-02 Thread Kalra, Ashwani
IMO Reloading is not possible for the classes in server classpath. eg beans and other utility classes used by servlets or ejbs. -Original Message- From: Nick Faiz [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 12:31 PM To: 'Struts Users Mailing List' Subject: RE: Is it

RE: redirecting insead of forward.

2003-12-01 Thread Kalra, Ashwani
its redirect(true or false) attribute in actionforward tag -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2003 5:41 PM To: struts Subject: redirecting insead of forward. Hi, Is it possible to tell the controller that redirect to next page

Need to retain the data of the previous page

2003-12-01 Thread Kalra, Ashwani
hi, I have the following flow. Page A : Display some rows. These rows are not in DB.Initially there are no rows. It contains add button Page B : On clicking the add button of Page A, page B opens up the form which user fills and forward back to page A. Page A now displays new row along with

RE: Need to retain the data of the previous page

2003-12-01 Thread Kalra, Ashwani
: RE: Need to retain the data of the previous page You have to persist your data. If you declare your form in request scope, then once user clicks on submit on page A, you have to save the data to a Value Object stored in session. Khalid -Original Message- From: Kalra, Ashwani [mailto

RE: Is it required to restart weblogic everytime after compiling ??? Need help Desperately .. :-(

2003-12-01 Thread Kalra, Ashwani
Hi, Pls read this thread http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=articlegroup=weblogic.develo per.interest.jspitem=11050utag= IMO not possible. However I have heard that there are IDE tools which do the equivalent for you. /Ashwani -Original Message- From: Shakti

RE: request.setAttribute

2003-11-28 Thread Kalra, Ashwani
Have you read other posts You are storing and retrieving by different names. /Ashwani -Original Message- From: Honza Spurný [mailto:[EMAIL PROTECTED] Sent: Friday, November 28, 2003 5:15 PM To: Struts Users Mailing List Subject: Re: request.setAttribute Shyam Krishnan wrote: Why you

RE: Is it required to restart weblogic everytime after compiling ???

2003-11-27 Thread Kalra, Ashwani
if you are working with servlets, or ejb and running weblogic in development mode, then it will automatically pick the changes. However this is not true if there is any change in utility classes like action and other formbean classes. If you are not using ejb etc, I suggest use Tomcat for

RE: System Exception Handling in Struts

2003-11-24 Thread Kalra, Ashwani
Logging is not part of struts. You can configure any logging api with struts. Struts doesnt assume any thing. For eg. put your log4.properties/xml file in classpath and log4.jar and start using the way you do it with other applications /Ashwani -Original Message- From: [EMAIL

RE: Some doubts.

2003-11-24 Thread Kalra, Ashwani
all inline Hi all, I am starting to learn Struts. On going throgh the documentation I have some doubts. 1. Is a form bean is an ActionForm.? Yes 2. It says that data is stored in JavaBeans. In the presentation layer I have to display several select boxes whose value is fetched

RE: STURT set up and IDE for STURT

2003-11-20 Thread Kalra, Ashwani
I will suggest IDEA editor. or more powere full is from exadel(not used) Cheers Ashwani Kalra http://www.geocities.com/ashwani_kalra -Original Message- From: Meenakshi Dhawale [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 7:45 PM To: [EMAIL PROTECTED] Subject: STURT set

forward problem ?

2003-11-11 Thread Kalra, Ashwani
hi, I have one link http://localhost:8080/controller?id=23 when user clicks it , a page is loaded, user fills in the details in the form, and presses one button and the same page should be loaded . The problem is that redirecting to the same page is done using forward, which leaves the address

tiles question

2003-10-29 Thread Kalra, Ashwani
hi, I tiles you have to maintain two pages. One that includes all the sections like header, footer, variable content jsp, etc. and one jsp which contains your code(varible part). This doubles up the no of jsps ? Is it ok. any work around ? TIA Ashwani Kalra http://www.geocities.com/ashwani_kalra

RE: Help needed on Iterate Tag

2003-10-22 Thread Kalra, Ashwani
It also gives this error for various other problems,Which are difficult to debug.For eg if the element obtained is null, then also it gives the same error. So use logic:present before printing its value. /Regds Ashwani -Original Message- From: Thakur, Vikram [mailto:[EMAIL PROTECTED]

RE: Books

2003-10-07 Thread Kalra, Ashwani
Struts in action by Ted is also considered one of the good books. I have oreilly's book is also good. You can go to amazon site to read the reviews and compare them. Regds Ashwani -Original Message- From: Brian Richards [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 8:32 AM

html base element

2003-09-23 Thread Kalra, Ashwani
Hi, I am not able to figure out what problem I face when I am not using this tag. for eg. I am able to use the relative paths to the images from the page whose url is http://localhost:8080/mystruts/logon.do http://localhost:8080/mystruts/logon.do on the browser. Can someone give an example on

RE: html base element

2003-09-23 Thread Kalra, Ashwani
as above, it would tell the browser that the base url for all relative urls in this page is app1/mystruts/dir1 and not app1/mystruts. HTH Vikram - Original Message - From: Kalra, Ashwani [EMAIL PROTECTED] To: Struts (E-mail) [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 4:11 PM

html:base/ tag

2003-09-21 Thread Kalra, Ashwani
hi, I could not understand the use of base tag from the example. Can any one explain ? Regds Ashwani Kalra http://www.geocities.com/ashwani_kalra http://www.geocities.com/ashwani_kalra This message contains information that may be

RE: Please Reply this Mail It's Urgent.

2003-09-19 Thread Kalra, Ashwani
try here [EMAIL PROTECTED] e-mail to [EMAIL PROTECTED] and, in the text of your message (not the subject line), write: SIGNOFF WEBSPHERE * To join this list e-mail to [EMAIL PROTECTED] and, in the text of your message (not the subject line), write:

offtopic idea 876 external javadoc

2003-09-18 Thread Kalra, Ashwani
hi, Sorry for the offtopic. But can any one using IDEA build 876 tell me how to associate external java docs Regds Ashwani Kalra This message contains information that may be privileged or confidential and is the property of the Cap

RE: offtopic idea 876 external javadoc

2003-09-18 Thread Kalra, Ashwani
Please ignore. I got it. -Original Message- From: Kalra, Ashwani [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 4:00 PM To: Struts (E-mail) Subject: offtopic idea 876 external javadoc hi, Sorry for the offtopic. But can any one using IDEA build 876 tell me how

RE: getting redirect to work -- easy one?

2003-09-17 Thread Kalra, Ashwani
It looks that you are sending output to the client before redirecting. Just make sure that you are not writing any thing to the client(browser) /Ashwani -Original Message- From: Adam Fisk [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 9:32 AM To: [EMAIL PROTECTED] Subject:

Log4 how many instances of Logger

2003-09-12 Thread Kalra, Ashwani
Hi, I read in log4 manual Calling the getLogger method with the same name will always return a reference to the exact same logger object It means when I say getLogger(com.abc.class1) getLogger(com.abc.class2) Both classes are from the same package but name is different. So will it return me

RE: Should extend any struts components ?

2003-08-17 Thread Kalra, Ashwani
Hi, There are various extension points including the one you have listed them. The pros and cons, and reasons to extend is mentioned in the Oreilly book. You can read that chapter(Forgot the chapter). Cheers Ashwani Kalra http://www.geocities.com/ashwani_kalra

RE: How to configure a struts application

2003-08-14 Thread Kalra, Ashwani
Tomcat, I am suffering and no luck yet. I hate it now. Its easy with tomcat also. What ever you did for weblogic , its same as that. What problem you faced ? Cheers Ashwani Kalra http://www.geocities.com/ashwani_kalra

RE: Struts is incomplete

2003-08-14 Thread Kalra, Ashwani
Ha.. ha.. I can pin point so many problems in the existing so called perfect software/frameworks. Why dont you just contribute for this feature lacking. And I dont think there is not alternative available to what you want. Instead you could have asked for the solution of your problem then finding

RE: Direct ValueObject creation rather than ActionForm.

2003-08-01 Thread Kalra, Ashwani
(form, new ExampleVO()); is shown. Please suggest me whether this is good to use such mapping to get the valueobject instance and also do they support all possible datatypes and different mappings. Thanks. -Original Message- From: Kalra, Ashwani [mailto:[EMAIL PROTECTED] Sent

testing, Please ignore

2003-07-31 Thread Kalra, Ashwani
This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not

RE: Struts w/EJB

2003-07-31 Thread Kalra, Ashwani
hi, Struts doesnt enforce or set any rules or guidelines for using ejbs. With in your action classes you should use Business Delegate to hide the client's dependency on any persistance layer ejb or DAO. Cheers Ashwani Kalra http://www.geocities.com/ashwani_kalra/ -Original Message-

RE: Direct ValueObject creation rather than ActionForm.

2003-07-31 Thread Kalra, Ashwani
One drawback. ActionForm classes import classes from http packages. which binds it to the particular layer. Cheers Ashwani Kalra http://www.geocities.com/ashwani_kalra/ -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 10:47 AM To: Struts