Maybe a pure-javascript solution may work for you:
http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
--
Emre Akbas
-- Forwarded message --
> From: "Zsolt" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
> Date: Sun, 23 Oct 2005
999% of the time) have jdbc code in it.
Larry
On 10/13/05, emre akbas <[EMAIL PROTECTED]> wrote:
> Hi all,
> In a well written struts application, we assume declarative exception
> handling is used. Therefore the code of the action classes will look clean
> and short (and ni
your points on this issuse. Thanks in advance.
--
Emre Akbas
Hi,
I have some general questions about connection pooling and exception
handling.
Struts suggests that developers use declarative exception handling. In
declarative exception handling, there are almost no "try { } catch() {}"
blocks in the Action classes. Exception occuring in Action classes are
h
Hi,
We know that ActionMessage class has a field to store the key of the message
but not the bundle name of the key. For (error) messages that are not in the
default message-resources, we can do the trick in the jsp file by giving the
bundle of the key like:
So far so good. But, what we sha
"
To: user@struts.apache.org
Date: Mon, 26 Sep 2005 14:31:10 -0400
Subject: Re: user Digest 25 Sep 2005 21:39:29 - Issue 6130
emre akbas wrote:
> Now, I have another problem. We have written our Struts application using
> prefix mappings, i.e "*.do". In order to use Dow
om: Laurie Harper <[EMAIL PROTECTED]>
> To: user@struts.apache.org
> Date: Sat, 24 Sep 2005 16:38:12 -0400
> Subject: Re: Struts action servlet mapping, getPathInfo() returns null
> Did you look at the documentation on wildcard mappings yet? If you use
> /do/admin/** it'll m
rest of the URL after the action's
name, in a generic manner.
-- Forwarded message --
> From: Dave Newton <[EMAIL PROTECTED]>
> To: Struts Users Mailing List
> Date: Fri, 23 Sep 2005 17:53:56 -0400
> Subject: Re: user Digest 23 Sep 2005 19:04:19 - Issue
chapter1/1.html
request.getPathInfo() always returns null.
-- Forwarded message --
> From: Dave Newton <[EMAIL PROTECTED]>
> To: Struts Users Mailing List
> Date: Fri, 23 Sep 2005 11:34:38 -0400
> Subject: Re: Struts action servlet mapping, getPathInfo() returns nu
r.do?file=/chapter1/images/1.jpg
>
> Perhaps you could explain the reasons why the above won't work, this will
> help us
> understand the problem better.
>
> Kind regards
> mc
>
>
> On 23 Sep 2005 at 15:15, emre akbas wrote:
>
> >
> > Sorry, but I
me answers...
>
> http://wiki.apache.org/struts/StrutsFileDownload
>
> Kind regards
> mc
>
>
> On 23 Sep 2005 at 11:41, emre akbas wrote:
>
> > Hi,
> > I want to do sth like the following:
> > When a user clicks the link:
> > http://myhost:8080/myapp/
Yes, to me too, getting datasource and then connection and passing this
connection object to the service layer does not seem to be a good pattern. I
said, by storing the datasource and servletcontext statically in the service
layer may make life easier.
I want to know various opinions about this to
Hi,
I want to do sth like the following:
When a user clicks the link:
http://myhost:8080/myapp/server.do/chapter1/images/1.jpg I want to get the
"/chapter1/images/1.jpg" part of the request and then serve the requested
file. "server.do" is a downloadaction.
As Laurie Harper stated in one of his pre
Hi all,
I sometimes need to access the datasource within the service layer and by
default only Action classes have access to it. In order to solve this issue,
I plan to write a plugin which will get the datasource and the
servletcontext at startup and store them in the service layer as static
varia
Hi,
I want to implement a "secure file server" using Struts. By "secure" I mean,
when a file is requested by a user, a "checkAccess" method will be called
and it would check if the user has right to access that file (datasource
will be used for this check) If checkAccess return true the file wi
Hi,
I want to know what the state-of-the-art practices about Struts validation
are. It is well-known that there are some problems in automatic validation.
Here is a good article:
http://www.reumann.net/struts/articles/request_lists.jsp Are the ideas in
this article obsolete?
As far as I under
16 matches
Mail list logo