When the HTMl page is rendered on screen, all the struts controls are
rendered as normal HTMl controls. So u can refer them as document.forms
[0].cadenaDesdeText.value.
On 3/29/06, Jose Maria Tristan <[EMAIL PROTECTED]> wrote:
>
> Hi:
>
>I have a text: maxlength="10"/>.
>I need us
framework built on top
> of Jakarta POI and found it easier to just build a small set of rules into
> that framework, rather than trying to use something like validator.
>
> Niall
>
> - Original Message -
> From: "Deepa Khetan" <[EMAIL PROTECTED]>
> Se
No body has any answers or work around for this?? :(
-- Forwarded message --
From: Deepa Khetan <[EMAIL PROTECTED]>
Date: Mar 2, 2006 9:01 PM
Subject: validator framework in my Action class
To: Struts Users Mailing List
Hi
Is there a way in which i can use the val
Hi
Is there a way in which i can use the validator framework in my Action
class? Actually, i have a functionality in which the user can upload an
Excel sheet with a number of records. Now, this excel sheet needs to be in a
format and every column needs to be validated for minlength,maxlength, mask
ur page will be reloaded if u have disabled caching of the pages. Have u
done it?
On 2/4/06, Ranganathan Srinivasan <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am facing a peculiar problem with back button. When I click back button
> o=
> n
> my application, the page is reloaded instead of showing me
html:button is a normal button for which u will have to write an onsubmit
event or onclick event. html:submit will submit the form in which this is
declared.
HTH
Deepa
On 2/2/06, fea jabi <[EMAIL PROTECTED]> wrote:
>
> When to use these html:button and html:submit?
>
> both have the property att
o i will try my best to help you out.
> Thanks,
> Debendra.
>
> Deepa Khetan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How can i set values to a form-bean before the form is submitted? I have
> this form in session scope. When a user enters a particular field, another
> hidden form
Hi,
How can i set values to a form-bean before the form is submitted? I have
this form in session scope. When a user enters a particular field, another
hidden form gets submitted and the page is refreshed. The issue is i cannot
retain the values that the user has entered, after refresh. I guess, t
Hi,
I am calling an Action class and want my same JSP to get refreshed from
this Action class. I am not understnding how i can do this, without losing
the values that the user has already given. I tried putting target=null from
the Action class. But this is still opening another bowser for me.
A
ndForward("success");
>
> Other Option:
>
> Use separate JSP for displaying other fields.
>
>
>
> On 1/26/06, Deepa Khetan <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > Is there a way thru which i can populate my JSP from Action class. I
>
Did u define ur form-bean in struts config?
On 1/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Somehow I am getting ActionForm is null when one of the Action is
> called.
>
> How can I find out if ActionForm object was created after jsp forwarded to
> ActionServlet. ?
>
>
> Here is my
Hi,
Is there a way thru which i can populate my JSP from Action class. I have a
requirement, wherein, when user enters a particular value, a database call
has to made and other fileds should get populated . What i was doing is,
submit another form when user enters this particular value, call an Ac
subsequent Action Classes. Why wud this be happening??
On 1/17/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
>
> On 1/16/06, Christian Bollmeyer <[EMAIL PROTECTED]> wrote:
> >
> > Craig McClanahan schrieb:
> > > On 1/15/06, Deepa Khetan <[EMAIL PROTECTED
oh!!! i was mixing both of them!! Thanks Leon!! I will need to explicitly
set the MaxAge of the Cookie to 0, if i want it to expire on Logout!!
On 1/16/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
>
> On 1/16/06, Deepa Khetan <[EMAIL PROTECTED]> wrote:
> > yes, i also
res??
On 1/16/06, Christian Bollmeyer <[EMAIL PROTECTED]> wrote:
>
> Craig McClanahan schrieb:
> > On 1/15/06, Deepa Khetan <[EMAIL PROTECTED]> wrote:
> >> Hi!
> >> My application requires, "per-session cookie" to be enabled on client
> >> bro
Hi!
My application requires, "per-session cookie" to be enabled on client
browser. How can i determine in my java code if it is enabled or not!
Deepa
Hi,
I am facing a problem. i am having a JSP page which acts as an
Acknowledgement screen to users. The users need to take the print out of
this screen. I am providing a print button. but what i want is to change the
header gif for printing(since it is taking too much space on the page and
the end
try to put the value that you want to write within double quotes
On 12/29/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> Daniel Kies wrote:
> > greetings. I am using a bean:write tag, but it is removing carriage
> returns
> > from the result outputted on the jsp. Is there any way to avoid this
Hi,
Can i have multiple ApplicationResources.properties file?? I have different
modules in mu Application and for each module a separate struts-config.xmland
tiles-def.xml has been defined. But i am not able to define different
ApplicationResources.properties.
Please help
Regards,
Deepa
gt;
> On 12/15/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
> >
> > Deepa Khetan wrote:
> > > Is there a way to specify the order of validaions to occur using
> > > validation.xml?? I have noticed that "mask" take precedence over
> > "minlength&qu
ookie.setSecure() only encrypt data
> sent on the network wich are decrypted by the client when they are
> received. It doesn't encrypt the values stored on the client. You have
> to do it yourself.
>
> On 12/13/05, Deepa Khetan <[EMAIL PROTECTED]> wrote:
> > Hi!!
> >
Hi!!
I am not geting any help from net about this issue. So, postin this question
on this group.
I want to know exactly what difference does it make if i set
Cookie.setSecure(true)?? I am using SSL in my application. What are the
advantages or disadvantages of doing it from security point of view.
U can go for CoolMenus too
Check this out
http://www.dhtmlcentral.com/projects/coolmenus/
On 12/13/05, Antony Paul <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>I am looking for a component to create menus in Java web applications.
> I
> want to have a drop down menu with many levels and a tree me
Is there a way to specify the order of validaions to occur using
validation.xml?? I have noticed that "mask" take precedence over "minlength"
On 12/13/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> Bahadır Yağan wrote:
> > Hi,
> >
> > Is there a way to change the behavior of the validation pl
r expressions, in
> all their gory detail, I highly recommend Mastering Regular Exressions
> from O'Reilly.
>
> L.
>
> [1] http://jakarta.apache.org/oro/
>
> Deepa Khetan wrote:
> > Can anyone tell me where i can find all the Regular Expressions,
> explained
> &g
I dint understand how to copy the static javascript on the validator.xml to
another .js file? Can u please elaborate?
On 12/10/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> Tony Santinello wrote:
> > Hi,
> >
> > I'm using Struts 1.2.7 and I'm using commons-validator
> > to validate my forms. C
that made
> sense
> >>>> or not...
> >>>>
> >>>> L.
> >>>>
> >>>> Raghu Kanchustambham wrote:
> >>>>> Just wondering Laurie ... why cant I use other "validation rules"
>
r expression you can say not any of the above by putting
> in a character in the front of the character class.
> ^[^0-9a-zA-Z]*$
>
>
> This is untested, but I have used this type of matching in the past.
>
>
>
> On 12/7/05, Deepa Khetan <[EMAIL PROTECTED]> wrote:
>
em in the email gracefully.
>
> Regards
>
> >
> >
> > On 12/8/05, [EMAIL PROTECTED] <
> > [EMAIL PROTECTED]> wrote:
> > >
> > > Deepa Khetan asked:
> > > >
> > > > I have faced some problems during deployment. If
Hi,
I have faced some problems during deployment. If i have multiple
struts-config.xml in my application, i map them in my web.xml. So far, so
good!! But the problem is when i deploy the code on producion, some of the
struts-configs might be missing from the server(for the simple reason, that
they
Hi,
Have a problem with validation framework. In the "mask" attribute we specify
which characters are allowed as input. Is there any way in which we can
specify which characters are not allowed as input?
Regards,
Deepa
> Michael Jouravlev wrote:
> > On 12/5/05, Deepa Khetan <[EMAIL PROTECTED]> wrote:
> >> Hi,
> >>
> >> Just a bit of a question. Can i do some thing in Struts, which will
> enable
> >> me to show the same URL all the time, for my aplication?? i mean i
Hi,
Just a bit of a question. Can i do some thing in Struts, which will enable
me to show the same URL all the time, for my aplication?? i mean i do not
want to show in the URL which action mapping i am calling, as in,
https:// thats it, for all my actions??
Regards,
Deepa
11
}
Something of the above sort... Can i do that with the frmework or do i need
to write my own javascript??
Regards,
Deepa
On 12/5/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> Wendy Smoak wrote:
> > On 12/4/05, Deepa Khetan <[EMAIL PROTECTED] > wrote:
&
Hi,
I need sme help with validator framework.. I have a LogonForm which is being
mapped with 2 different JSPs. Both the JSPs have the password field, but the
validation for the field are diferent(The minlength and maxlength for both
the pages is different). On the basis of the value of some other
estion, I would start with that general solution.
>
> - Nick
>
> On 11/22/05, Deepa Khetan <[EMAIL PROTECTED]> wrote:
> >
> > Can i specify in my Config Files(web.xml or struts-config.xml) that a
> JAR
> > file cannot be downloaded without logging into the system??
> > Regards,
> > Deepa
> >
> >
>
>
Can i specify in my Config Files(web.xml or struts-config.xml) that a JAR
file cannot be downloaded without logging into the system??
Regards,
Deepa
Hi,
I have a problem, not related to Struts. In my application, i have an Applet
used for uploading files, by the Users. This Applet has to get downloaded on
the local machine for the User. But this can be downloaded even if i am not
loggin in and give the path for the Applet from my browser, /FTMA
in ur action mappings in struts-config.xml , u can specify the
input="" and so whenevr u want the user to return to the
input page, u can say mapping.getInput() anf forward the user to the page
they were on when they submitted the form
HTH
Deepa
On 11/16/05, Mick Knutson <[EMAIL PROTECTED]> wrot
While adding the validator configuration to your struts-config, u must be
missing some tag. check for it
On 11/11/05, eve <[EMAIL PROTECTED]> wrote:
>
> I have tiles working in my application. As i try to use the validator
> i get the following error
> which may it be the cause?
>
>
>
>
>
>
> java
Hi,
I am trying to add a parameter at runtime in ActionMapping of my Action
Class. I am using mapping.setParameter() for this. It gives an
IllegalStateException saying Configuration file is frozen. Is there a way in
which i can add a parameter at runtime??
Regards,
Deepa
In WS you need to specify the entire path of the image, as in,
//images/g.gif .. I faced this problem and it works fine if i
give the entire path
On 11/2/05, Jacob Wilson <[EMAIL PROTECTED]> wrote:
>
>
> Hi All-
>
>
>
> I have a problem with image display in Websphere environment. It works
> fin
is your form mapping correct in struts-config???
On 10/29/05, Chris Pat <[EMAIL PROTECTED]> wrote:
>
> Hello
> I am using TC5.5.9,JSTL1.1,Struts1.2 With this code:
>
>
>
> value="Value1"/>
>
>
>
>
>
>
>
>
> I have made sure my actionForm has the s/getter for
> checkbox1, checkbox2 &
Hi,
I am working for the Security of my site. Read about Cross-Site-Scripting
attacks being most common. Can anyone help me regarding what can be the best
freeware tool to test a CSS vulnerability of my site. Also, any suggestions
on how CSS attack can be avoided? We are using Struts framework.
A
Hi,
I have a observed a peculiar behaviour with Struts. We cannot use
request.setAttribute() while passing values from JSP to Action class. It
works fine if i do it from Action to JSP. but when i use it in JSP and
retreive value in Action class, it results in null. Can anyone please
explain why th
45 matches
Mail list logo