I have submitted a PMR to IBM: 56311 999 616 and am awaiting a response...
Antony Stubbs wrote:
>
> Code within one of my Struts 2 actions is throwing an exception, which
> doesn't seem to be being reported correctly. Websphere just seems to come
> back with error 404 page not found.
>
> Afte
Code within one of my Struts 2 actions is throwing an exception, which
doesn't seem to be being reported correctly. Websphere just seems to come
back with error 404 page not found.
After stepping through the Struts2 class code in eclipse I found that an
exception was being thrown by a library I
Yes, as I was riding along on my bike it occurred to me that I should check
that...!
Hmm, license agreements Will have to get clearance from management.
Dave Newton-4 wrote:
>
> --- Antony Stubbs <[EMAIL PROTECTED]> wrote:
>> Is it possible to get access to edit the Struts
> Wiki?
>
> Odd
Sorry, yes.
Musachy Barroso wrote:
>
> Which version are you using? 2.0.6?
>
> musachy
>
> On 4/4/07, Antony Stubbs <[EMAIL PROTECTED]> wrote:
>>
>>
>> Actually, the same error appears just having a s:textfield with a tooltip
>> -
>> but the tooltip does render.
>> This is with btw.
>>
>>
>>
oopsI had to upload a new one, overwriting the old one doesn't fix it:
http://cwiki.apache.org/confluence/download/attachments/33168/quickstart_maven2.zip
musachy
On 4/4/07, Peter Milne <[EMAIL PROTECTED]> wrote:
I'm getting the following error when I try to unzip the maven zipped
project
--- Antony Stubbs <[EMAIL PROTECTED]> wrote:
> Is it possible to get access to edit the Struts
Wiki?
Oddly enough, that question is answered on the Struts
Wiki.
http://struts.apache.org/2.x/docs/editing-the-documentation.html
d.
__
Which version are you using? 2.0.6?
musachy
On 4/4/07, Antony Stubbs <[EMAIL PROTECTED]> wrote:
Actually, the same error appears just having a s:textfield with a tooltip
-
but the tooltip does render.
This is with btw.
Antony Stubbs wrote:
>
> Using the s:autocompleter Ajax themed tag and
Is it possible to get access to edit the Struts Wiki? I would like to add the
information gained from the problems described in this thread:
http://www.nabble.com/forum/ViewPost.jtp?post=9835495&framed=y
I would also like to be able to add some more examples to the tag reference
pages as they're
Actually, the same error appears just having a s:textfield with a tooltip -
but the tooltip does render.
This is with btw.
Antony Stubbs wrote:
>
> Using the s:autocompleter Ajax themed tag and trying to set a tooltip, I
> get a
> FATAL exception raised: Could not load 'dojo.widget.html.Toolt
Using the s:autocompleter Ajax themed tag and trying to set a tooltip, I get
a
FATAL exception raised: Could not load 'dojo.widget.html.Tooltip'; last
tried '__package__.js' and no tooltip is displayed.
The autocompleter Ajax theme also doesn't seem to render the label - missing
functionality? I
--- Will Berger <[EMAIL PROTECTED]> wrote:
> When processing a post from a form that has check
> boxes, being able to specifiy which boxes were
> checked for a confirmation page is a common
> occurence. What I am trying to do. I could create
> an action class to return an iterator. A lot of w
Berger,
I do not know the answer to your question. I think it should be something
simple to.
But my suggestion _as a hack_ for now is to do the following :
1) In your action code:
request.getSession().setAttribute( "MY_MAP", youMap);
2) in your JSP:
.. ..
Let me know if anyone c
I believe the main thing parameterAware does for you is make it so u don't
have to call
Map parameters = ActionContext.getContext().getParameters();
instead
you can call this.getParameter().
my call to getParameter("listOfemails") returns a String[] that I need to
iterate over. If OGNL canno
Thanks for the tip. But it does not work in my case.
best regards
Torben Frøberg
Dave Newton wrote:
Did either of you try specifying the context cleanup
filter?
contextCleanup
org.apache.struts2.dispatcher.ActionContextCleanUp
and put it first in the filter mapping.
I have yet
if you want to iterate over an array of strings. Implement ParameterAware to
retrieve request parameters...
http://struts.apache.org/2.0.6/docs/how-can-we-access-request-parameters-passed-into-an-action.html
Will Berger wrote:
>
> I have seen this page. I don't see where it shows you how
You asked why would one want to do it this way. When processing a post from
a form that has check boxes, being able to specifiy which boxes were checked
for a confirmation page is a common occurence. What I am trying to do. I
could create an action class to return an iterator. A lot of work fo
I have seen this page. I don't see where it shows you how to iterate over an
array of strings. or how to access an array of request parameters. Can you
elaborate on your explanation?
Will
Dave Newton-4 wrote:
>
> --- Will Berger <[EMAIL PROTECTED]> wrote:
>> How does one in struts 2 process
Did either of you try specifying the context cleanup
filter?
contextCleanup
org.apache.struts2.dispatcher.ActionContextCleanUp
and put it first in the filter mapping.
I have yet to have any issues w/ file upload since
including that and I still think I vaguely recall a
thread about
--- [EMAIL PROTECTED] wrote:
> "<%@ taglib prefix="ww" uri="/webwork" %>"
<%@ taglib prefix="s" uri="/struts-tags"%>
and use href rather than xhref.
d.
It's here! Your new message!
Get new email alerts wi
I cannot help you. But I have exactly the same problem. Sometimes it
seems that, the execute method is called before the HTTP client has
finished uploading the file. This results in a null value for the File
object upload.
But the file is uploaded, the problem is just, he the execute methd is
Should I define a taglib for the uri "struts" and point it to location
"struts-tags.tld"?
I read that struts 2 automatically locates struts-tags.tld from the
struts-core.jar and we need not define taglib for that. What am I missing
here?
Thanks
Vignesh Manickam Periaswamy
Web Application Deve
Mevermind...it figures I would find the bug 1 second after sending a
help email.
Thanks anyways,
Cecilia
At 02:52 PM 4/4/2007, Cecilia Castillo wrote:
Can anyone tell me how to position the cursor to an entry field in a
form when the jsp file first loads in Struts 2. I tried an
approached
Ugh... I missed this thread.
On 3/29/07 9:16 PM, "Felipe Rodrigues" <[EMAIL PROTECTED]> wrote:
> I found the solution to my case. I got the rendered html and put it direct on
> my jsp page. But I've thinking. Could anyone figure out how to create an
> attribute like autoLayout="true" to the forms
Can anyone tell me how to position the cursor to an entry field in a
form when the jsp file first loads in Struts 2. I tried an
approached described at
http://simplythebest.net/scripts/DHTML_scripts/javascripts/javascript_111.html
but it doesn't seem to work.
Regards,
Cecilia
-
Do you have the uri defined in your web.xml file?
[EMAIL PROTECTED] wrote:
Hi all
I am trying to run this sample application.
http://struts.apache.org/2.x/docs/simplelogin-with-session.html
I am getting errors in this page welcome.jsp
<%@ page language="java" contentType="text/html; charset
I'm getting the following error when I try to unzip the maven zipped
project from
http://cwiki.apache.org/confluence/download/attachments/33168/quickstart_maven.zip
[/home/pmilne/Downloads/quickstart_maven.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile,
Hi all
I am trying to run this sample application.
http://struts.apache.org/2.x/docs/simplelogin-with-session.html
I am getting errors in this page welcome.jsp
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="ww" uri="/webwo
--- Will Berger <[EMAIL PROTECTED]> wrote:
> How does one in struts 2 process a list of req
> parameters using ognl?
http://struts.apache.org/2.x/docs/ognl.html
Although I'm not sure why you'd want to do it like
that :/
d.
__
--- [EMAIL PROTECTED] wrote:
> Have you ever been so close to the tree that...
Trees actually lie in wait for me and chuckle to
themselves in anticipation :/
d.
Looking for earth-friendly autos?
Browse Top
> What is the forecast for new books, articles, or a Road Show (Conferences or
> Webinars) explaining the benefits, features, and Best
> Practices for using Struts2? Can you recommend any other resources?
Just what is mentioned on this thread:
*
http://www.nabble.com/can-anyone-recommended-bo
How does one in struts 2 process a list of req parameters using ognl?
In jsp, this gets the job done.
<%
String emailList[] = request.getParameterValues("email"));
for (int i=0;i
What is the equivalent with the http://www.nabble.com/request.getParameterValues-OGNL---tf3528203.htm
I experienced the same problem in a test case (though different
circumstances), and it was solved by extending XWorkTestCase instead of
TestCase as noted in the example -
http://struts.apache.org/2.x/docs/how-do-i-unit-test-my-actions-validation-logic.html
. This might help...
--
View this m
Someone has already created a theme that allows you to place multiple form
elements on the same row.
http://www.vitarara.org/cms/node/85 http://www.vitarara.org/cms/node/85
Tobin
--
View this message in context:
http://www.nabble.com/Struts-ui-components-inside-%3Ctable%3E-in-a-single-line.-t
Of course it has a global result :) it returns "error" too but i think struts
2 working mech. makes this impossible to do after invocation.invoke() method
only the result of the action works... :) i think this is not a common
situation
Dave Newton-4 wrote:
>
> --- oguzhan tortop <[EMAIL PROTECTE
Should the Action class validator be getting called when a hyperlink is
clicked? This is the behavior I am experiencing. My hyperlink is coded as
follows:
The
> Hi Tim
>
> For some reason I dont see your controller mappings (here is
> an example from my struts-config.xml)
>
> path="/begin">
>
>
>
> processorClass="com.bea.wlw.netui.pageflow.PageFlowRequestProcessor"/>
I have no clue what a controller mapping i
Have you ever been so close to the tree that...
Thanks d.
On 4/4/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- [EMAIL PROTECTED] wrote:
> public void remove()
> public void update()
> ...
Why aren't you returning a value from the methods? I
thought that was how S2 determined what result to
s
--- [EMAIL PROTECTED] wrote:
> public void remove()
> public void update()
> ...
Why aren't you returning a value from the methods? I
thought that was how S2 determined what result to
show.
d.
No need to mis
Hey d! --
public void remove()
public void update()
...
Scott
On 4/4/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- [EMAIL PROTECTED] wrote:
> Since the methods do not return a String containing
> the result to match, I'm not sure how to direct
> Struts to display a page.
What do they return
--- [EMAIL PROTECTED] wrote:
> Since the methods do not return a String containing
> the result to match, I'm not sure how to direct
> Struts to display a page.
What do they return?
d.
8:00? 8:25? 8:40? Fi
I have an Action with several methods in it. I have no problem invoking the
correct method using course!whatever, but I can't seem to figure out how to
get the correct web page to appear following the method call. Since the
methods do not return a String containing the result to match, I'm not s
--- oguzhan tortop <[EMAIL PROTECTED]> wrote:
> ... but how can i implement a PreResultListener.
I don't think it'll help anyway; sorry.
(Boy, I wish I had my regular machine right now :/
How is an Action.ERROR normally handled with the stack
you have defined? Is there a global result?
d.
Hi Tim
For some reason I dont see your controller mappings (here is an example from
my struts-config.xml)
path="/begin">
processorClass="com.bea.wlw.netui.pageflow.PageFlowRequestProcessor"/>
*IF* your DTD will validate the property e.g.
so the Path of le
--- Eduardo Kortright <[EMAIL PROTECTED]> wrote:
> Does anyone know if it's possible to combine Struts
> 2 and JSTL, specifically the XML tags?
While I haven't used the XML tags specifically I have
no idea why you wouldn't be able to use them just like
any of the JSTL tags; it's just another Java
yes that's where i get the exception :D but how can i implement a
PreResultListener. And also what i understand from the below writing is you
can not dispatch to another page after calling an invocation.invoke()
method. Am i wrong :) ?
Dave Newton-4 wrote:
>
> --- oguzhan tortop <[EMAIL PROT
Hello,
Does anyone know if it's possible to combine Struts 2 and JSTL, specifically
the XML tags?
Or does Struts 2 provide the same functionality in its own set of tags? I
would like to be able to import an XML document from some web service and
parse out the information into variables that I c
> Thanks for the clarification
> 2 suggestions
>
>
> 1
>
>
> debug
> 1
>
I don't understand. 1 is already
there for ActionServlet.
Struts-config.xml:
http://struts.apache.org/dtds/struts-config_1_2.dtd";>
--- oguzhan tortop <[EMAIL PROTECTED]> wrote:
> But if i get a commit error for example a duplivate
> key it passes to the
> catch statement in the final block and then it
> returns Action.ERROR . And
> also it returns error as a param i debugged the code
> by attaching source but
> the problem is
But if i get a commit error for example a duplivate key it passes to the
catch statement in the final block and then it returns Action.ERROR . And
also it returns error as a param i debugged the code by attaching source but
the problem is it still dispatches to the success
Dave Newton-4 wrote:
>
Hi Tim-
Thanks for the clarification
2 suggestions
1
debug
1
.Please post contents of /WEB-INF/struts-config.xml
Thanks,
Martin --
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email mess
--- Syed Ibrahim <[EMAIL PROTECTED]> wrote:
> I am using iterator to list some values in textfilds
> in tabular format, following way.
>
>
>
>
>
> How can I achieve that in Struts 2 ?
You should be able to just make myList be something
List-y (and if you use generics I don'
> as this seems to be a BEA specific bug I would post this to
> bea user group
> http://forums.bea.com/bea/message.jspa?messageID=600044648&tstart=0
>
> In the meanwhile can you please display the contents of the
> following files application.xml from META-INF folder
> ejb-jar.xml from META-
Hi,
I am using iterator to list some values in textfilds in tabular format,
following way.
Here "myList" is a Arraylist and contains a bean(say TestBean) with two
attributes Id and name. Id is displayed as text and Name is displayed in
textfields.
Now if user changes t
Hi Tim-
as this seems to be a BEA specific bug I would post this to bea user group
http://forums.bea.com/bea/message.jspa?messageID=600044648&tstart=0
In the meanwhile can you please display the contents of the following files
application.xml from META-INF folder
ejb-jar.xml from META-INF fol
I have a Struts app (using version 1.3.5), that runs just fine under
Weblogic version 8. Now we're trying to move to version 9. When I try to
deploy this app under WL 9, I get this message:
weblogic.management.DeploymentException: [J2EE:160177]The application at
"D:\bea9\user_projects\domains\loca
--- oguzhan tortop <[EMAIL PROTECTED]> wrote:
> but commit is in finally block. so it runs on every
> condition even if you return any value before it.
...but a duplicate key exception would happen on the
commit, because Hibernate queues up its work, right?
Unless you're running a commit in th
but commit is in finally block. so it runs on every condition even if you
return any value before it.
Dave Newton-4 wrote:
>
> --- oguzhan tortop <[EMAIL PROTECTED]> wrote:
>> At first catch i am expecting to handle exceptions
>> that could be arise while
>> creating the transaction and in the
--- oguzhan tortop <[EMAIL PROTECTED]> wrote:
> At first catch i am expecting to handle exceptions
> that could be arise while
> creating the transaction and in the second try block
> i am commiting the
> transaction it gives error at the last final block
> side while commiting.
...but if the exce
At first catch i am expecting to handle exceptions that could be arise while
creating the transaction and in the second try block i am commiting the
transaction it gives error at the last final block side while commiting.
Dave Newton-4 wrote:
>
> --- oguzhan tortop <[EMAIL PROTECTED]> wrote:
>>
--- oguzhan tortop <[EMAIL PROTECTED]> wrote:
> Yes , i can see it clearly from console as far as i
> guess when u call invocation.invoke() ; only the
> result of action become target.
Which HibernateException, the first one or the second
one?
> >> result = invocation.invoke();
> >> [...]
> >>
Tom,
I forgot to mention that unlike S1, in S2 the action class does not have to
be thread safe - The action class will be instantiated for each request, and
thus it will have its own instance of the POJO or member variables.
You can pass the "ActionForm", in our case, the POJO object to another
My sight is getting worst so fast ! Sob !
Of course , now it works!
Thanks a lot to everybody !
Marcello Savino
ALDEBRA S.p.A.
tel. 0461302441
-Messaggio originale-
Da: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Inviato: mercoledì 4 aprile 2007 14.43
A: Struts Users Mailing List
Ogget
Yes , i can see it clearly from console as far as i guess when u call
invocation.invoke() ; only the result of action become target.
joey-30 wrote:
>
> Are you sure you catch the HibernateException?
>
>
> On 4/4/07, oguzhan tortop <[EMAIL PROTECTED]> wrote:
>>
>>
>> hi all,
>> i am using str
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vasu,
This question is completely off-topic. :(
Gurram, Srinivas wrote:
> While opening the mail from the Inbox I am getting the following error
> message. Can anyone help me in fixing this issue?
>
> javax.mail.internet.ParseException
>
> a
Are you sure you catch the HibernateException?
On 4/4/07, oguzhan tortop <[EMAIL PROTECTED]> wrote:
hi all,
i am using struts2 with hibernate i have a basic form which inputs the
given
data via hibernate. I get the hibernate session from my custom hibernate
interceptor and from that intercept
On 4/4/07, davout <[EMAIL PROTECTED]> wrote:
I downloaded Struts r1.2.4. The r1.2.4 'validator-rules.xml' file is exactly
the same as the file in my project.
The stack trace says that this is not true - I can re-create your
exact error by dropping the validator-rules.xml from Struts 1.2.7 int
unsubscribe
-Original Message-
From: Marcello Savino [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 04, 2007 8:35 AM
To: Struts Users Mailing List
Subject: Iterating over a List of JavaBean
Hi all,
In a jsp file i need to iterate over an ArrayList of javabean :
The bean:
public class
--- Marcello Savino wrote:
> for (int i = 0; i < l.length; i++) {
> ((ActionFormBase) form).lista.add(l);
> }
You may mean l[i] here.
Tip o' the day: cast your form once, early; it's much
easier to read.
d.
Remove the type="myBean" from your jsp and try
Regards
Guru
---
Gurumoorthy Raghupathy
Email : [EMAIL PROTECTED]
Internal Extn : 2337
External Phone : 01483712337
Nielsen Book
3rd Floor Midas House
62 Goldswor
Thanks Dave.
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 04, 2007 5:12 PM
To: Struts Users Mailing List
Subject: Re: properties file
--- Syed Ibrahim <[EMAIL PROTECTED]> wrote:
> Am going through struts2-blank-2.0.6 project, there
> is HelloWorld
2007/4/4, Marcello Savino <[EMAIL PROTECTED]>:
for (int i=0;i
It seems like a bug, you are putting the array in the list a lot of times :-)
Antonio
-
To unsubscribe, e-mail: [EMAIL PROTE
Hi all,
In a jsp file i need to iterate over an ArrayList of javabean :
The bean:
public class myBean implements java.io.Serializable{
private Integer code;
private String name;
public Integer getCode(){return code;}
public String getName(){return name;}
--- Antony Stubbs <[EMAIL PROTECTED]> wrote:
> Just as an after thought - perhaps this should be
> added to the wiki somewhere? I would be happy to add
> a summary if someone would suggest an appropriate
> place to put it? Installation notes? (NB: If
> installing on Websphere 6 <> 6.1.05 etc)...
--- Syed Ibrahim <[EMAIL PROTECTED]> wrote:
> Am going through struts2-blank-2.0.6 project, there
> is HelloWorld.jsp file, while executing this file it
> searches for package.properties file which is
> not defined in the HelloWorld.jsp.
>
> Can anybody please let me know where it is defined.
/W
Thanks lot Victor.
Ibrahim
-Original Message-
From: VictorR [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 04, 2007 4:07 PM
To: user@struts.apache.org
Subject: Re: properties file
Hi Ibrahim,
I don't know where defined is, but if you want you can change this behavior
setting the "s
hi all,
i am using struts2 with hibernate i have a basic form which inputs the given
data via hibernate. I get the hibernate session from my custom hibernate
interceptor and from that interceptor i call the action which creates the
hibernate transaction with data from its form and after that i ret
Hi Ibrahim,
I don't know where defined is, but if you want you can change this behavior
setting the "struts.custom.i18n.resources" property as a constant into the
struts.xml file.
Note the value must not contains ".properties" sufix!!
regards,
__Billa__ wrote:
>
>
> Hi All,
>
> Am goin
Hi All,
Am going through struts2-blank-2.0.6 project, there is HelloWorld.jsp file,
while executing this file it searches for package.properties file which is
not defined in the HelloWorld.jsp.
Can anybody please let me know where it is defined.
Thanks a lot.
Ibrahim
---
Hi all,
I am trying to develop a web application with struts 2 framework. I have an
Action with a member attribute (a Collection of TO's).
My firsts question is about the scope of the Action I have implemented. How
can I make more than one request not to loose the data I have in the Action?
with
I prefer to achieve it by writing some java code than xml snippet.
Maybe migrating from struts1.x would do this.
If I just wanted to share more than one form within some actions,I must
declared more than one
interceptor.If I achieve it by only java code,I only need write a base
action and extend i
I downloaded Struts r1.2.4. The r1.2.4 'validator-rules.xml' file is exactly
the same as the file in my project.
The attached screenshot is a snapshot from the file compare utility.
http://www.nabble.com/file/7647/struts.zip struts.zip
What next?
--
View this message in context:
http://www.
81 matches
Mail list logo