Can u Pls mention ur struts version ?
Regards,
Mano
-Original Message-
From: chamal desilva [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 14, 2006 1:08 PM
To: user@struts.apache.org
Subject: setInput method of ActionMapping
Hi,
I want to call
mapping .setInput() method inside my
Hi,
I want to call
mapping .setInput() method inside my validate method
of a form bean.
But it throws an Exception.
java.lang.IllegalStateException: Configuration is
frozen at
org.apache.struts.config.ActionConfig.setInput(ActionC
=
Hi,
U can enclose tag before coming into
iterate tag and test it..
Regards,
Mano
-Original Message-
From: Mano Chinthaka Dasanayaka [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 14, 2006 11:55 AM
To: 'Struts Users Mailing List'
Subject: RE: Console error message for a working ta
Hi,
I think u have to set the scope to session ...just try it... and let us
know..
Regards,
Mano
-Original Message-
From: Bradley Wagner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 14, 2006 10:11 AM
To: Struts Users Mailing List
Subject: Re: Console error message for a working tag
The value of "lang" attribute which tag generates is
not escaped. I think it could cause XSS problem If Accept-Language
HTTP header's value is replaced with
Do you think this something to do with the session using
scope="request"?
Blah, I can't talk. Do you think this has anything to do with the
action mapping using a scope="request"?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hi Brad,
Double check your Struts-config whether u have set the
scope="session"
for this action. And also try using simple Bean writes before using
For link creations...
Regards,
Mano
The struts config file uses scope="request" for this action. I tried
adding a before the and it work
Hi Brad,
Double check your Struts-config whether u have set the scope="session"
for this action. And also try using simple Bean writes before using
For link creations...
Regards,
Mano
-Original Message-
From: Bradley Wagner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 14, 2006
Hi Chris
Yes, it works when I put the file in WEB-INF/classes
On 11/14/06, Chris Pratt <[EMAIL PROTECTED]> wrote:
Remember the thing that is on the classpath is WEB-INF\classes, not it's
subclasses. I don't use FreeMarker, but I'd suggest puting that file in
WEB-INF\classes and giving it a try
I'd look at either JSP Include or Tiles.
(*Chris*)
On 11/13/06, fea jabi <[EMAIL PROTECTED]> wrote:
Using struts. Have a JSP cust.jsp
In it half of it is very specific to that page only. other half is shown
in
this cust.jsp and another report.jsp too.
want to implement this so that code can
you can use <%@ include file="..." %> to include the common JSP.
On 11/14/06, fea jabi <[EMAIL PROTECTED]> wrote:
Using struts. Have a JSP cust.jsp
In it half of it is very specific to that page only. other half is shown
in
this cust.jsp and another report.jsp too.
want to implement this so
Remember the thing that is on the classpath is WEB-INF\classes, not it's
subclasses. I don't use FreeMarker, but I'd suggest puting that file in
WEB-INF\classes and giving it a try.
(*Chris*)
On 11/13/06, wolverine my <[EMAIL PROTECTED]> wrote:
Hi!
In http://cwiki.apache.org/WW/freemarker.ht
Using struts. Have a JSP cust.jsp
In it half of it is very specific to that page only. other half is shown in
this cust.jsp and another report.jsp too.
want to implement this so that code can be re-used in the other one too.
The way I have designed is for a jsp have a prepare action and dispa
Hi!
In http://cwiki.apache.org/WW/freemarker.html, it explained that
Struts 2 looks for FreeMarker template in Web application followed by
the Class path.
However, when I placed my FreeMarker template in
webapps/dummy/WEB-INF/classes/com/dummy/test.ftl
it caused the following exception:
java.
I'm not too worried about this because it seems to be working, but
here goes.
I'm running Struts 1.2.9 on Apache Tomcat 5.5.x. One of my JSPs has
the following section in it.
id="accountSummaryView">
property="accountType"/>
I have verif
On 11/13/06, Bruno Melloni <[EMAIL PROTECTED]> wrote:
(An alternative is specified in 5.4 as suggested by Levan, but it makes
the app - which could be an intranet app - dependent on a connection to
the internet, not good for mission-critical apps)
No, it doesn't. Those are URIs not URLs. (Try
Yes, I am using the WTP plug-in and the project is a Web Application. I
am not using maven to build Eclipse... I am using the canned Eclipse
3.2.1 from eclipse.org and all the latest plug-ins downloaded from
inside Eclipse.
I also found a note at the bottom of section 2 of
http://wiki.apache.org/
1. Yes
2. Yes
3 In ActionForm.reset
If I comment out my reset method then it populates the checkboxes
based on the form values like I want however I then loose the ability
to only get the checked value put into my action form after the page
is submitted.
I hope you meant Eclipse *Web Tools* and that your project is a Web
Application. If not, then Eclipse (as Robin hints at below) has no
concept of the web root or what jars belong where and why. That's
the purpose of having a project type that understands Web Applications.
If using Maven,
On struts wiki it says to remove local or old external references of TLDs
with new external URLs :
http://wiki.apache.org/struts/StrutsUpgradeNotes12to13 topic 5.4 TLD URLs,
myeclpse which I think is based on eclipse WTP, works fine with struts
1.3.x using external TLD references.
Levan Dva
Hi All
I have multiple submit buttons on my jsp page. I would like to use
EventDispatchAction to do that.
The issue is I have been working with struts1.1 and I can't upgrade to
struts1.2.9.
Is is possible for me to add EventDispatchAction to struts1.1 version. If
yes, please let me how can I d
I did some testing and came to the conclusions below. I might be wrong,
but I think these are correct:
- Eclipse 3.2 (plus plug-ins) is not yet compatible with Struts 1.3.x.
Chances are that it is also incompatible with Struts 2.0.x.
- Struts 1.3.x has changed how TLD tags are placed on the proje
A couple of things to check
1. Is your get action using the same form as your post action?
2. Do the names of the checkboxes in the html match your form?
3. Where are you resetting the checkboxes? I'm hoping you're doing it by
overriding ActionForm.reset().
-Original Message-
From: Garner
I reset my checkboxes and a multibox in a form reset method but then
when I come back to the page the values arn't checked.
If I don't reset them then it won't register them as not checked anymore.
How do I fix this?
Shawn
-
To
On 11/10/06 6:46 PM, "Don Brown" <[EMAIL PROTECTED]> wrote:
> I believe that any unknown result parameters are automatically used as
> request parameters for the redirect. Then, use an ognl expression for
> your param value and provide a getter on your action for the value.
Hi Don,
Do you have
IMHO, yahoo UI is the most Robust Library out there... at least one that I
could find (and yes I don't work for Yahoo :)) ..., the biggest problem
with Dojo that I have seen is in its performance,(goggling gives a quite
good view of it as well) and there has been instances that it had completel
Dear developers,
I need help to the following problem. Scenario:
User edits the Field "comment" on the HTML page (.e.g. "hello"). This
field corresponds with ActionForm property comment. I set the the
ActionForm.comment null in the Action class(the HTTPServletRequest
Parameter comment remains "he
You should do validation manually in your action. Set
"validation='false'" in your struts-config.xml and call form.validate
in the action methods that need to be validated on. For example, do
something like this in a method:
ActionMessages errors = form.validate(mapping,request);
if ( errors != n
The error message is not related to the tag.
This error is caused by having an html:xxx form field tag (checkbox,
file, text, textarea, password, etc.) that is not inside an
tag. Look at the erroring jsp's to see where
this is the case.
Often exception traces (if the JSP is compiled with debugg
Thank You All
for your great support,help and valueable time
finally it is working now, today i learned a lot from you all about
tag
Thank You once again
Puneet Lakhina wrote:
>
> On 11/13/06, Eider Iturbe <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> You mustn´t add an ArrayList in request scop
i added one following code to my jsp
<%
ArrayList list= (ArrayList)request.getAttribute("users");
System.out.println("the size of the arraylist is:--"+list.size());
Iterator it= list.iterator();
while(it.hasNext())
{
uservo vo= (us
Sunita-
please display bean code for com.user.uservo
M-
This e-mail communication and any attachments may contain confidential and
privileged information for the use of the
designated recipients named above. If you are not the intended recipient, you
are hereby notified that you have received
Hi Sandip,
the flow should be like.
1. from action class call you call method which in turn fetch the data from DB.
2. in that method, populate the data and the whole row should be added into
object. something like
while(rs.next())
{
It's up now.
We're just trying to run too many example applications through this
hosted account.
-Ted.
On 11/12/06, wolverine my <[EMAIL PROTECTED]> wrote:
Hi Wendy
I did not deploy the application locally, it is on the Struts 2's
Tutorial at http://struts.apache.org/WW/tutorials.html
Under
Anil Kumar T wrote:
Would the svaeToken(), isTokenValid() helps you..?
-Original Message-
From: Juan Espinosa [mailto:[EMAIL PROTECTED]
Sent: Monday, November 13, 2006 6:45 PM
To: 'Struts Users Mailing List'
Subject: RE: Lost Error Message!!
Im not very sure, but i think that when you
Nitin M. Mandolkar wrote:
This solution is also good. If later on you find the filter code block
is taking more time and creating some performance issues in that case
you can easily remove it. By making few changes in web.xml.
Even the URL pattern can help you more to apply it for specific pa
Hi again,
Instead of using
ArrayList uservoList = new ArrayList();
request.setAttribute("listvo",uservoList);
you have to use this:
*java.util.Collection* uservoList = new ArrayList();
request.setAttribute("listvo",uservoList);
Regards,
--
Eider
On 11/13/06, Puneet Lakhina <[EMAIL PROTECTED
On 11/13/06, Eider Iturbe <[EMAIL PROTECTED]> wrote:
Hi,
You mustn´t add an ArrayList in request scope, you have to add a
Collection
of objects of the class "uservo" .
Dont really know what you are trying to say. An arraylist would be a
collection of uservo.
ArrayList uservoList = new Array
Debug your code.
Make sure that your "listvo" should exist.
Use scriplet and use println to verify the object status using in logic
iterate.
The problem lies with code written in action class.
-Original Message-
From: santas [mailto:[EMAIL PROTECTED]
Sent: Monday, November 13, 2006 5:33 PM
Would the svaeToken(), isTokenValid() helps you..?
-Original Message-
From: Juan Espinosa [mailto:[EMAIL PROTECTED]
Sent: Monday, November 13, 2006 6:45 PM
To: 'Struts Users Mailing List'
Subject: RE: Lost Error Message!!
Im not very sure, but i think that when you use redirect= true a n
Hi,
You mustn´t add an ArrayList in request scope, you have to add a Collection
of objects of the class "uservo" .
Regards,
--
Eider
On 11/13/06, santas <[EMAIL PROTECTED]> wrote:
HI
i tried what u said but stil the same error is shown to me
i have set the list with key "users"
then i fir
Im not very sure, but i think that when you use redirect= true a new request
is built(when the redirect is made) and there you loose all your data that
is in the request.
To avoid the resubmit there is others solutions.
Regards,
Juan
-Mensaje original-
De: Balwinder [m
try to use the scope attribute of the iterator tag and see,
eg:
scope="request">
scope="session">
Thanks,
Nuwan.
- Original Message -
From: "santas" <[EMAIL PROTECTED]>
To:
Sent: Monday, November 13, 2006 12:03 PM
Subject: RE: Problem while using
HI
i tried what u said bu
Hi!!
Iam losing error message when iam setting redirect=true in action
mapping, iam doing this to avoid resubmit of data on page refresh ie if
user press F5 function key.
Any help would be highly appreciated.
Thanks and Regards,
Balwinder Kumar
-
HI
i tried what u said but stil the same error is shown to me
i have set the list with key "users"
then i first check
and again i got same error
is there any other solution to this
Sunita Ramchandra Shukla wrote:
>
>
> Hi,
> Try this .
>
>
Hi,
Try this .
Here name attribute should be what you have set the key in request and
specify the location of your class in type w.r.t web application.
Rest is fine.
It should work.
-Original Message-
From: santas [mailto:[EMAIL PROTECTED]
Sent: Monday, November 13, 2006 4:07 PM
To: use
hi,
I am having one problem while trying to use tag inmy jsp
i am using it as follows:-
what i am doing is setting one ArrayList in request scope and in that
arraylist i am adding one object of
a class "uservo" in which there are some pro
Hi,
Further information as requested:
The formbean is as below:
package com.rbsg.application.serviceuserweb.forms;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.validat
48 matches
Mail list logo