register.jsp is the view page, and when the user click submit button,
it will go to result.jsp based on struts-config.xml. The followings
are the code fragment of each significant files.
My question is for result.jsp, I am now using request.getParameter("name")
to get the name property specified
Duong BaTien wrote:
First, thanks for an extra help.
No problem... I hope I can help further :)
The whole idea is to use SSL for confidential pages such as logon,
change username / password, edit profile with confidential data. Other
time some resources may just be protected by roles. The ide
Hi,
would like to clarify with those who use displayTag:
is it a must to put list of objects into session to be able sue sort
and export function ?
thanks
lixin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Thank you all for the replies...that was i'm looking for ;)
Is it the same app that will switch from SSL to non-SSL in parts? I
noticed at the end where you say "... I want to use Shale for both
non-SSL and SSL applications", that's why I ask.
I just spent a couple of weeks implementing an app using J2EE security
on Websphere... since the security con
Thanks again, Laurie, but for some reason it still returns false every
time, even if there is something under that key. I'm pretty sure I
followed your directions exactly:
Although I did have to pull the key back out of the request in my secon
hihi Leandro,
if you are using Tomcat 5 you should be able to use EL (Laurie's first
suggestion)... make sure your web.xml is declared with version 2.4 dtd
to have EL on by default.
if you don't have EL, you can use the Struts-EL tags which give you the
EL support! (these are available in the St
Hi,
I would like to use alternate resources file for errors
Any option available to pass bundle attribute to ActionError class or
ActionMessage object
Thks&Rgds
--Venkat
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
Leandro_Dorileo/[EMAIL PROTECTED] wrote:
onchange="javascript:form.action='value="myFormBean.myProperty"/>';form.submit();">
You can't nest JSP custom tags like that. If you can use JSTL, this will
work:
If you can't use JSTL you'll have to resort to a runtime expression:
HTH,
L
On 6/10/05, Duong BaTien <[EMAIL PROTECTED]> wrote:
> Hello Craig:
>
> Using Shale, could you show how to code simple container-managed login
> form with j_username, j_password, and j_security_check and shed some
> light on the following attempt.
>
> Specifically, i am attempting to use simple to
http://www.google.com/search?q=html+special+space+character
Laurie Harper <[EMAIL PROTECTED]>
Sent by: news <[EMAIL PROTECTED]>
06/10/2005 02:59 PM
Please respond to
"Struts Users Mailing List"
To
user@struts.apache.org
cc
Subject
Re: [OT] using JSTL with escapeXML="false" for previewHTML
What's an 'html special space char'?
Lixin Chu wrote:
Hi,
I am trying to preview a piece of html content. but the c:out with
escapeXML=false can not handle space char correctly.
is there an easy way to replace the ' ' with html special space char ?
thanks
lixin
---
Leandro
Read this article about accessing a bean via JavaScript via home interface
JNDI name
http://docs.jcu.edu.au/pm/manual/bg/ejbscrip.htm#35920
HTH,
Martin-
- Original Message -
From:
To:
Sent: Friday, June 10, 2005 2:55 PM
Subject: [HELP]onchange in the tag
Hi all!
I have a
Hi all!
I have a tag and in the onchange I need pass a little
javascript, till here no problem, but, I need put in the middle of this
javascript a string from my formbean.
I thought some thing like this:
';form.submit();">
But certainly it does not work, but I couldn't thing and find anythi
If a redirect rather than a forward is acceptable, you can also look at
ActionRedirect (new in 1.2.7).
ActionForward fwd = mapping.findForward(...);
ActionRedirect ar = new ActionRedirect(fwd);
ar.addParameter("name", f.getString("name"));
return ar;
L.
Michael
You want to use the name of the attribute the resource bundle is stored
under, not the name of the properties file. You're not specifying it in
your Struts config so you want the following:
...
L.
Chris Loschen wrote:
Thanks Laurie,
I tried to set it up this way, but wasn't able t
The will always look for an ActionMessages (in any context)
identified by the "key" property configured in the exception element in
your struts-cfg, if no such object is found then nothing is done.
Have you configured your application init-param in your web.xml?
Perhaps you might review your s
Hi,
Does struts1.1 support multiple validation files and multiple resources
Thks&Rgds
--Venkat
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Madigan !
Thnx for ur solution.
It is working now with styleId
-Jeevan
-
Discover Yahoo!
Get on-the-go sports scores, stock quotes, news & more. Check it out!
Thanks Laurie,
I tried to set it up this way, but wasn't able to make it work. My
struts-config file defines the message-resources parameter like so:
So I tried putting that in, and also tried some variants like
org.apache.struts.ApplicationResources and
org.apache.struts.util.MessageRe
On 6/10/05, Duong BaTien <[EMAIL PROTECTED]> wrote:
> Hello Craig:
>
> Using Shale, could you show how to code simple container-managed login
> form with j_username, j_password, and j_security_check and shed some
> light on the following attempt.
The JSF standard form and input components don't c
Thanks for the information, I have a demo to give on Monday so I took the
easy road and hacked a solution. It turns out mailto:[EMAIL PROTECTED]
Sent: Friday, June 10, 2005 5:37 AM
To: 'Struts Users Mailing List'
Subject: RE: [Tiles]
See intermixed
> -Original Message-
> From: Ray Madi
See intermixed
> -Original Message-
> From: Ray Madigan [mailto:[EMAIL PROTECTED]
====
>
>
> I read the paper
>
> http://www.browsermedia.com/devcorner/whitepapers/tiles201.jsp
>
> which explains how to add attributes into a tile of a
> definition then it
> invokes the page.
>
>
Erol-
a comprehensive tutorial including how to setup struts-config.xml
validation.xml as well as code can be viewed at
http://www.oracle.com/technology/oramag/oracle/04-jan/o14dev_struts.html
HTH,
Martin-
- Original Message -
From: "croffman" <[EMAIL PROTECTED]>
To: "Struts Users Mail
I appreciate people responding to let me know who can make it. I'm
sure it generates more interest when people find out that Craig and
other Struts Committers (e.g., Don Brown) are planning to attend.
Which is good.
For the majority of the folks on this list that won't be attending the
gathering,
What does the term "normalize" mean in this context?
I thought the issue being discussed was parsing an uploaded filename to
get just the filename sans path, as IE sends... where uploads from Windows
to a Unix server means that if you use the File.pathSeparatorChar to parse
the name, you would rea
Hi,
I am trying to preview a piece of html content. but the c:out with
escapeXML=false can not handle space char correctly.
is there an easy way to replace the ' ' with html special space char ?
thanks
lixin
-
To unsubscribe, e
Something like this:
ActionForward af = mapping.findForward("showParentForm");
return new ActionForward(
actionForward.getName(),
actionForward.getPath() + "?drawing_id=24",
actionForward.getRedirect()
);
You must create a new instance of ActionForward, you cannot change
existing one, since
In your code in action classes, call the form.validate(mapping, request)
method
Hope this helps.
- Original Message -
From: "EROL TEZCAN" <[EMAIL PROTECTED]>
To:
Sent: Friday, June 10, 2005 9:30 AM
Subject: enabling server-side validation
> Hi,
>
> How can I enable server-side validat
Hi,
How can I enable server-side validation, in struts applications?
For client side validation, I am using before
tag, and in tag onsubmit="return validateOrderFormBean(this)" ,
and applying
For server-side validation, which changes I need to do?
Thanks for all.
Erol
Hello,
I'm trying to get working tag but I fail in this task...
The webapp has the following files:
- LoginAction.java (extend Action)
- LoginForm.java (extend ActionForm)
- Login.jsp
Here an extract of the struts-config.xml:
First the
I think I already said "Yes" to this one.
--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston,
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497
> -Original Message-
> From: Don Brown [mailto:[EMAIL PROTECTED]
> Sent: 09 June 2005 17:44
> To: St
Ah, ha. I see now. I checked the upgrade page, but it did not
say anything about an upgrade from 1.2.6 to 1.2.7. We had been
running 1.2.6 for several months.
--- Niall Pemberton <[EMAIL PROTECTED]> wrote:
> You need to deploy the new validator-rules.xml as well. Most
> of the shipped
> vali
Hello Craig:
Using Shale, could you show how to code simple container-managed login
form with j_username, j_password, and j_security_check and shed some
light on the following attempt.
Specifically, i am attempting to use simple tomcat 5.5.9 SingleSignOn to
dynamically switching between SSL appli
Hi all, I have a configuration like this one below:
now inside the SubmitDrawingUploadAction class usually i just need the
following statement to forward to DrawingUpdate.do :
return mapping.findForwards("showParentForm");
the question is, what if I want to add extra parameter?? so it would
You need to deploy the new validator-rules.xml as well. Most of the shipped
validations method signatures have changed and without the new
validator-rules.xml you are probably getting a whole load of exceptions in
your logs, as well as the validators not working.
As the release notes for 1.2.7 ind
See intermixed
> -Original Message-
> From: Ray Madigan [mailto:[EMAIL PROTECTED]
====
>
>
> I read the paper
>
> http://www.browsermedia.com/devcorner/whitepapers/tiles201.jsp
>
> which explains how to add attributes into a tile of a
> definition then it
> invokes the page.
>
>
37 matches
Mail list logo