I check if session expires for each action in the
application. If the session times out, I forward the
user to index.jsp so that the user can log on again.
How do I inform the user with a message that he/she is
at the welcome page because the session has expired?
__
Thanks to all.
The image is dynamically created by user action and not creating a image file.
I implemented an action for the src and working file.
Thanks for the help.
-Yoga
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 7:47 A
1. It is a good practice to use the containers data source pool via
JNDI. Application servers like Tomcat, Resin, OrionServer, etc all
provide a "service" to the web app of a connection pool. You should not
code one, but use one.
Ex:
Context ctx = new InitialContext();
DataSource d
--- ZYD <[EMAIL PROTECTED]> wrote:
> Dear all,
>
> I'm writing my Struts application using PostgreSQL as the backend
> database. Could you give me some advice on choosing the connection
> pooling framework/methods?
>
> I wrote my own connection pooling classes, but if there are some good
> frame
I have an action that forwards to it's input parameter, which is
"/home/feedback". However, when the action does forward to it's input, the
url is .../home/feedback/index.jsp. This is the correct file, but I'd like
to the index.jsp part.
This is the output I'm getting:
...
10:32:14:014 org.apach
>>The Vector container was adapted so that it could fit as a Collection and a List.
>>Keep in mind though, that the Vector container "WAS NOT" improved
>>in the new Java 2 container libraries, but rather included only to support pre-Java
>>2 code.
you should not use vector class, vector is a l
If you can use a Servlet 2.3 web container, you could instead use the
JSTL and Struts-EL. Then, you could use the more powerful expression
language in the JSTL. You can easily do boolean (multi-element)
comparisons in the EL.
-Original Message-
From: Jitesh Sinha [mailto:[EMAIL PROTECTED
Thanks Nick.
What problem did you have with DBCP?
bruce
- Original Message -
From: "Nick Heudecker" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, November 02, 2003 11:26 PM
Subject: Re: What's the best choice for connection pooling with Struts and
Hi Bruce,
I personally prefer C3P0 over DBCP. I've had problems with DBCP in the past, and the
support for C3P0 seems to be better. You can find it on Sourceforge.
On Sun, Nov 02, 2003 at 08:56:43AM +0800, ZYD wrote:
> Dear all,
>
> I'm writing my Struts application using PostgreSQL as the ba
Dear all,
I'm writing my Struts application using PostgreSQL as the backend database. Could you
give me some advice on choosing the connection pooling framework/methods?
I wrote my own connection pooling classes, but if there are some good frameworks from
jakarta, it definitely worth a try.
A
Hi there,
1.)How do you compare one property of a bean with two values by a single
logic:equal tag?I want to achieve the following logic:
if(str.equals("astr") || str.equals("anotherstr"))
I guess logic:equal tag is for only one comparison...so what you people
think is the most efficient way t
Hello,
does anyone of you know if the Struts Tiles Framework can be used across
different separate webapps?
Granted that I had the following directory structure:
TOMCAT_HOME\webapps\forum
TOMCAT_HOME\webapps\guestbook
TOMCAT_HOME\webapps\mainsite
Could I use the tile
12 matches
Mail list logo