Thanks for your answer. If the approach i'm trying now doesn't work, I
certainly going to try that one. But it almost works. The action gets
called, and it puts the right names in the request.
What I want to do now is to put in the JSP-page links to a page (viewfile)
which shows the file in que
Hi,
I want to list all the files in a directory.
How do I start this?
I assume I have to make an action:
The action then creates an array of Strings (so String[]).
and puts it in the request (so request.setAttribute("files",stringArray);)
Then I have to make the jsp-page which u
a filter, see
org.securityfilter.filter.SecurityFilter in CVS at:
http://cvs.sourceforge.net/viewcvs.py/securityfilter/securityfilter/src/shar
e/org/securityfilter/filter/SecurityFilter.java?rev=1.23&view=auto
Regards,
David
-Original Message-
From: Brij Naald [mailto:[EMAIL PROTECTED]
Sent: Saturday, D
My application needs to know the path of the servlet which is going to be
called.
Therefore the filter does:
setLastServlet(((HttpServletRequest)request).getServletPath());
and then the filter invokes the servlet wtih a wrapper around its request
The wrapper overrides the
public Object getAttribu
Hi,
I'm trying to work with a subclass of requestprocessor. Therefore I add
in the
struts-config.xml.
How simple this looks, it doesn't work.
When I add this line to the struts-blank config-file, the end of the file
looks like this:
;
But when I start tomcat, it gives an exce
Thanks for all the answers. The problem was indeed that i used perform
instead of execute :-s
_
Kies nu de Site Van Het Jaar en win prachtige prijzen!
http://www.sitevanhetjaar.be/
--
Not unless you would like to try posting
non-private parts of your action class for list members to review.
In advance: thanks for all the work you put in some 'newbie'-problems!
I've checked the "success"-issue, but this was'nt the problem.
Here are the java-files
**
* Evaluati
No, that isn't the fault. Thanks!
What is the signature of your execute() method? I occasionally click on
the
wrong signature in my Eclipse IDE and use ServletRequest/ServletResponse
instead of HttpServltRequest/HttpServletResponse.
Regards,
David
I just tried it, but I don't see an solution in this.
The problem is that the execute() of EvaluatiePreAction never is called.
The output of the mapping.findForward().getPath() is /EvaluatiePre.do (which
seems to be correct)
Thanks for the answer!
/EvaluatiePre.do
Hvae you tried logging the path
Hi,
i'm trying to prepopulate a form. To do this I followed the advice on this
list to look at the mailreader-app that comes with struts. I also tried
other sollutions posted here, but still i really can't get it right.
I started from the code of the logon-example which came with struts. This
o
10 matches
Mail list logo