Antonio Petrelli wrote:
MC Moisei ha scritto:
When I use html:form with tokens the hidden token is wrapped by div.
Is there a reason for that ? It messes up my layout and seems that
Firefox is most affected by the div...
form name=editForm method=post action=edit.do
divinput type=hidden
Hi All,
I had problem..
I am trying to implement client side validation using Validator FRamework.
I have added validator-rules.xml, and validation.xml, in my web -inf file.
And made following entry in validation.xml
formset
form name=runCommandForm
field property=commandId
Hi,
I like to avoid to users can run the application in a moment. A user
can only have one application running in a moment.
Now i manage the session using jsessionid and expire session.
session-config
session-timeout10/session-timeout
/session-config
There are a better form to avoid these
HI Friends
i am using validation framework with struts at fontend
but the validation is not working properly
first-time validation is taking place at server side ( displaying errors on
window)
second-time onwards it is taking place at client side (getting alert)
why these all?
this is my code:
Hi
i used validator and i got problems with validWhen, i wrote validWhen
with caps and until i change to validwhen it didn't work properly.
Please send us the struts-config.xml or the action you use, maybe the
problem is there.
El mar, 05 de 09 de 2006 a las 13:05, Mallik escribió:
HI
Hi friends
--
this is my Action Login.java
package com.pack1;
import org.apache.struts.action.*;
import javax.servlet.http.*;
public class Login extends Action
{
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest
HI All..,
I am developing an web application in Struts. I want to give the security for
the application
like
-- if the session present(user is logged in) then only requested pages should
display otherwise redirect to login page.
In this application all pages are secured.
Anyone help me..
HI,
Have a look at
http://www.roseindia.net/struts/struts_validator_framework.shtml
In this tutorial you will learn how to use Struts Validator Framework to
validate the user inputs on the client browser.
Regards
Deepak Kumar
http://www.roseindia.net
-Original Message-
From: Mallik
That implies I cannot have divs without class or id...
David Grundberg wrote:
Antonio Petrelli wrote:
MC Moisei ha scritto:
When I use html:form with tokens the hidden token is wrapped by div.
Is there a reason for that ? It messes up my layout and seems that
Firefox is most affected by
MC Moisei wrote:
That implies I cannot have divs without class or id...
David Grundberg wrote:
Try to specify the stylesheet for this specific tag to display:none;
It should remedy the problem.
Well, I suppose you'll have to use some tricks to make it work.
div class=hidedivs
ups, sorry i thought you were using dinaform
sorry
El mar, 05 de 09 de 2006 a las 13:13, Jorge Martín Cuervo escribió:
hi
why you use
com.hns.nme.frontend.apps.cmdexecution.form.SelectCommandForm instead
java.lang.String in form-bean type?
El mar, 05 de 09 de 2006 a las 10:48, sheetal
Quick question,
I'm using struts 1.2.9 and I'm attempting to configure tiles.
In some online documentation files I've found, it outlines how tiles.jar
should be included with my struts deployment, however I don't see tiles.jar
anywhere in my struts related files. Are the tiles objects
Ignore that last message. I see the tiles package in the 1.2.9 API.
The tld file still needs to be included, though, I take it - and I need a
tiles-config.xml file.
Is there anything else I'm missing to get tiles running on 1.2.9?
Thanks,
Darren
-Original Message-
From:
Add an init-param to the ActionServlet
Add the plug-in the struts-config.xml
Add the taglib directive to the JSP pages using tiles.
http://struts.apache.org/1.x/struts-tiles/installation.html
On 9/5/06, Darren Hall [EMAIL PROTECTED] wrote:
Ignore that last message. I see the tiles package in
You could override the processPreprocess or processRoles method of
RequestProcessor. If you only need to check for a session, more likely the
former. If you have more fine-grained security (like role-based screens)
then you could do it in the latter.
On 9/5/06, SrinivasaReddy [EMAIL
sheetal wrote:
Hi All,
I had problem..
I am trying to implement client side validation using Validator
FRamework.
I have added validator-rules.xml, and validation.xml, in my web -inf file.
And made following entry in validation.xml
formset
form name=runCommandForm
field
Data Structure - Initialize a static map somewhere (perhaps the Servlet).
Verification - For every login, check the map to see if the supplied
credentials exist.
Clean up - Implement HttpSessionBindingListener to remove the credentials
from the map when the Session expires.
On 9/5/06, Pedro Del
Everything looks OK so far, based on a quick scan through. What does the
rest of your login.jsp look like? In particular, what does your
html:form tag look like and where is the html:javascript tag?
You specified staticJavascript=false, so where are you importing the
static Javascript from?
On 9/5/06, Monkeyden [EMAIL PROTECTED] wrote:
http://struts.apache.org/1.x/struts-tiles/installation.html
Now I see the reference to 'tiles.jar'. That documentation is for
Struts 1.3, in which we've split the distribution into several jar
files: struts-core, struts-tiles, struts-el, etc.
Hi,
In struts, I have an action Act1 that forwards to a display page Page1. On that
page there is a submit button whose action act2 forwards to display page Page2.
I need to modify Page1 in such a way that I add an additional submit button
whose action Act1A forwards to display page Page1A. On
You have many options:
1. The filter route like http://securityfilter.sourceforge.net.
2. As suggested override how the process works. In older versions of Struts
you can do as suggested and override one of the process methods (I also
recommend processRoles) while in some (not sure which)
I'm not crazy about #3 mainly because it's more the obligation of the front
controller and not the task controllers. There is no way to enforce the
call to super at the task level.
On 9/5/06, David Friedman [EMAIL PROTECTED] wrote:
You have many options:
1. The filter route like
which one is preferable?
When I posted here for pagination/sorting an year ago, I was pointed towards
displaytag.
I see that struts layout tag does these too.
which one is preffered to use? Thanks.
_
Get the new Windows Live
Personally, I would suggest Displaytag because you could easily use it with
Struts 2.0 when it comes out and not have to worry about how long it might
take for Struts-Layout to update their code base. I suppose that would only
matter if you are considering eventually upgrading to Struts 2.0
Hi,
In struts, I have an action Act1 that forwards to a display page Page1.
On that page there is a submit button whose action act2 forwards to
display page Page2.
I need to modify Page1 in such a way that I add an additional submit
button whose action Act1A forwards to display page Page1A.
On 9/5/06, Help My PC! [EMAIL PROTECTED] wrote:
Hi,
In struts, I have an action Act1 that forwards to a display page Page1.
On that page there is a submit button whose action act2 forwards to
display page Page2.
I need to modify Page1 in such a way that I add an additional submit
button whose
Hi,
Can anybody help me to understand action's parameter usage. Can you give
me a simple example like:
action parameter=reference to who and for what? ... /
Thanks
Fei Li
MDA/GSI St Hubert
Phone: 450 462 6970
Fax: 450 462 6998
email: [EMAIL PROTECTED]
http://struts.apache.org/1.x/struts-extras/apidocs/org/apache/struts/actions/DispatchAction.html
Fei LI wrote:
Hi,
Can anybody help me to understand action's parameter usage. Can you give
me a simple example like:
action parameter=reference to who and for what? ... /
Thanks
Fei Li
MDA/GSI
Or to put it simply: The parameter field is for your individual use. It
allows you to put information in the action config which you can retrieve in
your action to use as you see fit. Two good examples are DispatchAction and
ForwardAction. DispatchAction uses it to determine which method to
Thanks David, I frankly forgot it was used for anything other than
DispatchAction :)
Frank
David Friedman wrote:
Or to put it simply: The parameter field is for your individual use. It
allows you to put information in the action config which you can retrieve in
your action to use as you see
I definitely agree... I remember reading it at some point last year (for
what I don't remember) and learning all sorts of neat little things.
Definitely a good read for any new developers.
Frank
David Friedman wrote:
Frank,
I had the same question when I was learning Struts. I had to read
David Friedman wrote:
You jogged my memory and I have a solution from the Appendix of Struts In
Action. Version 1.1 and onward (possibly even in 1.0), struts
ActionMappings have had two attributes: prefix and suffix. The are from
the ActionConfig class but carry over to the ActionMapping class
Laurie Harper wrote:
sheetal wrote:
Hi All,
I had problem..
I am trying to implement client side validation using Validator
FRamework.
I have added validator-rules.xml, and validation.xml, in my web -inf
file.
And made following entry in validation.xml
formset
form
33 matches
Mail list logo