RE: Multiple Struts Config!!

2004-10-19 Thread Ashutosh Satyam
If by module you mean different WEB Application altogether, then I'm sorry to say that struts multiple config file approach doesn't addresses it. Application modules allow a single Struts (Web) application to be split into multiple modules, each with its own Struts configuration file, JSP pages,

RE: Validator question

2005-01-04 Thread Ashutosh Satyam
It'll be good if you can have a look at Tomcat documentation - 'Class Loader Section' It clearly says that if you want to have jars accessible to different web application, then it should be placed in $CATALINA_HOME/shared/lib directory. Hope this should address your problem. - Ashutosh

RE: Submitting modal window

2005-01-04 Thread Ashutosh Satyam
In the pop up page, you can define a javascript function like this. window.opener.reload() // This function will just reload the parent window window.opener.location.replace(url) // This call will reload the parent window // with the specified URL This fu

Switching across multiple web application

2005-01-05 Thread Ashutosh Satyam
Hi, I would like to know how can we switch from one web application to another web application in a struts framework. I don't mean switching between the various application modules within a web application. What I intend to do is to restrict the user from directly accessing the 2nd web applic

RE: How to combine normal servlets and struts

2005-01-05 Thread Ashutosh Satyam
Hi, If you can tell in detail what exactly is the servlet code doing, it'll be easier to explain how can you incorporate it within struts framework. In a struts framework the request processing is done by the Action classes. So eventually, whatever task is being done by your current servlet can b

Java IDE's

2005-01-13 Thread Ashutosh Satyam
Hi, Though this is an off topic question, but still I'm posting it here as I have found this mailing list to be active and members try to furnish the information as much as possible. Q) Could you suggest some Java IDE's 1. What are the top 3 good features you seen in this IDE 2. What are the

Test Mail - Ignore it

2004-09-17 Thread Ashutosh Satyam
This it test mail. Kindly ignore it. [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

tiles-definition - role association issue

2004-09-17 Thread Ashutosh Satyam
As per the Tiles Definition file syntax In the tiles definition we can specify the role (Role to be checked when definition will be inserted in a page.) Similarly, It is possible to associate a role with tiles: put attribute. I'm intending to allow the definition to be used based on the role

RE: tiles-definition - role association issue

2004-09-19 Thread Ashutosh Satyam
I have not received any response on this mail yet. Any pointers on this will be appreciated. - Ashutosh -Original Message- From: Ashutosh Satyam Sent: Friday, September 17, 2004 9:21 PM To: [EMAIL PROTECTED] Subject: tiles-definition - role association issue As per the Tiles

RE: multiple struts-config error

2004-09-22 Thread Ashutosh Satyam
By any chance are you trying to map both these struts file as same input parameter. Better try this, config /WEB-INF/resr-fin-struts-config.xml config/app2 /WEB-INF/resr-tam-struts-config.xml You will be able to access action classes for your 2nd struts-config as mentioned below

RE: Where does Tiles check for roles for role based access

2004-10-10 Thread Ashutosh Satyam
Hi, I too have a doubt which is closely related to tiles role checking mechanism. I have defined the login page of my application like this. This works fine. Depending upon the user's role appropriate mainMenu is substituted. Now going on the same line

tiles related issue - Urgent

2004-10-02 Thread Ashutosh Satyam
Hi, Below is my tiles-defintion. >From the action class, I make a forward to definition 'SubsSrch'. The call does get forwarded to this definition. Apart from the 'mainBody' which points to the definition 'docs.csr.body' all other contents are sho

Declarative Exception handling

2004-05-13 Thread Ashutosh Satyam
Hi, In my struts configuration file, I have declared a global exception as mentioned below. I'm using the default ExceptionHandler. The idea behind defining this global exception was not to show any kind of exception on the browser. This works fine. But now I'm not able to trac

RE: Declarative Exception handling

2004-05-13 Thread Ashutosh Satyam
That was a nice piece of information. Thanks a lot Mat. Regards, Ashutosh -Original Message- From: Lowery, Mat [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 9:19 PM To: Ashutosh Satyam; Struts Users Mailing List Subject: RE: Declarative Exception handling I use the Log Jakarta

RE: Forward to original page

2004-05-05 Thread Ashutosh Satyam
is page is submitted the action class should again do a forward as mentioned above - return mapping.findForward("success"); Hope it helps. - Ashutosh Satyam -Original Message- From: Christian Grobmeier [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 3:23 PM To: [EMAI

RE: Using multiple struts-config.xml- ActionErrors problem

2004-05-07 Thread Ashutosh Satyam
. +--+ | | || +--+ Cheers, Ashutosh Satyam -Original Message- From: Normanjaisingh pauldurai [mailto:[EMAIL PROTECTED] Sent: Friday, May 07, 2004 12:23 PM To

RE: How to read a parameter in web.xml from Action class

2004-05-19 Thread Ashutosh Satyam
Try using the below mentioned code to read intialization parameter defined in the Web descriptor file. String sname = servlet.getInitParameter("myParamName"); OR ServletConfig config = servlet.getServletConfig(); String sname = config.getInitParameter("myParamName"); 'servlet' is a

RE: How to read a parameter in web.xml from Action class

2004-05-19 Thread Ashutosh Satyam
eb application" per Java Virtual Machine. If intialization parmaeter is defined for a specific servlet, then it'll be accessible only by this servlet. To retrieve this parameter need to call getInitParameter() on this servlet. Hope it clears your doubt. - Ashutosh -Original Message-

RE: Error messages in tiles using tiles-defs.xml

2004-05-31 Thread Ashutosh Satyam
his <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> Hope this should give you a fair idea on how to do the implementation. Cheers, Ashutosh Satyam -Original Message- From: Ganesh Rao [ mailto:[EMAIL PROTECTED] Sent: Tuesday, June

Regarding DynaActionForms

2004-06-28 Thread Ashutosh Satyam
Hi, I'm a novice as far as usage of tag libraries are concerned. I intend to use DynaActionForm in my application. Would someone explain how this could be used in conjunction with available struts tag library to populate the beans? For simplicity, consider a simple application, which stores User

RE: Regarding DynaActionForms

2004-06-29 Thread Ashutosh Satyam
are though that you may encounter problems if some of the Fields of your actionforms are null.. Regards marco -Original Message- From: Ashutosh Satyam [mailto:[EMAIL PROTECTED] Sent: 29 June 2004 06:03 To: Struts Users Mailing List Subject: Regarding DynaActionForms Hi, I'

RE: Regarding DynaActionForms

2004-06-29 Thread Ashutosh Satyam
: Tuesday, June 29, 2004 2:47 PM To: Struts Users Mailing List Subject: Re: Regarding DynaActionForms This sounds a little like ... please write the application for me there is plenty of stuff that can be found on google that is exactly like this ... --b Ashutosh Satyam wrote: >I nee

Declarative Exception Handling

2004-07-13 Thread Ashutosh Satyam
Hi All, If I'm going by the Declarative Exception handling approach, either by configuring in the struts-config.xml file or by using the exception element of , how do I replace parameter values for the key pointing to the message resource property file. + --

strut-config.xml parse error issue - Urgent!!

2004-07-13 Thread Ashutosh Satyam
Hi, I have a struts based web application. Recently I updated my struts config file to handle exceptions declaratively. Below is the snippet of the struts config file.

RE: strut-config.xml parse error issue - Urgent!!

2004-07-13 Thread Ashutosh Satyam
parse error issue - Urgent!! In your action mapping, put your exception elements *before* your forward elements, not after. Cheers, Erik Ashutosh Satyam wrote: >Hi, > I have a struts based web application. >Recently I updated my struts config file >to handle exceptions declarati

RE: STRUTS distribution

2005-02-21 Thread Ashutosh Satyam
Hi, Though I couldn't get your problem completely but still I will try to clarify your doubt. Tag libraries are provided to leverage the struts inbuilt features. It doesn't mandate though that you should use tag library as part of your application. Even without using taglib, you can bring up yo

Clarrifications on Usage of logic tag library

2005-02-23 Thread Ashutosh Satyam
Hi, Can you suggest how to use the logic tag library to achieve the following scenario. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - In my Action class I expect few Exceptions to be thrown. Incase if a

RE: Antwort: Clarrifications on Usage of logic tag library

2005-02-24 Thread Ashutosh Satyam
regards >Karsten Krieg >intarsys consulting GmbH >---- >Fon +49 (0)721 3 84 79 - 28 >Fax +49 (0)721 3 84 79 - 60 >e-mail [EMAIL PROTECTED] >http://www.intarsys.

RE: Message Resources error

2005-03-10 Thread Ashutosh Satyam
Hi, You can checkout archived messages on this issue at http://www.mail-archive.com/struts-user@jakarta.apache.org/msg15779.html answered by Ted himself. Before preceeding do once again verify these things. 1. struts-config.xml has an entry for 'Message Resource Defintion' Ex:

RE: Please wait page

2005-04-07 Thread Ashutosh Satyam
Hi Shiva, I'm enclosing a sample JSP page which you can use for giving the appearance that it's waiting till the DB processing goes through. - - - - - - - - - - - - wait.jsp - - - - - - - - - - - - - - - - - |

RE: Reg. JSTL expression.

2005-04-21 Thread Ashutosh Satyam
Try this instead // // Hope this helps. Regards, Ashutosh -Original Message- From: Iyanu, Rajasekaran [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 2:59 PM To: Struts Users Mailing List Subject: Reg. JSTL expression. Hi, I'm using the following

How to read ResourceBundle

2005-07-25 Thread Ashutosh Satyam
Hi, In my application I want to set the error key based on whether the error key is present in resource bundle. The error key is generated in the system and the top most layer 'Action class' is supposed to set the keys based on the error key availability. - - - - - - - - - - - - - - - - - - -

Struts Validator Framework

2005-08-24 Thread Ashutosh Satyam
Hi, I am using the Struts Validator(Commons Validator) outside the Struts framework, to do validation. I would like to know how to validate an object when it has objects nested within it, and I need to validate the fields in those nested objects, too. Precisely I intend to achieve the followin

RE: Struts Validator Framework

2005-08-25 Thread Ashutosh Satyam
elements while validating, by using dot notation. In your case, you can refer to fields "a", "b", "obj.i, "obj.j", "obj.obj.k". Hubert On 8/24/05, Ashutosh Satyam <[EMAIL PROTECTED]> wrote:

RE: Struts Validator Framework

2005-08-29 Thread Ashutosh Satyam
Hi, I'm reposting this mail with the hope that I can get response from someone. If anyone of you have any clue on the question mentioned below, kindly get back. Thanks, Ashutosh -Original Message- From: Ashutosh Satyam Sent: Thursday, August 25, 2005 11:28 PM To: Struts Users Ma

Validator - requiredif validation query

2005-10-18 Thread Ashutosh Satyam
Hi, > Is there a way to perform 'requiredif' validation on nested objects ? > I would like to check for the value of an object only if the object > containing > it is not null. > > In the following example scenario: > > Class A{ > String x; > String y; > } > > Class Obj{ > A