Hi Martin,
I'm not sure I understand why you need this plugin (apart from the
reloading aspect). If you have log4j.jar in WEB-INF/lib and
log4j.properties in WEB-INF/classes, it should just work.
1.) First the user is totally responsible for the configuration of the
underlying logging system,
How to get a value of an ApplicationResource's entity from java code
(not from JSP by a tag)? I guess a function for such an action should
acceps locale parameter also. Btw, resource files are being loaded only
once for the whole application (per locale, of course) or for every user
session?
--
You can get the ApplicationResource by Action.getResources(request) from
within the Action class.
Cheers,
Krishna
-Original Message-
From: Roman Rytov [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 2:08 PM
To: Struts Users Mailing List
Subject: Getting application resource
Buy Chucks Book: O'Reilly Struts
I've almost read it, and it's quite good imho.
marcus
[EMAIL PROTECTED] schrieb:
Hi all,
I want to buy a good struts manual/book. I see there's a couple on
Amazon.com. Any comments as to which ones are good?
thx
This message contains information
Hi,
It seems a simple code but It is not running:(
%
java.util.Vector aVectore = new java.util.Vector();
aVectore.addElement(SAMPLE);
session.setAttribute(aVectore,aVectore);
%
logic:iterate id=item collection=aVectore
/logic:iterate
*The stack *
We have solved our problem with null suppport from IBM, as almost usually.
They should be still asking NASA for help.
A pointer, just in case someone run in the same issue.
Connection returned by WAS pool implements
com.ibm.ejs.cm.proxy.OracleConnectionProxy, which in turns extends from
Using html:messages or logic tags, is it possible to output a header for
each property which has errors attached to it, without explicitly coding a
html:messages block for each property?
I have a form which has several fields, which are validated in the Action
class. These errors are added to the
Hi Alireza,
you should use the name attribute like below:
%
java.util.Vector aVectore = new java.util.Vector();
aVectore.addElement(SAMPLE);
session.setAttribute(aVectore,aVectore);
%
logic:iterate id=item name=aVectore
bean:write name=item /
/logic:iterate
Bye
Thomas
just change collection to name (the following code work !
%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
%
java.util.Vector aVectore = new java.util.Vector();
aVectore.addElement(SAMPLE);
aVectore.addElement(SAMPLE2);
My application is made with tiles.
As is:
---
|T | L |
---
| |
| C |
| |
| |
---
T: Title
L: Login form
C: Content
The URL for this
You can use the html:image tag.
Regards,
Miguel
-Mensaje original-
De: Murray, Christopher [mailto:[EMAIL PROTECTED]]
Enviado el: lunes, 18 de noviembre de 2002 12:28
Para: 'Struts Users Mailing List'
Asunto: html:submit -- DispatchAction
How do you customize html:submit tags to use
IMHO 2 traces in the log are better than 0 - the important thing is that you
have something you can look at when debugging. It is of course important
that the business object still throws the exception even if it logged it
(which is indeed what you are doing). (Ive had the misfortune to have to
I would like to add some request parameter in my action class , before forwarding it
to jsp page.
Is there any way to do it?
Exception handling in Java is neat when we know what we are doing. However junior
developers often find themselves with exceptions that they aren't really expecting and
don't know what to do with. With no direction from others its all to easy to use
System.out and I have even seen:
2002. november 18. 13:05 dátummal Amit Badheka ezt írtad:
I would like to add some request parameter in my action class , before
forwarding it to jsp page.
Is there any way to do it?
You'd better store the data you'd like to pass to your jsp in request as an
attribute rather than as a
. thats horrible.
I use:
catch(Exception e)
{
;
}
to make it absolutely clear (ie: that I didnt just get distracted and forget
to write the code for that block) to anyone maintaining my code that I dont
give a damn if something went wrong. hehe ;-)
As to what it has to do with struts:
Hi,
I use dynamic forms in my projects; but this time I want to upload
A file and when I use form-property name=myFile
type=org.apache.struts.upload.FormFile /
An error occurs that says that cannot assign String to FormFile.
How can I use dynamic form with this kind of objects?
Thanks,
As Gemes says, your best bet is to use an attribute for this.
I myself however also have a few places where Id really like to 'decorate'
an incoming request's parameters.
I have not tried this myself so Ive no idea if it will actually work, but
maybe one could create a class thats implements
Hi all,
I have a LookupDispatchAction that my jsp is going to. I need to
provide cancel functionality for this page. I tried to use the html:cancel
but with the property on it, it still tries to perform the validation. I
know its documented but is there a way around it? How do you skip
html:image doesn't submit a form to an action ?
-Original Message-
From: Míguel Ángel Mulero Martínez
[mailto:[EMAIL PROTECTED]]
Sent: 18 November 2002 11:51
To: Struts Users Mailing List
Subject: RE: html:submit -- DispatchAction
You can use the html:image tag.
Regards,
Miguel
A javax.servlet.Filter and javax.servlet.http.HttpServletRequestWrapper would
work for that (Servlet 2.3).
Quoting Andrew Hill [EMAIL PROTECTED]:
As Gemes says, your best bet is to use an attribute for this.
I myself however also have a few places where Id really like to 'decorate'
an
2002. november 18. 13:36 dátummal Andrew Hill ezt írtad:
As Gemes says, your best bet is to use an attribute for this.
I myself however also have a few places where Id really like to 'decorate'
an incoming request's parameters.
I have not tried this myself so Ive no idea if it will actually
this will work. I use it.
-Original Message-
From: Gemes Tibor [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 9:08 PM
To: Struts Users Mailing List
Subject: Re: request parameter
2002. november 18. 13:36 dátummal Andrew Hill ezt írtad:
As Gemes says, your best bet is to
Hi all,
While triying to submit my login form,
I have the error message below(I'm usinng Tomcat 4.0)
No action instance for path /login could be created
It seem to me that everything has been declared as it should be.
here is my strut-config and the corresponding action class.
I really don't
I am using Struts 1.1b2. Have the following problem:
I need to put a required marker next to the required fields on my form a
little red * or something. I am using a ValidatorForm for this and the
required fields are being set up in the validation.xml.
Is there any way for me to pull out the
Hi all,
Has anybody used staticJavascript attribute of Javascript tag of validator
set to true and DynamicJavascript attribute set to false
In my form page i have set staticjavascript attribute to false and
included the reference of staticjavascript.jsp
(script language=Javascript1.1
Yep. I use this one a lot myself actually. Very useful.
Just that I was after something with a bit more grunt and that allowed me to
change or remove existing parameters as well.
Kris has drawn my attention to the HttpServletRequestWrapper (in the 2.3
api) which is precisely what I was after (and
Following up with my solution, in case others have a similar question, and
thanks again to those who offered ideas. I ended up using a separate
selection window, and compromised on some JavaScript usage. Struts actions
open the new window and populate the selection list. JavaScript is used
Is it possible to use the struts tags to submit forms to different dispatch
action methods (using your own customised button image) without having to
use javascript ?
-Original Message-
From: Murray, Christopher [mailto:[EMAIL PROTECTED]]
Sent: 18 November 2002 12:46
To: 'Struts Users
Peter,
-Original Message-
From: Peter A. J. Pilgrim [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 14, 2002 8:28 PM
To: Struts Users Mailing List
Subject: Re: [OT] Where can I find a Struts / J2EE Jobs?
Chappell, Simon P wrote:
snip
All
Well I graduated from South Bank
Greetings.
Is there any known bug in BeanUtils package for automatic population of
data from JSP.
We are getting error as follows.
javax.servlet.ServletException:BeanUtils.populate()
...
root cause
java.lang.IllegalArgumentException: No bean specified.
at
Isn't this much better
} (catch Exception e) {;}
Edgar
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 7:31 AM
To: 'Struts Users Mailing List'
Subject: RE: [Struts Tip] #15 Use chained exceptions. Design
consideration.
.
Looking at your multibox logic, is the 'rol' property in the 'userDataBean' an array
of Strings? This should represent the value(s) that the user selects -- so, if the
initial setting is all boxes un-checked, this will be an empty String[].
Are you modifying/setting your ArrayList
} catch (Exception ignore) {}
Quoting edgar [EMAIL PROTECTED]:
Isn't this much better
} (catch Exception e) {;}
Edgar
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 7:31 AM
To: 'Struts Users Mailing List'
Subject: RE:
+1
-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist www.landsend.com
Lands' End, Inc. (608) 935-4526
-Original Message-
From: Kris
2002. november 18. 15:32 dátummal Gunasekaran. V ezt írtad:
Greetings.
Is there any known bug in BeanUtils package for automatic population of
data from JSP.
...
While submitting the reset() method is called which sets null to
primitive javabean. And in PropertyUtils.getProperty gets null
Hello,
i have lists with the following data
key / value
list-example
1 / Hund
2 / Katze
3 / Maus
is there a tag to exchange the key with the value? it would be great, if
i can store all key/value pairs in one List (HashMap), so they would be
referenced by listname and key...
thanks,
Andreas
I would write a tag as this is quite a customized need. Just download
the source and you should have no problem building this functionality.
Edgar
-Original Message-
From: Krishnakumar N [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 4:53 AM
To: 'Struts Users Mailing List
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 7:31 AM
To: Struts Users Mailing List
Subject: RE: [Struts Tip] #15 Use chained exceptions. Design
consideration.
. thats horrible.
I use:
catch(Exception e)
{
;
}
Greetings Tibor.
I am not setting to null. I guess from 1.1 onwards the framework calls
reset() by default. Is there anyway to get around this problem?
Regards.
-guna
-Original Message-
From: Gemes Tibor [mailto:[EMAIL PROTECTED]]
Sent: 18 November 2002 18:50
To: Struts Users Mailing
When I submit my data.
The first display with input fields is fine.
Even the HTML source code has the indexed fields in the input form
paramete[0].name, so on.
From: Christoph Kulla [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL
Yep. Its very evil. ;-)
The only time I use it in serious code is when Im actually expecting an
exception to be thrown under certain circumstances but I quite specifically
dont intend to do anything about it.
In these cases its still bad practice to use catch(Exception x) though.
One should
anyone had any experience with this. Anytime i add the onclick attribute it
crashes the page..
dz
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
2002. november 18. 15:59 dátummal Gunasekaran. V ezt írtad:
Greetings Tibor.
I am not setting to null. I guess from 1.1 onwards the framework calls
reset() by default. Is there anyway to get around this problem?
But who wrote that reset()?
reset() was called in 1.0 for every request expect
2002. november 18. 16:09 dátummal Drew Zimber ezt írtad:
anyone had any experience with this. Anytime i add the onclick attribute
it crashes the page..
I bet the stacktrace contains the error caused your crash. Read it.
Tip: check your case onclick and not onClick!
Tip #2: check your
stack trace is giving me nothing right now, im going to due some further
investigation...
dz
-Original Message-
From: Gemes Tibor [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 10:16 AM
To: Struts Users Mailing List
Subject: Re: onclick attribute doesnt work in html:img
Is it the browser or the server that is crashing?
-Original Message-
From: Drew Zimber [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 23:21
To: 'Struts Users Mailing List'
Subject: RE: onclick attribute doesnt work in html:img tag?
stack trace is giving me nothing right
I used the staticJavascript attribute to generate the javascript for me
once, then copied that into validate.js and include that in every form with
script src=validate.js/script. I haven't used the staticJavascript
attribute since.
David
From: [EMAIL PROTECTED]
Reply-To: Struts Users
serveri think i found the problem though - outdated tld tags somehow got
in there. Thanks for the help anyhow.
dz
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 10:25 AM
To: Struts Users Mailing List
Subject: RE: onclick attribute
The html:img don't have onclick function. This is because Netscape don't
support it (Explorer yes).
regards.
-Mensaje original-
De: Drew Zimber [mailto:[EMAIL PROTECTED]]
Enviado el: lunes, 18 de noviembre de 2002 16:09
Para: 'Struts Users Mailing List'
Asunto: onclick attribute
Hi Sri,
Looking at your multibox logic, is the 'rol' property in the
'userDataBean' an array of Strings? This should represent the
value(s) that the user selects -- so, if the initial setting is
all boxes un-checked, this will be an empty String[].
Yes, the rol is a String[]. It works OK
Greetings Tibor.
I did not code anything in reset(). Since I am using DynaActionForm
which gets created on the fly I do not have chance to code in reset().
The struts-config.xml looks like this
form-beans
form-bean
name=Sample3From
Hey Wendy,
This seems to be a good way of getting the context relative path without
having to worry about where the page that is referencing the stylesheet is
located (I believe I saw it on Ted Husted's site):
link rel='stylesheet' href='html:rewrite
page=//stylesheets/defaultNS4.css'
it seems that you did not used the id attribute
logic:iterate id=item name=myfs property=myArrlst
bean:write name=item property=yourProperty/
/logic:iterate
-Message d'origine-
De : vze49jqg [mailto:[EMAIL PROTECTED]]
Envoyé : samedi 16 novembre 2002 17:32
À : Struts Users
Hi there,
I wanna make users redirect(not forward) to http://www.yahoo.com , but
cannot make it...
I added the following elements in the struts-config.xml
global-forwards
forward name=finish path=http://www.yahoo.com; redirect=true /
/global-forwards
and the following code in the execute
I am upgrading from Struts 1.0.2 to 1.1b2.
I am getting null pointer exceptions in the nested:iterate tag
java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:320)
at
com.caucho.server.http.Request.getAttribute(Request.java:1459)
at
Hello all,
i would like to use template tags.
For exemple, i will define a JSP template like this :
%@ taglib uri=/WEB-INF/struts-template.tld prefix=template %
html
head
titletemplate:get name=title//title
link rel=stylesheet type=text/css href=toto.css/
/head
body
template:get
No, it's not disaster, but certain things will be quite annoying, even more than
using normal scriptlets. Your calls to html:img will have to use scriptlets for the
attribute values, and if your scriptlets need to reference variables created ONLY in
JSTL tags, then scripting variables will not
Isn't there is a contextrelative attribute in the forward/ tag where you
can set to 'true'?
-Original Message-
From: wolfgang [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 8:15 AM
To: [EMAIL PROTECTED]
Subject: How to Redirect ???
Hi there,
I wanna make users
The template tags are deprecated in 1.1 in favor of Tiles.
David
From: Jean-Baptiste Onofré [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Struts template tag
Date: Mon, 18 Nov 2002 17:08:06 +0100
Hello all,
i would like to use
Hello Struts list people
I have been scratching my head about this for a while now...
I want to be able to embed a form in several pages whose action is is to
update a property on a session bean then bounce back to the page the
form was embedded into.
The problem is generating an actionForward
That's not what the contextRelative attribute means. Here's the snippet from
the 1.1 DTD:
contextRelative Set this to true if, in a modular application, the path
attribute starts with a slash / and should be considered
relative to the entire web application
Does anyone know where I can find the source code for the Struts Scaffold?
I was able to find the binary at
http://husted.com/builds/struts-scaffold_1_0.jar, but I can't find the
corresponding source code.
Thanks! JOHN
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional
I've been looking around for code (bean/custom tag) that can do html filtering. No
luck yet. At
the moment all html entered in (for example) user comments is html-escaped when
displayed. (To
prevent naughty script tricks). It would be nice however to allow a limited set of
html tags.
Anyone
I want to be able to embed a form in several pages whose action is is to
update a property on a session bean then bounce back to the page the
form was embedded into.
I have sort of the same issue when I send people off to pick from a list of
names that match a free-form text name they've
If you are talking about stuff coming through struts tags I believe
there is a flag which allows disabling of filtering.
Edgar
-Original Message-
From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 12:22 PM
To: 'Struts Users Mailing List'
Subject: [OT]
Thanks for info,
but i'm in 1.0.2 in my dev.
I will try that i have write :)
Best regards
--
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://www.lug-beziers.org
[EMAIL PROTECTED]
--
To unsubscribe,
I rebuilt the struts.jar on my machine and the exception goes away.
What could I have done which causes struts to be dependent upon my code?
Thanks
Edgar
-Original Message-
From: edgar [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 11:17 AM
To: 'Struts Users Mailing List'
It's in the cvs repository with the rest of Struts.
David
From: Hohlen, John [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts-Help (E-mail) [EMAIL PROTECTED]
Subject: Source Files For Struts Scaffold
Date: Mon, 18 Nov 2002 11:14:52 -0600
Does anyone know
Wolfgang,
Redirect outside of an app can be done a number of ways.
One suggestion:
Map your redirect to a class that creates the forwardURL.
Put the forwardURL into request scope.
Create a JSP that does nothing but the redirect. Map to it in struts-config.
use the jsp:usebean and meta
Hi,
Never see that in struts tags, I looking in Struts user guide by I can't found
anything.
--- edgar [EMAIL PROTECTED] a écrit : If you are talking about stuff coming
through struts
tags I believe
there is a flag which allows disabling of filtering.
Edgar
-Original Message-
Another thought is that you could still use a forward element to define an
external resource:
global-forwards
forward name=external.yahoo path=http://www.yahoo.com/
forward name=external.sun path=http://www.sun.com/
/global-forwards
Then, in an Action:
ActionForward yahoo =
Dear all,
Here is my layout.jsp file:
%@ page errorPage=ErrorPage.jsp %
tiles:insert attribute=menu/
tiles:insert attribute=body/
tiles:insert attribute=footer/
The menu tile is a JSP page that could throw an exception. Now whenever an exception
is thrown on the menu tile I
There is a filter tag on bean:write, but that might not do what you want.
It might help if you were clearer on exactly what you are trying to achieve. You're
trying to put HTML tags inside HTML comment markers? Why would you want to do this?
-Original Message-
From: Emmanuel
He's wanting something that provides the functionality that Slashdot allows in user
comments: ol, li, b, etc., but is smart enough to strip out potentially harmful
code.
-= J
-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 11:57 AM
Thanx a lot...thats it.
--- Karr, David [EMAIL PROTECTED] a écrit : There is a filter tag on
bean:write, but
that might not do what you want.
It might help if you were clearer on exactly what you are trying to achieve. You're
trying to
put HTML tags inside HTML comment markers? Why
How can I get an action to check a session object LoggingUser
against the context Realm (let's say the MemoryRealm in Tomcat)?
To check that the user/pass is in the list, or to get the role
of an already logged user?
Precisely, how can I get the Realm from inside an action?
Is it a portable
...and do you know one ;)
Thanx,
-emmanuel
--- James Childers [EMAIL PROTECTED] a écrit : He's wanting something that
provides the
functionality that Slashdot allows in user comments:
ol, li, b, etc., but is smart enough to strip out potentially harmful code.
-= J
-Original
Hi all
For what it is worth.
This works in an Action:
Good for building dynamic forwards
StringBuffer sb = new StringBuffer();
sb.append(http://www.someurl/actionpath?;);
sb.append(customer= + customer.getName());
sb.append(address= + customer.getAddress());
etc..
ActionForward forward =
Ummm, no. :)
Sorry.
-= J
-Original Message-
From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 12:04 PM
To: Struts Users Mailing List
Subject: RE: [OT] Looking for HTML filter code
...and do you know one ;)
Thanx,
-emmanuel
--- James
Hello,
Usually exception that being thrown by the VIEW(JSP) are rendering related
exception.
This could be tags/Scriptlet that access resource, JavaBeans, fails.
Meaning the
Resource is not there. And when these thing happen with composite view
thing became
A bit tricky. First of all, within
Thanks, Danny, for the detailed response.
We're running Struts 1.0.x. Does it support ExceptionHandler paradigm? If so
could you please point towards some starting points.
Thanks again.
ATTA
- Original Message -
From: Trieu, Danny [EMAIL PROTECTED]
To: 'Struts Users Mailing List'
By the way, you can't do that in 1.1. After startup the configutation is frozen
(and ActionMapping.addForward doesn't exist anymore).
In 1.0.2, Struts will examine the redirect attribute and, if it's set to true,
will then examine the path attribute to see if it starts with a /. Only if it
Check CVS on Jakarta 1st or struts on sf.net.
.V
Hohlen, John wrote:
Does anyone know where I can find the source code for the Struts Scaffold?
I was able to find the binary at
http://husted.com/builds/struts-scaffold_1_0.jar, but I can't find the
corresponding source code.
Thanks! JOHN
This is a known issue and is currently being worked on in 1.1.
David
From: Kris Schneider [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
Subject: RE: How to Redirect ???
Date: Mon, 18 Nov 2002
Hello,
1.0 doesn't support declarative exception handling, but it doesn't prevent
you from
Doing so...:) Anyway, what I would do is: 1) Implement an abstract Action
have and
Abstract method execute(...) throw Exception. 2) Implement the perform(...)
method
That will call you're the abstract
What version of StrutsTestCase are you using?
from the release 1.9 readme.txt
snip/
New Features:
snip/
- Added more support for Tiles plugin. Previously, StrutsTestCase was
relying on the deprecated ActionComponentServlet; now the code uses
more up-to-date mechanisms for
Wow.
I had this working awesome ... now I get a
HTTP ERROR: 404 Not Found
RequestURI=/CMWeb/WEB-INF/pages/j_security_check
from the following jsp
form method=POST action=j_security_check
trtd colspan=2/td/tr
trtdbean:message key=login.page.form.email.label//tdtdinput
type=text
Thanks for the reply. As I stated in my message, I am in fact using
release 1.9, and had read the readme notes. That's why I'm expecting
what I'm doing to work...but it don't.
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 2:16 PM
Hi,
This definitely is helpful. As I'm not very experiences in Struts, does your
point 3 refers to
error-page
exception-typejava.lang.Exception/exception-type
location/ErrorPage.jsp/location
/error-page
construct in web.xml or is it something different? If its the same thing,
how do I
You are almost close ... :) Yes my point 3 is that mapping in the web.xml.
But
Instead of going to the JSP, location/ErrorPage.jsp/location, you would
want
To go to location/errors/catchError.do/location, which map it to a
Action that
You extended from your abstract action class. This action
Dont use struts html:something tags inside your form. bean:message and
such are ok. Otherwise, it thinks you want to use an ActionForm.
Mike
- Original Message -
From: Darren Hill [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, November 18, 2002 2:21 PM
In Struts 1.0.2, is it possible to do
bean:write name=myBean property=property(key)/
where myBean has methods
public String getProperty(String key)
public void setProperty(String key, Object value)
and there is a map backing the (get|set)Property?
thx
andy
--
To unsubscribe, e-mail:
Wow.
I had this working awesome ... now I get a
HTTP ERROR: 404 Not Found
RequestURI=/CMWeb/WEB-INF/pages/j_security_check
This doesn't look right.
Couple of possibilities I can think of.
1. Doublecheck that you have form based authentication
enabled in your web.xml
2. Try changing
okay, let me give it a try and I'll get back to you! thanks.
by the way, do you if this feature is available thru servlet 2.2 specs?
ATTA
- Original Message -
From: Trieu, Danny [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, November 18, 2002 11:54 AM
I thinks so ...
Good luck...:)
--danny
-Original Message-
From: atta ur-rehman [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 1:05 PM
To: Struts Users Mailing List
Subject: Re: Howto handle this behavior in Struts+Tiles
okay, let me give it a try and I'll get back to you!
Hi.
After updating struts and all common libs (including common-validator) from
nightly-build 2002-07-31 to nightly-build 2002-11-11 (and later on
nightly-build 2002-11-18, too), all our forms usually validated by the
Struts-Validator-Framework are not validated any more. It seems as if all
that
Hi Danny,
I'm confused already!!!
here is the abstract action class with an abstract execute method:
---
import javax.servlet.http.*;
import org.apache.struts.action.*;
public abstract class AbstractErrorHandlerAction
I have a problem with trying to write out subclass properties from
struts. I a have a class called WebappUser that contains a method
public Person getPerson(){return(_person);}
and Person then has a method
public String getLastName(){return(_lastName);}
A WebappUser object is stored in the
Does anyone have a procedure for updating an existing project to use all the
stuff from a nightly build?
So far, I delete my 'jakarta-struts' directory and unzip both of the nightly
build files (source binary) again. Then I copy all the .jar files, all
the .tld files and the
1 - 100 of 152 matches
Mail list logo