I don't see what Ajax has to do with this... It sounds more like an HTTP
caching issue. Cree, if you do a page refresh, is the image updated
correctly? I haven't used the JFreeChart result, but maybe it's not
setting the right cache control headers.
L.
Randy Burgess wrote:
Ajax is text only
Hai, can anybody help me to solve the problem javax.servlet.jsp.JspException:
Cannot retrieve mapping for action /pro.
if i replace the content in struts-config-product.xml to struts-config.xml.
it work. any idea???
web.xml
config
/WEB-INF/struts-config.xml
config/product
/WEB-INF/product/str
Thanks for your help.
Regards,
ManiKanta
Laurie Harper wrote:
ManiKanta G wrote:
Hi,
How can I redirect to another page after stream result. For example
redirecting to another page saying successfully downloaded the file
or adding some action message and redirecting to the same page.
You
In order to get a grasp of this, it would be helpful if you read the following:
Succeeding With Struts: Dynaforms
By James M. Turner
http://www.developer.com/java/web/article.php/2214681
Succeeding With Struts: Indexed Properties and Beans as Properties
By James M. Turner
http://www.developer.com
Ajax is text only so you can't use it with an image type.
Regards,
Randy Burgess
Sr. Software Architect
D5 Systems, LLC
> From: cree <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List
> Date: Wed, 30 Jul 2008 12:14:02 -0700 (PDT)
> To:
> Subject: Struts 2 And JFreeChart
>
>
> Hello Ev
Andy Law wrote:
Jeromy,
That's enormously helpful - thanks.
A short follow-up. Can you point me towards a description of where/when the
Action object gets created and where Interceptors fit into the process.
The architect's guide is a good place to start.
http://struts.apache.org/2.
Hi all,
Was really not sure which mailing list to post to ...
I have a java application that uses struts 2 (actions, etc).
Every time I access a page (which goes through an action), my browser gets
to that page, but then it "skips" (for want of a better term) onto a blank
page (with the URL intac
Gundersen, Richard wrote:
Hi
When validation succeeds on my form, I still get returned to the input
page. My execute() method does not seem to be getting called even when
validation is OK.
This is my Action (no @Validation annotation after I read that was
deprecated)
===
Thank you for the help guys. I got it working.
- Original Message
From: Gabriel Belingueres <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Wednesday, July 30, 2008 10:58:43 AM
Subject: Re: ServletOutputStream
A solution could be this: Store the excel data in session, then in
Ylva Degerfeldt wrote:
Hi everyone,
I'm using Struts 1.2 (bundled with NetBeans 5.5.1) and I've noticed
that I can't iterate through a java.util.Set using the logic:iterate
tag.
The code that I've tried:
I get this exception: javax.servlet.ServletException:
javax.servlet.jsp.JspException: Can
ManiKanta G wrote:
Hi,
How can I redirect to another page after stream result. For example
redirecting to another page saying successfully downloaded the file or
adding some action message and redirecting to the same page.
You can't; there can only be one response to an HTTP request. The sam
cpanon wrote:
Hello
I am having a difficult time designing and implementing an interaction of
displaying and accepting user input of multiple records at once. I can create
a collection of records, but records are complex, composed of other objects
that are themselves composed of text strings
First I thought the problem was from ACEGI that I recently added to the
project. So I took all of it out .However I encountered the same problem as
above in IE. Then I thought the problem could be some leak in display tag .
So i swithced back to normal table and the same thing again.
So I realize
2008/7/30 Dasgupta, Ranjan <[EMAIL PROTECTED]>
> In your action set the fieldError:
> addFieldError("someField", "someText")
>
> in your JSP:
>
>
Thank you, Ranjan!
The "cssErrorClass" parameter was forgotten from the tag reference guides.
See for example:
http://struts.apache.org/2.1.2/docs/te
In your action set the fieldError:
addFieldError("someField", "someText")
in your JSP:
Thanks,
-RD
-Original Message-
From: Pierre Thibaudeau [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2008 3:31 PM
To: Struts Users Mailing List
Subject: [S2] error style on s:textfield
In Str
In Struts2, what is the equivalent of Struts1's "errorStyleClass" parameter
of tag?
In other words, how can I control the CSS style of a when
there is an error over that field?
Hello Everyone,
Got a quick question regarding the streaming of a JFreeChart (or any image)
and how to be able to handle it on a jsp. I have create a servlet that will
stream out an image to the jsp using a syntax similar to (in my struts.xml):
(Using Struts 2.1.2)
I have a little "widget" (for want of a better word) which gets activated on
most pages by a call to:
the result of that action being a small JSP that will sit snuggly inside its
little box on the overall page. That little widget is, in effect,
independent and clueles
A solution could be this: Store the excel data in session, then in
your 'status completed' page add an onload event to its body,
redirecting to the real download action:
IIRC:
http://blahblah/myaction.action';">
You can also add a meta in the head:
http://blahblah/myaction.action";>
2008
Jeromy Evans - Blue Sky Minds wrote:
>
> Andy Law wrote:
>>
>> e.g.
>> /foo/Action1.action runs action1 passing in 'foo' and /bar/Action1.action
>> runs the same action passing in 'bar'.
>>
>> How should I code/configure/build this kind of thing.
>>
>
>
> In Struts 2.0.x, you may be able to
To send only one response it's a inherent limitation or http, so you
can only send a page, or the excel result or redirect, but not many at
once.
What you can do is put a "downloading page" and from that page use a
script to begin the downloading of the excel data from a different
action.
If you wa
--- On Wed, 7/30/08, Nick Scavelli <[EMAIL PROTECTED]> wrote:
> I'm replying to this because it's somewhat related
> to an issue I'm having.
Not really :p
> Let's say I have the following control in my jsp:
> targets="resultsDiv" indicator="indicator"/>
>
> But let's say my session h
Hi all,
I have a multi-page form bean for a 2 step registration form. In the
second page I have a back button like this:
and in my action I check if it was pressed similarly to the cancel button:
if (isCancelled(request)) {
targetUrl = "goHom
Hi
When validation succeeds on my form, I still get returned to the input
page. My execute() method does not seem to be getting called even when
validation is OK.
This is my Action (no @Validation annotation after I read that was
deprecated)
I'm replying to this because it's somewhat related to an issue I'm having.
Let's say I have the following control in my jsp:
This of course will update the div defined in my jsp:
Everything works great under normal circumstances. But let's say my
session has timed out, and I need to redirect
So, scenario is like this:
MyFirstAction.method1 [put session variable] -> show first.jsp -> user click
on link in first.jsp page -> show second.jsp -> user click on link in
second.jsp -> MySecondAction.someMethod is called -> show third.jsp where
this session test should be done.
I hope this he
Nop, it doesn't work.
--
Milan
Marcos Hermida-2 wrote:
>
> Have you tried this:
>
>
>
> Milan Milanovic escribió:
>> Well, this : doesn't
>> work,
>> event though my class implements sessionAware and I put my your_variable
>> in
>> session before displaying this jsp page.
>>
>> What can I
Hi,
just to note, I treid with this too: and it doesn't work.
I put my session variable in one action class, and then redirect to another
page which is connected to another action class. When that second class
method is runned, and resulting jsp is shown in that page I test this. My
both classes
Have you tried this:
Milan Milanovic escribió:
Well, this : doesn't work,
event though my class implements sessionAware and I put my your_variable in
session before displaying this jsp page.
What can I do ?
--
Thx, Milan
felipe.lorenz wrote:
Hummm.. Struts 1 or 2?
This code is to S2
Thank you for the reply. I know my action can only return one response.
However I want to avoid saving my file somewhere on the server and would like
the 'File Download' dialog to appear when the file is ready. How can I do this
in struts 2 while still forwarding to a 'status completed' page?
Without knowing anything about the JSP causing the error it will be more
difficult to help.
Dave
--- On Wed, 7/30/08, ms.programmer.1 <[EMAIL PROTECTED]> wrote:
I tried to use the tag but I get a FreeMarker
> template error.
>
> *FreeMarker template error!*
>
> Error on line 122, column 65
Well, this : doesn't work,
event though my class implements sessionAware and I put my your_variable in
session before displaying this jsp page.
What can I do ?
--
Thx, Milan
felipe.lorenz wrote:
>
> Hummm.. Struts 1 or 2?
>
> This code is to S2.
>
>
>
> do something
>
>
>
> I did
I tried to use the tag but I get a FreeMarker template
error.
*FreeMarker template error!*
Error on line 122, column 65 in template/simple/doubleselect.ftl
Expecting a string, date or number here, Expression
parameters.doubleNameValue is instead a
freemarker.ext.beans.ArrayModel
The problematic
I have one more question, not directly connected with this one. How can I ask
user with popup windows if he want to proceed when he click to some link,
without using Ajax and div tags ?
--
Thx, Milan
Milan Milanovic wrote:
>
> Hi,
>
> it is S2, I wrote this in subject of this topis.
>
> Th
1.I've sent email to dojo-interest@
2.http://dojotoolkit.org/ forum keeps silence.
Maybe my problems have different solutions and I'm trying to solve in the
wrong way?
I've spent approximately 2 business days and nothing has been found.
Jim Kiley wrote:
>
> What did the dojo mailing list [1]
See if tag fits your needs.
2008/7/30 ms. programmer. 1 <[EMAIL PROTECTED]>:
> I am populating the options in select list B from the option selected in
> select list A, when a button is clicked. When a new option is selected in
> select list A, I want the previous option in select list B to be de
What did the dojo mailing list [1] [2] recommend?
jk
[1] [EMAIL PROTECTED]
[2] http://dojotoolkit.org/*
*
On Wed, Jul 30, 2008 at 8:57 AM, holod <[EMAIL PROTECTED]> wrote:
>
> I use dojo anchor widget ().
> It successfully gets response in json from server, but I have several
> problems accessing
I am populating the options in select list B from the option selected in
select list A, when a button is clicked. When a new option is selected in
select list A, I want the previous option in select list B to be deselected.
The value for these select lists is being stored in the session. I have bee
I use dojo anchor widget ().
It successfully gets response in json from server, but I have several
problems accessing widget, that published a topic.
Please, see my code:
dojo.event.topic.subscribe("/after", function(data, request, widget){
alert('inside a topic event. after request');
//d
I know...when I have two projects that use the same package namespace for my
app source...I get this Action mapping error. Even when one project is
"Closed" (in the Eclipse sense). I neglected to mention this previously in
describing what I "changed" to make things work. There is still a
'fragility
Hi everyone,
I'm using Struts 1.2 (bundled with NetBeans 5.5.1) and I've noticed
that I can't iterate through a java.util.Set using the logic:iterate
tag.
The code that I've tried:
I get this exception: javax.servlet.ServletException:
javax.servlet.jsp.JspException: Cannot create iterator for t
Your action can not generate two responses (if that's what you asking).
If you forward to a 'status completed' page, then you need to save
your excel data somewhere to not loosing it.
2008/7/29 Mike Rooney <[EMAIL PROTECTED]>:
> I created a small webapp that extracts data from a DB, creates an Exc
Hi,
How can I redirect to another page after stream result. For example
redirecting to another page saying successfully downloaded the file or
adding some action message and redirecting to the same page.
Thanks in advance
Regards,
ManiKanta G
** DISCLAIMER **
Information
Hi,
I "fixed" the problem by reverting back to 2.1.1-SNAPSHOT version with
struts core and all the plugins. Changing eclipse to 5.0 is really not
a solution for me, so I couldn't do that. I wonder what in 2.1.2 makes
my program not work anymore.
Pauli
2008/7/29 John Moose <[EMAIL PROTECTED]>:
>
Hi Laurie,
sorry if I expressed not totally clear what I mean - have still some problems
with my english! ;)
> What do you mean that the parameters passed to the action 'change every
> now and then'? At random?!? If you just mean that there are a variable
> number of them, no problem; that's w
Hello,
I'm using s:div tag to load async the results of an action like this:
my_action has as a result a jsp page in which we use . The text is loaded from language resource file but it is
not displayed correctly. We need to display danish words and it works like
this:
in resource file: ... får
46 matches
Mail list logo