It is best to use the application server connection pool.
Do not use the Jakarta Struts connection pool.
Rajesh
-Original Message-
If you are using tomcat, then I believe you can use dbcp. (I think that's
what Riyad Kalla was talking about too..) We use dbcp but only for
connecting to
if you use tomcat, use tomcat's manager application to reload your webapp.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 04, 2004 7:46 PM
> To: [EMAIL PROTECTED]
> Subject: Reload Ressources on the fly
>
>
> Hi,
> i am quite a newbie to st
Kay,
Thanks for your reply.
>Do you have a valid "taglib" directive in your JSP?
Yes.
> Do you have both the struts.jar and strutsel.jar in your WEB-INF/lib,
Yes. both struts.jar and struts-el.jar
>and there are no other instances of those jars in your classpath?
my classpath:
.;c:\j2sdk1.4.2_01\bi
Hello there,
Does your tag has attribute
enctype="multipart/form-data"
set?
HTH,
ATTA
- Original Message -
From: "swarna" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 06, 2004 2:23 PM
Subject: file upload problem(illegal argument)
> Hi,
> I am trying to do
Hi,
I am trying to do file upload using struts1.1. I am getting
illegal argument type exception(stack trace attached below). I am struggling
to fix this since three days. I would really appreciate any kind of
help.
I am using web logic 8.1, eclipse and java for my development.
I created
Hi.
I had a html pages, where there were links to anchors in the same file.
Like this:
...
Back to anchor 1
Now I've changed the page to a .jsp page, moved it to WEB-INF and I'm using
a Struts action to call it. Consequently I have had to change the link, and
the best I have come up with so far
Navjot,
This sounds like a good design and follows suggested best practices.
>From a pure architectural perspective, I think your existing solution is best.
However if you are concerned with performance, then you may want to look into
the FastLaneReader pattern.
http://java.sun.com/blueprints/p
It may not be a Struts question, but if you're using a post-1.1
Struts build, you may find the DigestingPlugIn an easy way to put
together lists for use in menus.
The DigestingPlugIn simply uses Digester to process an XML file and
put something in the application context; the simplest possible
Model 2 / MVC / Front Controller are all the same thing. In Struts the
"Front Controller" is the "ActionServlet", it
receives/handles/dispatches every single request that comes into your
web app. You write actions that are like units of functionality, then
specify in a mapping file the relation
This doesn't necessarily sound like a Struts question, so I'll answer it
in the general terms:
1) Create your ResourceBundle for that properties file containing all
your measurement information, then from that get the enumeration from
"getKeys" then cycle over the keys getting the values, doing
Hey Joe that length function looks like just what I wantedI didn't
want to do scriplets because of the possibility of a NPE if the session
timed out and the list wasn't in the session, I want something that
gracefully handles the missing item and I thought a custom taglib might
be overkill.
At 5:15 PM -0700 6/5/04, Riyad Kalla wrote:
I'm trying to do something like:
but I'm obviously getting an exception on size because it doesn't
follow JB naming conventions. How do I call this method? Do I NEED
to use EL for this?
One of the unfortunate shortcomings of the Collections APIs i
Hi,
Struts project is for MVC. Is there a project out there that implements
Front Controller pattern?
Thank you.
Yaakov Chaikin
Software Engineer
BAE SYSTEMS
301-838-6899 (ph)
301-838-6802 (fax)
-
To unsubscribe, e-mail: [EM
Hi Shoaib,
We have done such thing,
for client side u need to have addNew row javascript.
mapping those fields to form
what you can do is you can have arrays declared in form bean,
in your jsp
when you write
instead of this now here you specifiy indexed="true"
it will generat
14 matches
Mail list logo