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
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
ation.properties file.
Can someone indicate the missing link?
Regards,
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]
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
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
start up.
Regards,
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
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
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]
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("
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()" >
>
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-
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
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
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
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
> 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="<
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
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
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
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:
:
I have defined both these bundles in struts-config.xml
Regards,
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
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
25 matches
Mail list logo