IU have a simple struts application. I've begin with a login page, and a list, where
you can add, edit or delete items in this list. The list is composed of 2 datas (a
number and a string). The add function run OK, the delete function too. But the edit
function is a bit harder to run... I've the
I have a web-app that uses the basic stuts stuff: form
checking, mappings, etc. No hardcore or advanced
features. It works fine in Struts 1.0.2 and after
upgrading and making the minor tweaks, also on 1.1.
But is it necessary to move up to 1.1? What do I gain?
Is the implementation of the function
I just converted a Struts 1.0.2 application to Struts
1.1. The first thing I noticed was the increased level
of logging. I read a few threads and the commons
documentation, but I cannot seem to disable the
logging, or at least set it to another level.
I read the commons-logging.properties file sho
Yes..."NAMING" property is already there in the resource properties file...
This is my global forward mapping..
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 12:19 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Error Message F
Did you define a property called "NAMING" in your resource properties file?
-D
- Original Message -
From: "Anurag Garg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 06, 2003 11:36 PM
Subject: Error Message From Action Class
> Hi All,
>
> In my Action class, If i get an
Hi All,
In my Action class, If i get any exception I am populating my ActionErrors
object and passing that object in saveErrors method of the Action Class.
Then I redirect the navigation to an error page defined in global forward
where i am using to display the error message.
Hey Andrew, in fact, your hacky way works out pretty well. I use the
hastable to hold the ActionContexts. I am going to do the hammer test to see
if it hurts anything on the performace.
Thanks, Andrew!
Billy Ng
private final static HashTable threadTable = new HashTable(100);
public ActionForwa
Hi,
could anyone tell me the meaning of depends attribute of validator element
in validator-rules.xml?
- Original Message -
From: "Kelvin wu" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, July 04, 2003 6:40 PM
Subject: question about depends attri
Use a plugin.
At 10:09 AM 7/7/03 +0530, you wrote:
Hi,
Is there any ways to achieve db connection pooling and access of such
pooled connection though jndi in struts action classes.
Regards,
Jailani.S
-
To unsubscribe, e-mail:
I am trying to write some images to a web page, where the image source comes from a
servlet.
The only thing I can get to work reasonably is to use a raw html tag, with
struts tags to write all the parameters - for example: (note 'cell' is a bean with
various useful properties including a paramet
In web.xml try
/dynaform/ApplicationResources
-Original Message-
From: Saroj Kumar Choudhury [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 7:28 AM
To: Struts Users Mailing List
Subject: Missing message Exception
Hi,
I am new to Struts World. I wanted to do one Login Applicati
That depends upon the Server Infrastruture. U can implement connection pooling and
Datasournce throught the strutsconfig
datasournce seqment.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 10:09 AM
To: [EMAIL PROTECTED]
Subject: db connec
why not?
Simply configure one jndi data source in struts-config and you are on.
HTH
-navjot
|-Original Message-
|From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
|Sent: Monday, July 07, 2003 10:09 AM
|To: [EMAIL PROTECTED]
|Subject: db connection pooling
|
|
|Hi,
|
|Is there any ways to
Thanks Craig,
Reversing the order of constraints does work. I should have RTFM.
But now, there is another problem.
When "user" is authenticated once, and then i accessed a resource that needs
login to "admin". It simply throws 403.
Can't it throw LOGIN PAGE? I can replace the default 403 page wit
Hi,
Is there any ways to achieve db connection pooling and access of such
pooled connection though jndi in struts action classes.
Regards,
Jailani.S
This e-Mail may contain proprietary and confidential information and is sent for the
intended recipient(s) only.
If by an addressing or transm
Ahhh... this might interest you.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5395
Its an enhancement request for struts (to have an ActionContext object) that
Ted apparently logged a while ago and has re-opened to look at now that 1.1
is out the door.
Im wondering though if its worth logging
On Thu, 2003-07-03 at 16:42, Craig R. McClanahan wrote:
>
>
> Why are you trying to mess with the container's implementation of
> authentication at all? Why not just write a Filter that does an
> RD.forward() to some safe place if it sees that the session does not
> contain the right stuff (bec
Oh-oh. Another limitation? WYSIWYG HTML anymore? Anybody?
(nesting rocks indeed)
Denis.
Andrew Hill wrote:
Another plus to the struts tags is the nesting ability, which imho rocks!
(Though Im not actually using JSP so had to render the nesting details the
hard way...)
-Original Message-
Hi,
I am new to Struts World. I wanted to do one Login Application, using
DynaValidatorForm. while accessing http://localhost:7001/dynaForm I am
getting the following error message:
<[WebAppServletContext(3512032,dynaF
orm,/dynaForm)] Root cause of ServletException
javax.servlet.jsp.JspExcep
Another plus to the struts tags is the nesting ability, which imho rocks!
(Though Im not actually using JSP so had to render the nesting details the
hard way...)
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]
Sent: Sunday, 6 July 2003 05:02
To: Struts Users Mailing List
Subj
I'm using Struts 1.0 and I have written some validations in the validate() method in
ActionForm . For example, some of the fields on the form are mandatory and so if the
form is submitted with giving input in those fields, appropriate messages are
displayed. This is working fine in Internet Expl
Yes. Its a big nuisance.
Ive had to stick with IE5 and hope if it works in 5 it works in 6. Not
always the case , but more so than the other way round!
Glad to say Ive had no trouble running NS6 and Mozilla together on the same
machine - at the same time too.
-Original Message-
From: Da
--- Adam Hardy <[EMAIL PROTECTED]> wrote:
> Well, I just upgraded to IE6 (SP1) and I don't get any errors for credit
>
> card nor required, nor in fact any errors at all. I just checked to make
>
> sure javascript errors were notified.
>
> I seem to have wiped out IE5.5, which I wanted to keep f
1.) Probably not ;-)
2.) Yes.
Ive never tried my hacky way - I only thought it up while I was thinking
about your problem, so there is a good chance that it wont work as expected.
(And worse = if it fails its likely to fail in a subtle way that is hard to
reproduce consistently as it will probably
I have similar questions. What is the syntax of the
tag?
Just take the example given by you, are the codes
shown below correct? Will the default selection
shown?
JPJ
--- leonZ <[EMAIL PROTECTED]> wrote:
> I make it more clear here:
>
> A normal html:
>
> first
I make it more clear here:
A normal html:
first
second
third
how can I use the 'SELECTED' to set a defualt option with struts tags.
...
"leon" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am a beginner of struts. I can't use t
you can define it to your forward in your struts-config, instead of forwarding
it to a page, forward it to an action. but this is not a good practice
though.
On Monday 07 July 2003 10:31 am, Benjamin Stewart wrote:
> Can you point me in the right direction, none of my books talk about it,
> cant
Can you point me in the right direction, none of my books talk about it,
cant find examples etc.
Ben
Dan Tran wrote:
Yes;)
- Original Message -
From: "Benjamin Stewart" <[EMAIL PROTECTED]>
Newsgroups: Struts
Sent: Sunday, July 06, 2003 6:59 PM
Subject: Action forward to another action
Yes;)
- Original Message -
From: "Benjamin Stewart" <[EMAIL PROTECTED]>
Newsgroups: Struts
Sent: Sunday, July 06, 2003 6:59 PM
Subject: Action forward to another action without form
> Greetings,
> I have a form that submits values. From the Action class I would (in
> some circumstanc
Hello, struts-user,
I have read the strut example again and again.Attempt to use the simple
validate in my validateform.But it failed,I still
can not find the reason,so do any one send me the example which is only need
to validate the field required.
Thanks!
Best regard
Greetings,
I have a form that submits values. From the Action class I would (in
some circumstances) like to go directly to another action class and then
forward to a view. Is this possible ?
Thanks
Ben
-
To unsubscribe, e-mail:
I am a beginner of struts. I can't use the 'selected' property of the select
tag in struts to set the default selection like I used it in a normal html.
It's happened in 'checked' property of struts radio tag. Could you tell me
how to set a defualt selection.
---
Hello,
I am trying to figure out how ActionForm and validate()-function work. If I
returns an error (ActionErrors) from my ActionForm it fail (se below for
output). Returning null everything works fine. I thought that when returning
an error I would return to my loginpage automatically. But I don
Well, I just upgraded to IE6 (SP1) and I don't get any errors for credit
card nor required, nor in fact any errors at all. I just checked to make
sure javascript errors were notified.
I seem to have wiped out IE5.5, which I wanted to keep for testing. I
installed IE6 in a different directory, b
hi all,
i have a Map-backed action Form which contains an HashMap
the ActionForm is as follows
public MapActionForm extends ActionForm {
HashMap table = new HashMap();
public void setValue(String key, String value) {
...
}
public Object getValue(
> "Richard" == Richard Mixon <[EMAIL PROTECTED]> writes:
Richard> Where can I find instructions on how to use the struts-el version of
struts
Richard> instead of the standard struts "lib" files? The README does not cover this
Richard> and that seems to be all there is in the way o
36 matches
Mail list logo