Kevin,
A number of java application/web servers have issues with files outside of
the web application directories. For example Tomcat has a policy file that
often requires tweaking to open files in other places for reading. What is
your application server? Perhaps someone here has experience w
I want to split the validation.xml file into multiple files so some pages can be
more easily reused. If I save the new file under /WEB-INF/ and add it to the
ValidatorPlugIn "pathnames" in struts-config.xml everything works fine.
If I move the new file out into the class hierarchy and change the
Hi all,
I am displaying a list of Radio buttons using inside a
which is displaying the radio buttons properly.But when the
selected value is submitted to the action i am unable to show the selected one
in jsp.How to deal with Radio buttons more effectively (while passing values to
action )and
is Apache Slide somthing you are looking for ?
I am trying to have in my jsp page two tables :
First table : Select the package :
row1
row2
row3
...
row10
each time the user select a row, the rows in the second table change :
for example if the user click in row2 the second table will be like this :
Second Table :
In el you need not check for null like this...you can also use isEmpty
method..
It also checks for empty string I guess..
-Original Message-
From: David Durham [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 11:09 PM
To: Struts Users Mailing List
Subject: Re: How to retrieve pa
I tried this and it works...
return new ActionForward("/secondAction.do?anyEventName=OneOfParams");
the anyEventName can be anything, while OneOfParams has to be one of the
values in the parameter list in the struts config.
One possible problem is that it seems the dispatcher will simply try to
It doesn't seem to pick up the eventName. It forwards to the 2nd action
class alright, but somehow the EventActionDispatcher is told which event, is
it via a form parameter or request attribute? Which one?
On 8/10/06, kalpesh modi <[EMAIL PROTECTED]> wrote:
You can do something like
return ne
On 8/10/06, James Mitchell <[EMAIL PROTECTED]> wrote:
Looks like I'll have some time this weekend to work on this. And so
I wanted to get some feedback on this process. How do we want to do
this?
Are both Retrotranslator and Retroweaver necessary for full 1.4
compatibility? Or will using just
What browser is the user using? Are they double-clicking the submit
button? Pressing stop because it seems like it is taking too long? Can
they successfully upload the same file (or another that is similar in
size) to another web site? I would ask the user those questions.
-Max
Jon Koberstein
Looks like I'll have some time this weekend to work on this. And so
I wanted to get some feedback on this process. How do we want to do
this?
Are both Retrotranslator and Retroweaver necessary for full 1.4
compatibility? Or will using just 1 suffice? Do we use these from
the command l
My simple explanation
Reset is supposed to reset all of the form fields to their original default
values
Clear is supposed to clear all of the form fields
Anyone else?
Martin --
*
This email message and any files transmitted with
On 8/10/06, Krishna, Hari <[EMAIL PROTECTED] > wrote:
Hi
I have a registration page where i have a list of text boxes (all are
mandatory).Is it possible to show one single error message for all the
fields while highlighting all of them in RED color?
For highlighting the the textboxes with red
If I can't write it in validator easily, then I write it in the validate()
method. I use validator for required, date mask, integer, and a few others.
If I knew anything about regular expressions or struts validator's validwhen()
I'd probably do more - excuses, excuses.
So, you could say some
Caroline-
I can't speak for clear vs. reset, but if you look at the default
implementation of reset(...), it doesn't do anything - you have to
override it in your form bean to have it do anything.
However, if you want to persist the data, you can set an attribute on
the session and it will b
Adam Gordon wrote:
A, if only the taglib docs were documented in a more thorough
manner
Since I wanted to render some Struts tags based on the presence of a
parameter, I discovered the "logic:present" element and used the
"parameter" attribute. Hooray for me!
It's possible to use E
When a session ends, all data submitted have to be
cleared.
My form bean is in a session. I want to re-use the
submitted data during the session.
It seems that if I have the 'reset' method in my form
bean, the submitted data are lost when I want to
re-use the data.
What are the differences be
David-
Since I've only one checkbox, I think that's way overkill...regardless,
I should take back my prior comment about the documentation for struts:
http://struts.apache.org/1.x/struts-taglib/tlddoc/index.html has a
WARNING about how to make struts have the ability to detect unchecked
chec
You can keep the default value for the checkbox field to be "off" in the form
bean. It will be set to "on" only if the checkbox is checked on the JSP.
Thanks,
-Kalpesh
Adam Gordon <[EMAIL PROTECTED]> wrote: I'm sure this is a coding problem (they
usually are...) on the server-side:
I've got an
Adam Gordon wrote:
I've got an html:checkbox in a form and the property is mapped/spelled
correctly to the field/method in the bean. The behavior I am seeing is
that the bean property (a boolean) is not being set based on the state
of the checkbox.
I fired up Ethereal and following the TCP s
I'm sure this is a coding problem (they usually are...) on the server-side:
I've got an html:checkbox in a form and the property is mapped/spelled
correctly to the field/method in the bean. The behavior I am seeing is
that the bean property (a boolean) is not being set based on the state
of t
On 8/10/06, Medicherla Lakshmi <[EMAIL PROTECTED]> wrote:
Hi All,
I developed an application which forwards menuitems.jsp as we login and
it was working fine.
I changed the name of the jsp into MenuItems.jsp and trying to access,
it gives the following error. I felt it unable to find the c
The files aren't anywhere near 250M they are at most a few M big. The
particular files that we saw crash it were only around 200k
Monkeyden wrote:
This is where I was going with it:
Search for maxFileSize. Default is 250M, which sounds big.
http://struts.apache.org/1.2.x/userGuide/configura
Yes
The form is in session.I am resetting the form value in reset but then when
the use goes to next page where I have to show the USER entered values,I
need to show the selected check box and the corresponsding sections values.
But even though the reset method is not called when I unselect the c
In Netbeans also ..right click on the parent folder(which have jsp, java
and xml files) in projects menu(left pane) then click find .
Thanks,
Srinivas.
kalpesh modi
did u checked the war file and saw what file u have in
that and when is it modified
--- Medicherla Lakshmi <[EMAIL PROTECTED]>
wrote:
> No, i changed everywhere.
>
> kalpesh modi <[EMAIL PROTECTED]> wrote: It
> seems that you have not changed the JSP name in your
> forward. You are still forward
In Eclipse, there is an option Search -> File. This will search a particular
word in all the files.
I am not sure how to do it in Netbeans.
Thanks,
-Kalpesh
Shervin Asgari <[EMAIL PROTECTED]> wrote: No this is not correct. The problem
is that he must search all content
in all files containi
No this is not correct. The problem is that he must search all content
in all files containing menuitems with small letters. Somewhere he has
forgotten to change this from menuitems to MenuItems
Shervin
Pillay, Kiren KN wrote:
Hi
I'm not sure if grep -r does this also, but you can also use:
In web application the value of checkbox is submitted only when it is
selected otherwise it is not submitted. Your form/form-property would be
in session scope hence it is still remembering the old value.
-Original Message-
From: Hanmay Udgiri [mailto:[EMAIL PROTECTED]
Sent: Thursday, Aug
You need to reset the checkbox value in the ActionForm's reset method.
Thanks,
-Kalpesh
-
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates
starting at 1¢/min.
Hi,
Its not creating the class file for that JSP. So
its not doesn't find that file. Can You extract the
war file you are deploying and check out when is it
modified. and genareate a class for the MenuItems.jsp
and put it in that war file not using build.xml(I
think thats how you are doing it).
Hi
I have a String form field which is used as a check box.
And I do some validation based on this check box if selected.
I am having a problem,when the user selects a check box and submit.
I am getting the errors properly.
But when If I uncheck the check box and submit,the value i am getting in
f
Hi
I'm not sure if grep -r does this also, but you can also use:
find . -name '*.jsp' -exec grep {} \;
Regards
Kiren
-Original Message-
From: Shervin Asgari [mailto:[EMAIL PROTECTED]
Sent: 10 August 2006 13:53 PM
To: Struts Users Mailing List
Subject: Re: Plz Help, Urgent
You cannot
You can do something like
return new ActionForward("/secondAction.do?eventName");
Thanks,
-Kalpesh
-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
countries) for 2¢/min or less.
You cannot use find, because find does not search inside a file. You
have to use grep
Shervin Asgari - System Consultant
Medicherla Lakshmi wrote:
i tried to search in the application using "find" for any file by name
menuitems.jsp with case, it did not give me any results.
Thatz the reas
i tried to search in the application using "find" for any file by name
menuitems.jsp with case, it did not give me any results.
Thatz the reason, am not able to understand where is the problem like.
Shervin Asgari <[EMAIL PROTECTED]> wrote:
I don't think you have changed everywhere. Try searc
I don't think you have changed everywhere. Try searching for menuitems
If you have Linux then try grep -r menuitems *
if nothing, then try grep -ri menuitems *
Shervin Asgari - System Consultant
Medicherla Lakshmi wrote:
No, i changed everywhere.
kalpesh modi <[EMAIL PROTECTED]> wrote: It s
No, i changed everywhere.
kalpesh modi <[EMAIL PROTECTED]> wrote: It seems that you have not changed the
JSP name in your forward. You are still forwarding to the old JSP in your code.
Thanks,
-Kalpesh
-
Do you Yahoo!?
Everyone is raving about the all-new Yahoo
As Tejas mentioned, you can use the tag to apply the
style to the text boxes. If the error message for that particular field is
present, it will apply the style to the text field.
As far as displaying a single error message, you can again use
on the top of the JSP instead of . Inside
the
You can locate that in Drive:\Program
Files\netbeans-5.5beta2\enterprise3\apache-tomcat-5.5.17\work. But,
having going thru the exception in details - you try what Kalpesh and
Shervin Asgari mentioned.
Chandra
-Original Message-
From: Medicherla Lakshmi [mailto:[EMAIL PROTECTED]
Sent: T
Am using NetBeans bundled with Tomcat, i could not fine work folder in the ide,
but anyhow, i tried to delete the content in it. Still i get the same error.
I even tried to clean and build the project.
[EMAIL PROTECTED] wrote:
If its tomcat, worth clearing the cache. Goto work/Catalina/ a
It seems that you have not changed the JSP name in your forward. You are still
forwarding to the old JSP in your code.
Thanks,
-Kalpesh
-
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.
If its tomcat, worth clearing the cache. Goto work/Catalina/ and remove
whatever in there.
Chandra
-Original Message-
From: Medicherla Lakshmi [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 4:47 PM
To: user@struts.apache.org
Subject: Plz Help, Urgent
Hi All,
I developed
I guess you have forgotten to change menuitems.jps in your forwards.xml
file or other config files.
Because your output is saying: (wrong name: org/apache/jsp/menuitems_jsp)
Find this value, and changed it to MenuItems and not menuitems
Shervin Asgari - System Consultant
Medicherla Lakshmi w
Hi All,
I developed an application which forwards menuitems.jsp as we login and it
was working fine.
I changed the name of the jsp into MenuItems.jsp and trying to access, it
gives the following error. I felt it unable to find the class file. So,
undeployed the application and deployed
You would need to override RequestProcessor class there is
postProcessValidate() Method you can try using that for your purpose...
over there you get ActionErrors instance..if you are using tiles and
depending upon the struts version you would need to override
TilesRequestProcessor. I am not sure a
How to filter out and where to do it?Do i need to customize validation.xml?
-Original Message-
From: Vishal Seth [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 12:34 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Validation message Help
You can try filtering
You can try filtering out the error list for displaying unique error
messages. You would require a validation for each field, but to display
one message rather than duplicating them you can filter out the error
list
Vishal
-Original Message-
From: Tejas Bavishi [mailto:[EMAIL PROTECTED]
48 matches
Mail list logo