Multiple Servlet contexts

2005-11-30 Thread Anuradha S.Athreya
Premise: 2 web applications deployed in the same Tomcat container Each application has a different application context Both the applications share the same database For making DB connections... All database connection related classes - bundled into a jar - dbconnection.jar Database connection pool

RE: Multiple Servlet contexts

2005-11-30 Thread Anuradha S.Athreya
We have been relying on Turbine for all database connections and pooling..Hence we wouldl like to stick to that. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Thursday, December 01, 2005 4:00 AM To: user@struts.apache.org Subject: Re: Multiple Se

Using message resources in non-action class

2006-03-12 Thread Anuradha S.Athreya
ation.properties file. Can someone indicate the missing link? Regards, Anuradha S.Athreya

Recall: Using message resources in non-action class

2006-03-13 Thread Anuradha S.Athreya
Anuradha S.Athreya would like to recall the message, "Using message resources in non-action class". - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Using message resources in non-action class

2006-03-14 Thread Anuradha S.Athreya
essageResources) > servlet.getServletContext().getAttribute("allMessages"); > > > Chandra > > -Original Message- > From: Anuradha S.Athreya [mailto:[EMAIL PROTECTED] > Sent: Monday, March 13, 2006 1:09 PM > To: 'Struts Users Mailing List' > Subject: U

Configure URL

2005-08-08 Thread Anuradha S.Athreya
I have just started using Struts. I would like to know how to configure the URL to access my application. I have a Login page which has to be the default page which appears when I provide a URL : http://localhost:8080/myApp/MyApp Note that MyApp is not the actual servlet name but the alias name t

Overriding the init() method in the Action Servlet.

2005-08-19 Thread Anuradha S.Athreya
start up. Regards, Anuradha S.Athreya

RE: Struts Download Action

2005-08-21 Thread Anuradha S.Athreya
Thanks , I got it working with Download Action. But one thing missing in the tutorial was that there was no mention that this Download Action was available post struts 1.2.6. Would be great if this is included. Thanks all. -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTE

Set the file name in html:file

2005-08-22 Thread Anuradha S.Athreya
Hello, In the JSP, I need to set the default file name in the JSP. I'm using html:file taglib. I'm retrieving the file name (to be set) from a bean. What is the syntax for this? - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Check Disk space before file upload

2005-08-23 Thread Anuradha S.Athreya
Hello, How can I check for disk space on the server before uploading a file on the server? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

File Upload enctype

2005-08-26 Thread Anuradha S.Athreya
Hello, I have 2 different issues, which are listed below (1) To upload a file , is it necessary to specify the enctype="multipart/form-data". Can Struts handle file upload in another way when the enctype has not been specified. (2) function validateDelete() { return confirm("

Passing variable to javascript function

2005-08-29 Thread Anuradha S.Athreya
I had posted this problem a few days back, but I couldn't find a solution to this. So I'm posting this again, since I need to implemen this urgently. > > function validateDelete() > { > return confirm("Delete Data"); > } > > > >onclick="return validateDelete()" > >

RE: Passing variable to javascript function

2005-08-29 Thread Anuradha S.Athreya
I think this will work: > > > > onclick="return validateDelete('')" > > where "abc" is the java variable that you put in request/session. > > > > With best regards, > > Anjishnu. > > > > -Original Message-

File Upload

2005-08-29 Thread Anuradha S.Athreya
Hello, I am using Struts Upload. I want to understand the intricacies of using File upload using Struts. In our JSP/ HTML, we use a form with enctype ="multipart/form-data" and the HTML - file to upload a file using HTTP post. Now, If I were to spcify the same request in the Browser;s address bar

RE: File Upload

2005-08-29 Thread Anuradha S.Athreya
Upload You can't upload a document using a GET request. Stick with your HTTP post form. Hubert On 8/29/05, Anuradha S.Athreya <[EMAIL PROTECTED]> wrote: > Hello, > > I am using Struts Upload. I want to understand the intricacies of > using File upload using Struts. > In ou

Specifying action window.open

2005-09-06 Thread Anuradha S.Athreya
I have a link in a JSP : Click here On Clicking this link, an action is performed and another JSP (forwarded by the Action) opens up. Instead of opening the whole JSP , I want it to open in a window , by calling the a javascript function - window.open. How do I speci

Exception after File Upload.

2005-09-08 Thread Anuradha S.Athreya
I have a web application running on Tomcat 5.0. One of the features is this appln enables file upload. After an upload, If I stop and restart the server , I get this particular expception. SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io

Related to Action Messages

2005-09-12 Thread Anuradha S.Athreya
> I have about 5 messages which will be passed on from my Action -> View > (JSP) using ActionMessage. But at any time only one of these five messages > will be displayed in the View. > > To accommodate every message in the JSP, Do I have to include this piece > of code repeatedly . > property="<

MockStrutsTestCase and fileupload

2005-09-15 Thread Anuradha S.Athreya
I'm trying to write a MockStrutsTestCase to upload a file onto the server and the details regarding th file will be stored in the database. I have written the test case on lines of the code provided here : http://sourceforge.net/forum/forum.php?thread_id=1265326&forum_id=121751 My problem also

MockStrutsTestCase and fileupload

2005-09-15 Thread Anuradha S.Athreya
I'm trying to write a MockStrutsTestCase to upload a file onto the server and the details regarding th file will be stored in the database. I have written the test case on lines of the code provided here : http://sourceforge.net/forum/forum.php?thread_id=1265326&forum_id=121751 My problem also

RE: MockStrutsTestCase problem

2005-10-21 Thread Anuradha S.Athreya
U will have to set the context path of ur application: setContextDirectory(new File("YOUR_APPLICATION_CONTEXT_PATH")); Regards Anuradha -Original Message- From: Kanuri, Chand [mailto:[EMAIL PROTECTED] Sent: Friday, October 21, 2005 4:03 PM To: 'user@struts.apache.org' Subject: MockStrut

RE: MockStrutsTestCase problem

2005-10-21 Thread Anuradha S.Athreya
5:46 PM To: 'Struts Users Mailing List' Subject: RE: MockStrutsTestCase problem Hi, what do you mean by YOUR_APPLICATION_CONTEXT_PATH? is that /WEB-INF/web.xml thanks -Original Message----- From: Anuradha S.Athreya [mailto:[EMAIL PROTECTED] Sent: 21 October 2005 13:05 To: &#x

Displaying messages from multiple resource bundles

2006-04-04 Thread Anuradha S.Athreya
: I have defined both these bundles in struts-config.xml Regards, Anuradha S.Athreya

RE: Displaying messages from multiple resource bundles

2006-04-04 Thread Anuradha S.Athreya
lutions limited - Bangalore Phone : +91(080) 5759-6873 Email : Rakesh.Bhat@ iflexsolutions.com -Original Message- From: Anuradha S.Athreya [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 11:10 AM To: 'Struts Users Mailing List' Subject: Displaying messages from multiple re

RE: StrutsTestCases

2006-04-24 Thread Anuradha S.Athreya
U need to set the contect path of ur application: setContextDirectory(new File(Your_Application_ContextPath)); -Original Message- From: Phil Zoio [mailto:[EMAIL PROTECTED] Sent: Monday, April 24, 2006 3:39 PM To: Struts Users Mailing List Subject: Re: StrutsTestCases You should be able