Automatically detecting struts-config changes and reload app.

2004-03-24 Thread Antony Paul
Is it possible to automatically detect changes in struts-config.xml and reload the application ?. I know that Log4J(or Tomcat) detects changes to log4j.properties and reload the application. Antony Paul - To unsubscribe, e-mail

Re: Automatically detecting struts-config changes and reload app.

2004-03-24 Thread Antony Paul
to reload it every time by pointing the browser to it. I want it to automatically detect the change and reload the context . What are other developers doing to reload the context on struts-config change ?. Antony Paul - Original Message - From: Geeta Ramani [EMAIL PROTECTED] To: Struts Users

Re: ActionErrors without resource bundle.

2003-12-11 Thread Antony Paul
It worked. Thanks. rgds Antony Paul. - Original Message - From: Ted Husted [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 11:17 PM Subject: Re: ActionErrors without resource bundle. You can put a single entry in the bundle

Re: session.invalidate() throws exception.

2003-12-11 Thread Antony Paul
-INF/struts-html.tld prefix=html% %session.invalidate();% I am working on porting a project to Struts. This error happened when I copied contents of the old index.jsp to new Struts index.jsp. The error is due to html tag. rgds Antony Paul. - Original Message - From: Martin Gainty [EMAIL

How to return global-forward from Action

2003-12-11 Thread Antony Paul
Hi, How to forward to a resource defined as global-forwards element from Action. rgds Antony Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Use of html:base/

2003-12-11 Thread Antony Paul
/biz. In production it will be moved to root of the container. What is a context relative url and application relative url. rgds Antony Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Use of html:base/

2003-12-11 Thread Antony Paul
Yup. By mistake I referenced struts-bean.tld. I am a bit tired today. Thak you for correction rgds Antony Paul - Original Message - From: Lawrence Williams [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, December 11, 2003 7:54 PM Subject: RE: Use

Re: OracleDriver fails 1.0 to 1.1 upgrade.

2003-12-11 Thread Antony Paul
try driverClassName. Antony Paul. - Original Message - From: Mort Coleman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 12, 2003 11:40 AM Subject: OracleDriver fails 1.0 to 1.1 upgrade. I found one posting about the url needing to be URL but did not help. here is my

When HashMap will replace ActionForm ?

2003-12-10 Thread Antony Paul
Hi, Is there any move to support HashMap in place of ActionForm ?. I dont want to start any argument. I have read a lot on ActionForm in this archive. rgds Antony Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: How to set action path from Action.

2003-12-10 Thread Antony Paul
ActionForward like this. return new ActionForward(/home.do); Also how to invoke global forward from action class. rgds Antony Paul - Original Message - From: Ted Husted [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 9:31 PM Subject: Re

Re: When HashMap will replace ActionForm ?

2003-12-10 Thread Antony Paul
I know that but one have to define 10 to 30 elements in struts-config.xml for that. With a hash map one have to say whether it is needed ot not. It could be accessed like DynaValidator form. And my requirement is to store simple text field values. rgds Antony Paul. - Original Message

Tag for adding no-cache header.

2003-12-10 Thread Antony Paul
Hi, Does any Struts tag generate the headers necessary to say browser not to cache a JSP page. It still exists as a scriptlet in my JSP. If one is added it will be useful. I think every dynamic page need this. rgds Antony Paul

session.invalidate() throws exception.

2003-12-10 Thread Antony Paul
) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) How to change this behavior. Better if possible to do some house keeping before invalidating session like if a valid session and data is present in session then go to a certain page. rgds Antony Paul

Re: session.invalidate() throws exception.

2003-12-10 Thread Antony Paul
Then index.jsp is to be mapped to an action in web.xml. My situation is user goes to another site then returns to home page of our application. rgds Antony Paul. - Original Message - From: Raman Garg [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday

Re: session.invalidate() throws exception.

2003-12-10 Thread Antony Paul
=/LoginAction onsubmit=return validateLoginForm(this) /html:form The error statck is given in first message. rgds Antony Paul. - Original Message - From: Gurpreet Dhanoa [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 5:36 PM Subject: Re

Re: Tag for adding no-cache header.

2003-12-10 Thread Antony Paul
pls explain. I want to put header in JSP's. The values are //to prevent page-caching in client response.addHeader(pragma,No-cache); response.addHeader(Cache-Control,no-cache); response.addDateHeader(Expires,0); rgds Antony Paul. - Original Message - From: Adam Hardy [EMAIL PROTECTED

Re: When HashMap will replace ActionForm ?

2003-12-10 Thread Antony Paul
but it prints the form field name like this map(username). I want to get the key as name of form field. here username. possible ? rgds Antony Paul. - Original Message - From: Fullam, Jonathan [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, December 10

ActionErrors without resource bundle.

2003-12-10 Thread Antony Paul
. There will be lot of entries int it. One have to use searching tools to find the error message in bundle. rgds Antony Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Populating DyanActionForm from databse for view.

2003-12-09 Thread Antony Paul
and display it. We dont want to put extra effort writing DTO objects and ActionForms. I need the functionality of redisplaying newly entered data if validation fails. How to do it ?. I need explanation becuase I just started using Struts. rgds Antony Paul

How to set action path from Action.

2003-12-09 Thread Antony Paul
corresponding ForwardAction. This action is reached through a global forward. 2. Use modules. I dont know what is it. Is it possible to have same named ForwardAction in different modules ?. rgds Antony Paul. - To unsubscribe, e-mail

ActionForm and password fields.

2003-12-08 Thread Antony Paul
Hi, How to tell struts that I dont want to display the password if validation fails ? What about other form elements ? rgds Antony Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: ActionForm and password fields.

2003-12-08 Thread Antony Paul
Thanks for reply. So for all the fields that I dont want to display set that to null. What if it is DynaActionForm. I dont use validator because I am porting an application to Struts of which 20% is completed and we have written JavaScript for it. rgds. Antony Paul. - Original Message

Why isn't an ActionForm just a Map?

2003-12-03 Thread Antony Paul
This question is from the table of contents of a text book. I dont have this book in hand. I have other questions also. Why ActionForm is made Struts dependent ?. Why not use just plain JavaBean whch can be used as TransferObject. ? rgds Antony Paul

Dynamic generation of textboxes.

2003-12-02 Thread Antony Paul
and DynaActionForm. I tried using map backed form beans but names are not properly displayed in browser. It was displayed as UserName(NameTxt). Is there any other way to do it. Please explain it with example or link to documentation. Rgds Antony Paul

Using map backed forms beans

2003-12-01 Thread Antony Paul
generation) How to do it. Antony Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

redirecting insead of forward.

2003-12-01 Thread Antony Paul
Hi, Is it possible to tell the controller that redirect to next page instead of forwarding. Antony Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

forward vs redirect ?

2003-12-01 Thread Antony Paul
Hi, I would like to receive comments on when to use forward and redirect in action mapping. Do people use forward only. All the articles and examples I saw uses forward. Antony Paul. - To unsubscribe, e-mail: [EMAIL

Re: forward vs redirect ?

2003-12-01 Thread Antony Paul
there are other ways available. The sample application is throwing an exception, when the page displayed adding new subscriptions is refreshed. Antony Paul - Original Message - From: Claire Wall [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, December 01, 2003 7

Some doubts.

2003-11-24 Thread Antony Paul
the Business Logic is implemented. That is accessing database and updating data. Is it ok to do it in ActionForm. Thanks in advance Rgds Antony Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail