Hi All
I'm using an onchange event of a select field to trigger the elements within a
div to be replaced via an ajax call. This works perfectly in FireFox, but in IE
6 and IE 7, the form fields are not posted with the ajax call. So I cannot tell
what has been selected in the select field.
How
from:
ServletActionContext.getServletContext().getRequestDispatcher(/post/message/+id).forward(ServletActionContext.getRequest(),ServletActionContext.getResponse());
I want to forward request to http://localhost:8080/post/message/3166,
but it always throws out exception says requested resource
Why do you need to do it manually with the request dispatcher? Can't
you use any of the available result types?
http://struts.apache.org/2.1.6/docs/result-types.html
Nils-H
2009/4/29 xnpeng xnp...@163.com:
from:
dusty wrote:
In case you have not guessed, asking someone to just give me code is not
the best policy on any forum/mailing list. You can either a) use Google to
find someone who has posted code b) Learn to do it yourself. Either way
its not really a Struts related question.
All that
If you don't have to use struts' ajax tags, my experience is there are
much better options out there for ajax purposes. Plus their ajax tags
have been deprecated.
JQuery does Ajax very easily. I was able to get it working in a few
hours after struggling with AJax tags for days.
Try this
thanks.
but i've now a new problem: when i upload my file i received this message
the request was rejected because its size (3571443) exceeds the configured
maximum (2097152) now i set in the interceptor-ref name file upload this
param:
interceptor-ref name=fileUpload
10485760
Thanks, actually I want more, like examples from this link:
http://www.instantshift.com/2009/02/05/40-excellent-jquery-tutorials/
Is it durable for me to learn how to implement them in struts2?
If there're online tutorial or book tutorial about this issue, it will be
fantastic for me
dusty
Hi ,
I think chain is not going to work for this kind of pattern. Because I think
chain will excute irrespective of what happens , even if validations pass
chain is going to call the action , which is not required in this case.
I am just wondering there should be a way where we can retreview
Wes,
When will the book be ready? About a year ago, I tried the basic S2,
Spring Hibernate and I have the hardest of time to do things as the
connection keep getting closed before I could update things. Hopefully, your
book will help me understand why that was. I have been using S2,
I believe that question has been asked... and answered... Google is
your friend.
http://www.mail-archive.com/user@struts.apache.org/msg86775.html
On Wed, Apr 29, 2009 at 8:40 AM, PEGASUS84 pegasu...@hotmail.it wrote:
thanks.
but i've now a new problem: when i upload my file i received this
Dear friend, i have a problem with Struts 2 and internazionalization.
First of all compliment for this forum.
Problem:
I forze to change the language in url bar put
http://localhost.actionname.action?request_locale=en_US or
actionname.action?request_locale=it_IT
and all work perfectly
I was trying to use smae old S1 action for S2 jsp pages. I am suing struts 1
plugin for that.
struts.xml code:
?xml version=1.0 encoding=UTF-8 ?
!DOCTYPE struts PUBLIC
-//Apache Software Foundation//DTD Struts Configuration 2.0//EN
http://struts.apache.org/dtds/struts-2.0.dtd;
I have an Action with a date attribute
private Date myDate;
public void setMyDate(Date myDate) {
this.myDate = myDate;
}
I have a form that has a date picker (not the struts 2 date picker)
that populates a text field. When I submitt the form to my action the
property does not get set because
it sets the engine used by the tags.
musachy
On Wed, Apr 29, 2009 at 1:27 AM, Kishan G. Chellap Paandy
kishanchellapaand...@spanservices.com wrote:
Hi Musachy,
Thanks for your reply.
I was wondering what is the significance of struts.ui.templateSuffix is?
Please advice.
Thank you.
Hello all,
It seems as if I am always at odds with trying to figure out the correct
OGNL syntax. I have a MapString,String in the HttpSession, and I'm
trying to use one of the values in the map as an anchor tag in a link.
The map is stored in the session as an attribute named
Hi all,
One of the struts actions I'm implementing shuts down the server.
I'd like to be able to send back an HTML response before the server
shuts down, but the action's execute() method doesn't dispatch to the
jsp for the html response until after the return of the method. That
means
Thanks Eric
Yes, I think you're right about the struts ajax tags. I'll try check out that
link at some other time as it is giving an error of 509 Bandwidth exceeded.
Cheers,
Martin
-Original Message-
From: Eric Zhao [mailto:z...@utsc.utoronto.ca]
Sent: Wednesday, 29 April 2009 11:01
Russell Neufeld wrote:
One of the struts actions I'm implementing shuts down the server.
Hmm.
Is there a special value I can return from a Struts 2 execute()
method, say null, which tells the framework not to send any HTML
response back [...]
Try none (Action.NONE)
Dave
On Wednesday 29 April 2009 11:14:08 am Doug Pham wrote:
Wes,
When will the book be ready? About a year ago, I tried the basic S2,
Spring Hibernate and I have the hardest of time to do things as the
connection keep getting closed before I could update things. Hopefully,
your book will
Hi
It is nothing about date picker tag. You can have a Converter to convert
String to Date and vice versa.
Below is my implementation for your reference:
(For DateUtil, please replace with yours)
public class DateConverter extends StrutsTypeConverter {
private static final String PATTERN =
i am using struts submit tag . i want to add the both text and image to
struts submit button how is it possible?
Thanks in Advance
--
View this message in context:
http://www.nabble.com/Adding-Text---Image-to-struts-tag-tp23309438p23309438.html
Sent from the Struts - User mailing list archive
Hi all,
as far as i know, date has its converter inside struts2 distribution,
so one shoul do nothing to make it work.
Best greetings,
Pawel Wielgus.
2009/4/30, Matt Jiang matt.ji...@gmail.com:
Hi
It is nothing about date picker tag. You can have a Converter to convert
String to Date and
22 matches
Mail list logo