Hi,
Does somebody know what could be happening here?
I have exactly same Struts2 web app deployed in two Tomcats but tag
behaves strange in one of them.
Lets explain myself…
The next line of code in my JSP:
…generates correct html form code in ‘A’ environment:
…BUT
in action You can check if this question
>> has predefined answer and if yes select it as a response or if not use
>> a response text from form.
>>
>> Best greetings,
>> Paweł Wielgus.
>>
>> 2010/7/1 Jawahar Nayak :
>>>
>>> One Solution wha
ck if this question
> has predefined answer and if yes select it as a response or if not use
> a response text from form.
>
> Best greetings,
> Paweł Wielgus.
>
> 2010/7/1 Jawahar Nayak :
>>
>> One Solution what I am thinking... I don't know is it possible or
swer and if yes select it as a response or if not use
a response text from form.
Best greetings,
Paweł Wielgus.
2010/7/1 Jawahar Nayak :
>
> One Solution what I am thinking... I don't know is it possible or not
>
> - Creating a simple html form
> - On submitting, I will make
One Solution what I am thinking... I don't know is it possible or not
- Creating a simple html form
- On submitting, I will make a xml of user response i.e. Options selected,
and not selected for examle
...
then setting this xml stri
ActionForm.
But the fields in ActionForm need to be defined in advance, we we want to
show on html form.
- I want to know, what structure should I follow to design and implement my
application with such requirement. Can I make use of tag and
ActionForm OR I should not use them completely.
Thanks
hi,
***how to highlight error field in struts html form?*
<http://www.coderanch.com/t/440529/Struts/highlight-error-field-struts-html>
Note: Validations are performed on the server side (validate() method of
respective form bean)
Iam using struts 1.2.9
--
Abhishek
ects into the stack...
>
> please correct me if i am wrong... any help would be great...
>
> cheers,
> ravi
> --
> View this message in context:
> http://www.nabble.com/Setting-HTML-form-parameters-to-Custom-classes-%28no
s into the stack...
please correct me if i am wrong... any help would be great...
cheers,
ravi
--
View this message in context:
http://www.nabble.com/Setting-HTML-form-parameters-to-Custom-classes-%28not-action-support%29-tp17201248p17201248.html
Sent from the Struts - User mailing list
Try changing the form method to get. I think post does not sends the
data in the way you have done.
Just my guess..
Anil.
-Original Message-
From: temp temp [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 22, 2006 8:13 PM
To: user@struts.apache.org
Subject: html form
I have a
In short, no. You should create hidden fields for each of the params
you want to pass.
On 11/22/06, temp temp <[EMAIL PROTECTED]> wrote:
I have a html form
Display OptionsShow 10
Show 20
Show 50
Show 100
Show 200
When I receive request
From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
> On 10/11/06, Ed Griebel <[EMAIL PROTECTED]> wrote:
> > You should not instantiate manually your own formbean nor put it
into
> > the request scope, you must use the formbean passed into your action
> > class via the ActionForm object.
> Ok I think my
On 10/11/06, Ed Griebel <[EMAIL PROTECTED]> wrote:
You should not instantiate manually your own formbean nor put it into
the request scope, you must use the formbean passed into your action
class via the ActionForm object.
Ok I think my question isnt clear.
I have two action classes PrepareA
From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
> The prepare action needs to prepopulate values into the form that is
> displayed subsequently. How else can i do this??
Populating a form is different than instantiating one and putting it in
to scope: Struts1 already instantiates and scopes forms.
You should not instantiate manually your own formbean nor put it into
the request scope, you must use the formbean passed into your action
class via the ActionForm object.
When you get the handle to the formbean you can either cast the
formbean to it's real class or you can use
BeanUtils.populate
On 10/11/06, Dave Newton <[EMAIL PROTECTED]> wrote:
From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
> the fooAction has formBeanName as its form bean defined in the struts
> config. But Im not able to get any values into the fields in my form.
Why are you doing this manually? If you have configu
From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
> the fooAction has formBeanName as its form bean defined in the struts
> config. But Im not able to get any values into the fields in my form.
Why are you doing this manually? If you have configured your actions
properly the framework will do this bi
Hi,
This has to be one of the most bewildering thing I have faced in my 3 months
of learning struts.
Now I have an action(PreapreAction) which I use to prepare a page for
display. This for fetches values from a Database and creates an instance of
the formbean and puts values into the form bean. No
Chetan Pandey wrote:
pageContext.setAttribute(propertyaction,"propertyaction");%>
pageContext.setAttribute() is a standard map-based pattern. All of
these use (key, value) and not (value, key) as you have above. Swap the
two arguments.
Remember your scope (third parameter).
- Scott
---
Exactly what you are trying to do..
-Original Message-
From: Chetan Pandey [mailto:[EMAIL PROTECTED]
Sent: Wednesday 23 August 2006 06:22
To: 'Struts Users Mailing List'
Subject: Can we specify variables in html form tags action attribute
Dear All:
I am trying to put a v
Dear All:
I am trying to put a variable in action attribute but it doesnt work.
<%String propertyaction = "/manageProperty?function=edit";
pageContext.setAttribute(propertyaction,"propertyaction");%>
Thanks.
Chetan
Wendy Smoak said:
>
> On 6/27/06, Steven Mitchell <[EMAIL PROTECTED]> wrote:
>
> > You can make the Action Servlet servlet-mapping anything you want.
> > Rather than use /MyAction.do, I have used /do/MyAction for
> years. In
> > fact, I usually have two servlet-mapping patterns for the Action
On 6/27/06, Steven Mitchell <[EMAIL PROTECTED]> wrote:
You can make the Action Servlet servlet-mapping anything you want. Rather than use /MyAction.do, I
have used /do/MyAction for years. In fact, I usually have two servlet-mapping patterns for the
Action servlet: "/do/*" and "logout".
Ther
You can make the Action Servlet servlet-mapping anything you want. Rather than
use /MyAction.do, I have used /do/MyAction for years. In fact, I usually have
two servlet-mapping patterns for the Action servlet: "/do/*" and "logout".
Notice the logout has no "do" at all. That allows me to put a
Steven Mitchell ha scritto:
action
/do/*
What? Isn't *.do ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I've used Struts for years and thought I had seen every way to break it, but
this one has me stumped. I'm starting a new Struts 1.2.9/Tiles project at home
for http://www.byteworksinc.com. I'm working on the first submittable pages,
which display fine, but clicking Submit sends you to the home
ng collection Objects from html form to Action class
Tell me which is performance efficient & desired way:
Putting the form in session or making a trip to the
database..
assuming we have collection of 50 - 60 records..
Phani..
--- Mark Benussi <[EMAIL PROTECTED]> wrote:
Sadly you
so much that I am going to crack on with it, I may
let you know how I get on if it is a worthy solution.
-Original Message-
From: Phani [mailto:[EMAIL PROTECTED]
Sent: 30 June 2005 17:38
To: Struts Users Mailing List
Subject: RE: Passing collection Objects from html form to Action class
T
>
> > Sadly you cannot unless you make the scope of the
> form session.
> >
> > I find it limiting to say the least!
> >
> >
> >
> > -Original Message-
> > From: Phani [mailto:[EMAIL PROTECTED]
> > Sent: 30 June 2005 16:14
>
-
From: Phani [mailto:[EMAIL PROTECTED]
Sent: 30 June 2005 16:14
To: Struts Users Mailing List
Subject: Passing collection Objects from html form to Action class
I have a Collection Object in my JSP which I am able
to display using display Tag.
I want to render those collection objects when I
session.
>
> I find it limiting to say the least!
>
>
>
> -Original Message-
> From: Phani [mailto:[EMAIL PROTECTED]
> Sent: 30 June 2005 16:14
> To: Struts Users Mailing List
> Subject: Passing collection Objects from html form
> to Action class
>
Sadly you cannot unless you make the scope of the form session.
I find it limiting to say the least!
-Original Message-
From: Phani [mailto:[EMAIL PROTECTED]
Sent: 30 June 2005 16:14
To: Struts Users Mailing List
Subject: Passing collection Objects from html form to Action class
I
I have a Collection Object in my JSP which I am able
to display using display Tag.
I want to render those collection objects when I
submit my html form, so that I can retrieve them in my
Action class as form property.
If it is a string, I can render it as hidden field..
And in the Action
If there is a different rule on advocating Shale-Struts as Struts.next
for Craig, that is understandable.
But where in his post did he say that Shale-Struts was Struts.next? All
he said was that the way the rest of the world is going (and imho HAS
been going) with a variety of view techniques
On 4/12/05, Dakota Jack <[EMAIL PROTECTED]> wrote:
> BINGO -- There is a rule on revolutionary developements in ASF which
> is pretty much abridged by this comment, Craig, and made worse by your
> repeating it. If you are doing revolutionary development, the ASF
> rule is, as I understand it, that
BINGO -- There is a rule on revolutionary developements in ASF which
is pretty much abridged by this comment, Craig, and made worse by your
repeating it. If you are doing revolutionary development, the ASF
rule is, as I understand it, that you don't pretend to have superceded
the present until aft
Craig McClanahan wrote:
On Apr 12, 2005 2:27 PM, Joe Germuska <[EMAIL PROTECTED]> wrote:
"I would caution new projects, however, to *not* use the Struts HTML
tags. That part of Struts has received fairly little developer
attention, and should be considered legacy at this point."
This quo
On Apr 12, 2005 2:27 PM, Joe Germuska <[EMAIL PROTECTED]> wrote:
> >"I would caution new projects, however, to *not* use the Struts HTML
> >tags. That part of Struts has received fairly little developer
> >attention, and should be considered legacy at this point."
>
> This quote has no attributi
"I would caution new projects, however, to *not* use the Struts HTML
tags. That part of Struts has received fairly little developer
attention, and should be considered legacy at this point."
This quote has no attribution, but as a committer, I would disagree
with this assertion. There are certai
Dakota Jack wrote:
This was not your mistake, Dave.
Unfortunately, there is a source to that false rumor. Some of those
so sanguine about the conduct of some members and the Struts community
might want to consider how this happened and to make sure it does not
continue.
Maybe we should start
This was not your mistake, Dave.
Unfortunately, there is a source to that false rumor. Some of those
so sanguine about the conduct of some members and the Struts community
might want to consider how this happened and to make sure it does not
continue.
It is important that the rumor, like other
> Its not true that the HTML tags are receiving no developer
> attention.
Ok, my mistake. Thanks for clearing that up.
- Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Its not true that the HTML tags are receiving no developer attention. Since
Version 1.2.4 was released the following changes have been made to the HTML
taglib:
1) Highlighting Error Fields
http://www.niallp.pwp.blueyonder.co.uk/strutshighlight.html
2) ErrorTag now has header, footer, prefix and s
> I recall reading something about the HTML tags not receiving
> any developer attention and new project are encouraged not to
> use them. My question is what is the alternative to them?
> JSTL? Is there a guide or wiki page regarding the issues of
> migrating from the HTML tags to whatever
I recall reading something about the HTML tags not receiving any
developer attention and new project are encouraged not to use them. My
question is what is the alternative to them? JSTL? Is there a guide or
wiki page regarding the issues of migrating from the HTML tags to
whatever the recommenda
Hi,
I faced a problem when I use the multiple module
method with HTML
Frame.
Could someone facing the same problem help
I have 2 struts-config.xml files - one is main, the
other is in the
module /web/menu ...
the one in /web/menu module looks like :
-Originalnachricht-
Von: Joe Germuska
An: Struts Users Mailing List
Gesendet: 30.11.2004 17:10
Betreff: Re: UTF-8 encoding in html form
> > Also note that Struts' multipart processing currently is rather
clumsy
> > in handling form encoding. If the request object
> Also note that Struts' multipart processing currently is rather clumsy
> in handling form encoding. If the request object returns null from
> "getCharacterEncoding()", then Struts assumes ISO-8859-1. I was
Isn't it Tomcat itself? This is a behaviour per servlets
specifications (see page 41 o
Joe Germuska writes:
[...]
> >As far as I know, the most reliable way is to specify
> >"accept-charset" as UTF-8 in the of the HTML (w3.org's
> >description of this parameter: "This attribute specifies the list
> >of character encodings for input data that is accepted by the
> >server processin
At 12:23 PM +0100 11/30/04, Guillaume Cottenceau wrote:
"Otto, Frank" writes:
Hi,
I have a html form. The user can input text in ISO-8859-2 format.
After submit the form the characters are wrong. I don't know why.
I have set
<%@ page contentType="text/html; charset=U
"Otto, Frank" writes:
> Hi,
>
> I have a html form. The user can input text in ISO-8859-2 format.
>
> After submit the form the characters are wrong. I don't know why.
>
> I have set
>
> <%@ page contentType="text/html; charset=UTF-8&
Hi,
I have a html form. The user can input text in ISO-8859-2 format.
After submit the form the characters are wrong. I don't know why.
I have set
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
and there is a filter (filters.SetCharact
|
| To: [EMAIL PROTECTED]
|
| cc:
On Sun, 2004-08-15 at 00:19, Jacob Weber wrote:
> I have a JSP with two forms, and they both need to go to the same
> action. But Struts assumes that the "name" property of the HTML form
> (e.g. ) should be the same as the name of the
> associated form bean. As
IIRC, the form tag used to have an attribute so you can specify the form
name, though I never used it because I never needed to. It was deprecated
and eventually removed.
Hubert
--- Jacob Weber <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> Hubert Rabago <[EMAIL PROTECTED]> wro
In article <[EMAIL PROTECTED]>,
Hubert Rabago <[EMAIL PROTECTED]> wrote:
> There was only one entry for the two similarly named forms. Checking the
> fields of the form showed me that only the latest definition of a form with a
> given name is recognized.
>
> So, you should probably add a formb
r the same action. It
can be the same ActionForm and Action object, but would need different
mappings in struts-config.
- Hubert
--- Jacob Weber <[EMAIL PROTECTED]> wrote:
>
> I have a JSP with two forms, and they both need to go to the same
> action. But Struts assum
I have a JSP with two forms, and they both need to go to the same
action. But Struts assumes that the "name" property of the HTML form
(e.g. ) should be the same as the name of the
associated form bean. As a result, I can't use JavaScript to refer to
one of the forms, since the
> -Original Message-
> From: Josh Holtzman [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 15, 2004 10:30 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Tiles, Validation and reuse of HTML Form
>
>
> Brian,
>
> I agree.
>
> In o
rrows [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 15, 2004 10:09 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Tiles, Validation and reuse of HTML Form
> -Original Message-
> From: Bryan Hunt [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 15, 2004 10:03 AM
>
> -Original Message-
> From: Bryan Hunt [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 15, 2004 10:03 AM
> To: Struts Users Mailing List
> Subject: Re: Tiles, Validation and reuse of HTML Form
>
>
> I do it with a separate action for each use case. I find i
e new product information appears in the same layout. Also
on this page is an HTML form that is used to add items to the shopping cart.
From this form a user can choose any one of the 6 products from a select
menu, type a quantity, and submit the form.. To add items to the shopping
cart. This form i
> -Original Message-
> From: Josh Holtzman [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 15, 2004 9:43 AM
> To: 'Struts Users Mailing List'
> Subject: Tiles, Validation and reuse of HTML Form
>
>
>
> In the struts config file we created a
tains a photo
and description of the product. On this page there is also a list of the
other 5 products. By clicking on any one of these products, the page is
refreshed, and the new product information appears in the same layout. Also
on this page is an HTML form that is used to add items t
Hi
U can generate Dynaaction elements "struts-config.xml" file.
For eg:
urs
Ganesh
-
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
Hi List,
Can any one suggest me a hint/path in Struts where I can generate dynamic
Form Elements and also I shall be able to handle the Validations of those
through the JavaScript.
It will be an needy Help!!!
Thankx in Advance!!
Best regds,
Amol
66 matches
Mail list logo