Actually I'm using a javascript which needs to define form name. And in
struts, when you define form name it is mandatory to define type too.
I just change the scope in struts-config from request to session
and it is working fine now. But question is, why it is not working with
scope=request?
Can we do instance validation for particular field in SHALE? Like onblur()
event.
Please let me know
Regards,
JEEVANANTHAM PARAMASAMY,
Software Engineer,
3i - INFOTECH Limited,
Alwarpet,
Chennai - 600018.
Phone: 044 24678000 extn:418
Cell no: 09840933967
--
Greetings!
ICICI
Hi,
The myForm.jsp is called when a user clicks a link in another JSP.
Here is the flow:
1. User click the link in home.jsp .
html:link page=/do/SetUpMyFormMy Form/html:link
2. Action, SetUpMyForm is called and it actually set's up some variables,
pull-down menues and then it return
Hi,
I was trying to check out this implementation of Synchronizer Token
pattern in Struts.
But I am getting an error while trying to run the example code given
in the Java tip for the same.
java.lang.NullPointerException
org.apache.struts.util.RequestUtils.pageURL(RequestUtils.java:1441)
Hello gurus,
I want to use a wizard type of flow where in one screen there is File
Upload. As this is wizard, i was using session scoped formbean with one
property formfile. But seems like formfile is not serializable. What is
proper way of handling this?
Thanks!
Kedar
I can't say I've been very active on this list, but I used to read it
carefully. I find that I am now only giving it a cursory glance. I
originally joined because I had intended to create a wedding guest
management webapp for my own user for planning my wedding. (I wrote a
prototype with JSP and a
On 12/22/05, Vikrama Sanjeeva [EMAIL PROTECTED] wrote:
Actually I'm using a javascript which needs to define form name. And in
struts, when you define form name it is mandatory to define type too.
I just change the scope in struts-config from request to session
and it is working fine now.
Hi there,
I am using 1.2.7 version of struts. Is there any way
using which I can access global constants declared in
validation xml file inside my actions. The reason
being I need to apply regular expressions explicitly.
Regards,
Ramesh.
__
Do
I am having an issue getting Tiles to work. I am totally new to Struts
so bear with me. The issue is I don't see anything. I got to home.do
(which is set up as what the user will see first) and it is totally
blank and the source is totally empty. I think I have everything in my
configuration
Can you elaborate on the first two bullets (*)?
I'm not familiar with either.
I'm not inclined to be for the idea of mixing architectures by including
action based struts in JSF/Shale so I'm not big on the third bullet (*).
Shawn
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Cool thanks,
I was hoping that was the case.
Makes for a lot less work.
Shawn
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig
McClanahan
Sent: Wednesday, December 21, 2005 7:08 PM
To: Struts Users Mailing List
Subject: Re: [JSF/Shale] Controller
How about your home.do action mapping and the connected action? Maybe
you return a wrong ActionForward...
Ciao
Antonio Petrelli
Buntin, Seth - KATE ha scritto:
I am having an issue getting Tiles to work. I am totally new to Struts
so bear with me. The issue is I don't see anything. I got to
On Dec 22, 2005, at 8:59 AM, Buntin, Seth - KATE wrote:
I am having an issue getting Tiles to work. I am totally new to
Struts
so bear with me. The issue is I don't see anything. I got to home.do
(which is set up as what the user will see first) and it is totally
blank and the source is
Hi,
I am using validation.xml in my application.It takes care of client side as
well as server side validations.It is working fine.But i dont understand how
exactly it takes care of both validations.
Regards,
Rahul.
I believe you would have read this article from Struts documentation.
http://struts.apache.org/struts-doc-1.2.4/userGuide/dev_validator.html
Thanks and regards,
Pazhanikanthan. P
Project Leader,
Caritor (India) Pvt. Ltd.,
Madras - 600 006
Mob: 9886152717
Extn: 40123
rahul kshirsagar [EMAIL
When it looks validate = true in struts-config.xml and when you form extends
ValidatorForm it looks for validations in Validator.xml this is how Client
Side Validation Works.How Exactly you are implementing Serverside
validations?
On 22 Dec 2005 15:21:39 -, rahul kshirsagar [EMAIL PROTECTED]
Hello Srinivas,
When Struts identifies the attribute validate=true in its config files,
it check whether the Validator Plug In is configured in the configuration.
Then it checks if the validation.xml contains the form name which is being
accessed. If yes, it identifies the form fields to be
Thanks, Laurie. that worked.
why is JSTL prefered over the logic tags? is there any doc I can read about
the same?
Thanks.
From: Laurie Harper [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
To: user@struts.apache.org
Subject: Re: html:multibox with
Hello Fea,
I dont think, there are any differences in the way both JSTL and Struts
logic tags work. Fundamentally they both iterate the same input array and
produce the output. Using Logic Iterate tags, you can eliminate many
scriptlet tags that you might end up using when you use JSTL
I think its always better to use Struts taglibs where ever it is possible
because of less coding.Where exactly we need JSTL(Wild guess .where its not
possible with Struts tag libs?) .Correct me if iam wrong
On 12/22/05, Pazhanikanthan Periasamy [EMAIL PROTECTED]
wrote:
Hello Fea,
I dont
Apache Struts developers are very very clever to ensure that you wont get
an oppurtunity for using JSTL :)
Thanks and regards,
Pazhanikanthan. P
Project Leader,
Caritor (India) Pvt. Ltd.,
Madras - 600 006
Mob: 9886152717
Extn: 40123
Srinivas Jadcharla [EMAIL PROTECTED]
12/22/2005 09:14 PM
On 12/22/05, Srinivas Jadcharla [EMAIL PROTECTED] wrote:
When it looks validate = true in struts-config.xml and when you form extends
ValidatorForm it looks for validations in Validator.xml this is how Client
Side Validation Works.How Exactly you are implementing Serverside
validations?
snip/
I may be wrong but i saw in some situations i dont have proper tag libs in
struts.
On 12/22/05, Pazhanikanthan Periasamy [EMAIL PROTECTED]
wrote:
Apache Struts developers are very very clever to ensure that you wont get
an oppurtunity for using JSTL :)
Thanks and regards,
Pazhanikanthan. P
If the requirement is deviated from the regular / common requirements,
then obviously it is possible. Based on my experience, I have not faced a
situation where I cannot use. Not offending anyone in particular, most of
such difficulties arise becoz some of us (developers including me) dont
My web.xml file has:
welcome-file-list
welcome-fileindex.jsp/welcome-file
/welcome-file-list
index.jsp:
%@ taglib uri=/tags/struts-logic prefix=logic %
logic:redirect forward=home/
struts-config.xml:
global-forwards
forward name=home path=/Home.do/
Again, how lookup dispatch action works is explained at
http://www.michaelmcgrady.com/button/. But the options there are simpler,
faster, superior. LookupDispatchAction is a dynosaur.
On 12/21/05, Shiby Maria John [EMAIL PROTECTED] wrote:
Hi,
I tried using the LookupDispatchAction for
DoFirst.java:
package edu.msu.kate.struts.action;
import org.apache.struts.action.*;
import javax.servlet.http.*;
public class DoFirst extends Action {
public ActionForward perform(
ActionMapping aMapping,
Is anyone successfully using Struts on a WebLogic Managed Server?
We are seeing errors like this:
Oct 26, 2005 10:20:31 PM MST Error HTTP BEA-101309
[ServletContext(id=18877050,name=servicerlink,context-path=)]
could not deserialize the context attribute
Thanks Antonio. That was it. I just found that off a web site and I
guess the site was somewhat old.
Seth Buntin
Web Resources Coordinator
Kentucky Academy of Technology Education
Murray State University
On 12/22/05, JEEVANATHAM P. /BPCRP/INFOTECH/VASHI
[EMAIL PROTECTED] wrote:
Can we do instance validation for particular field in SHALE? Like onblur()
event.
Shale's support for validation, along with other features, are described on
the Shale web site:
Sehr geehrte Damen und Herren,
in der Zeit vom 27. Dezember 2005 bis 1. Januar 2006 bin
ich im Urlaub. Bitte wenden Sie sich bei allen Fragen und
technischen Problemen entweder direkt an [EMAIL PROTECTED]
oder telefonisch an: 0511 / 300 345 00
Mit freundlichen Grüßen,
Andreas Bednarz
ID.on
On 12/22/05, Garner, Shawn [EMAIL PROTECTED] wrote:
Can you elaborate on the first two bullets (*)?
I'm not familiar with either.
The current remoting implementation in Shale allows you to register commands
or chains (in the Commons Chain sense) to context-relative URL patterns. It
uses a
On 12/22/05, fea jabi [EMAIL PROTECTED] wrote:
Thanks, Laurie. that worked.
why is JSTL prefered over the logic tags? is there any doc I can read
about
the same?
Thanks.
A couple of reasons I (as the original developer of the logic tags :-)
prefer the JSTL versions:
* The expression
Hello
On Dec 16, 2005, at 10:48 AM, Priya Saloni wrote:
Hi there,
I facing a BIG problem in my struts based application.When i logout my
website and hit back button it showing a page like the following
//
Warning: Page has Expired
The page you requested was created using information you
Hi Marcelo,
//You solve this issue with a redirtect-after-post hack on the logoff
//action.
Thats what iam doing in the following code..
request.getSession().removeAttribute(sessionState);
request.getSession().invalidate();
response.sendRedirect(/BMS/logout_success.jsp);
//This you solve by
Sorry to not reply sooner Peter... my web host has been under a major
DoS attack today, my mail just came back up a minute or so ago.
Pilgrim, Peter wrote:
Hi Frank et Al
I am not sure if the latest 1.0 current version of JavaWebPart
actually distributes the right libraries.
If looks like
Hello again
On Dec 22, 2005, at 3:27 PM, Priya Saloni wrote:
Hi Marcelo,
//You solve this issue with a redirtect-after-post hack on the logoff
//action.
Thats what iam doing in the following code..
request.getSession().removeAttribute(sessionState);
request.getSession().invalidate();
I'm sure someone will get to that eventually.
Thanks
--
James Mitchell
678.910.8017
Skpe: jmitchtx
On Dec 21, 2005, at 11:25 PM, Andres Paz Sampedro wrote:
Hi,
I saw you have worked in the StrutsMaintenanceMaven wiki page, that's
why I'm bothering you.
I have been trying to build struts
I see that Wendy did this yesterday. Sorry for the noise.
--
James Mitchell
678.910.8017
Skpe: jmitchtx
On Dec 22, 2005, at 5:37 PM, James Mitchell wrote:
I'm sure someone will get to that eventually.
Thanks
--
James Mitchell
678.910.8017
Skpe: jmitchtx
On Dec 21, 2005, at 11:25 PM,
Hi All,
I am using struts checkboxes. When the checkboxes are populated i make some of
them as checked by default.
But the user submits the page there might be cases when default ones will be
unchecked...
Even though teh default boxes are unchecked, they are coming as selected in the
java
Sehr geehrte Damen und Herren,
in der Zeit vom 27. Dezember 2005 bis 1. Januar 2006 bin
ich im Urlaub. Bitte wenden Sie sich bei allen Fragen und
technischen Problemen entweder direkt an [EMAIL PROTECTED]
oder telefonisch an: 0511 / 300 345 00
Mit freundlichen Grüßen,
Andreas Bednarz
ID.on
On 12/22/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Even though teh default boxes are unchecked, they are
coming as selected in the java code.
How can i unselect them...
Are you setting them to false in the 'reset' method of your form bean,
as described in the documentation?
Vikrama Sanjeeva wrote:
Hi,
The myForm.jsp is called when a user clicks a link in another JSP.
Here is the flow:
1. User click the link in home.jsp .
html:link page=/do/SetUpMyFormMy Form/html:link
2. Action, SetUpMyForm is called and it actually set's up some variables,
pull-down
Kedar Panse wrote:
Hello gurus,
I want to use a wizard type of flow where in one screen there is File
Upload. As this is wizard, i was using session scoped formbean with one
property formfile. But seems like formfile is not serializable. What is
proper way of handling this?
Given that a
I think I've found an easier way... It looks like both our needs can be
met by installing a custom ViewHandler that just delegates all methods
to its parent, but which changes the viewId passed into createView
before calling super.createView:
public class ProjectivaViewHandler extends
On 12/22/05, Laurie Harper [EMAIL PROTECTED] wrote:
I think I've found an easier way... It looks like both our needs can be
met by installing a custom ViewHandler that just delegates all methods
to its parent, but which changes the viewId passed into createView
before calling
Hi all,
Please let me know about how can we do server side validation in shale. Like
user validation,
when user enters some value that time we need to check with database whether
that is correct one or not.
If not that will through a alert not message on the screen.
Regards,
Craig McClanahan wrote:
On 12/22/05, Laurie Harper [EMAIL PROTECTED] wrote:
I think I've found an easier way... It looks like both our needs can be
met by installing a custom ViewHandler that just delegates all methods
to its parent, but which changes the viewId passed into createView
before
I've also been thinking about the ViewHandler approach for a day or two but
haven't tried anything with that yet. Your
code is much simpler than what I'd been daydreaming/pondering in between other
tasks today.
Regards,
David
-Original Message-
From: news [mailto:[EMAIL PROTECTED]
49 matches
Mail list logo