Maybe you should try a Jasper mailing list?
Nils-H
On Fri, May 29, 2009 at 8:19 AM, Ikya Technical wrote:
> Hi,
>
> Whenever I am giving true in
>
> JasperPrintManager.printReport(jasperPrint, true)
>
> it is throwing the error
>
> net.sf.jasperreport
Hi,
Whenever I am giving true in
JasperPrintManager.printReport(jasperPrint, true)
it is throwing the error
net.sf.jasperreports.engine.JRException: Error printing report.
But if I am giving it as JasperPrintManager.printReport(jasperPrint
Yes there is! I am using Tiles 2.1.1 which provides support for wildcards
and substitutions. This one definition is handling all my pages!
Struts
displayTile-{1}
Tiles
Update your taglib uris. Struts is no longer a jakarta project, unless
you're using 1.0 or 1.1
On Thu, May 28, 2009 at 11:19 AM, coolsayan wrote:
>
> how to solve??why this not working??
>
>
>
> code in login.jsp
>
> <%...@page contentType="text/html"%>
> <%...@page pageEncoding="UTF-8"%>
>
> <%
Hi Boraldo,
I'm facing the same problem. Have you found a solution?
Thanks,
Maria
boraldo wrote:
>
> My problem is that I can't make sx:bind work if it lays in the div that
> was rerendered using another sx:bind.
>
> Here is short example.
>
> main.jsp:
>
> <%@ include file="../header.jsp
how to solve??why this not working??
code in login.jsp
<%...@page contentType="text/html"%>
<%...@page pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"; prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"; prefix="html" %>
<%@ taglib
not to mention Inject has 2 specs to conform to
JSR299 spec
2 flavors of JSR300 spec
JSR300 - Guice
JSR300 - Spring (most widespread Injection implementation)
http://www.h-online.com/open/Google-SpringSource-Joint-Dependency-Injection-for-Java-proposal--/news/113393
?
Martin Gainty
__
Yeah, the author posted a link to it on u...@maven.a.o a while ago...
IIRC, one of the problems with mvnrepository.com is that the actual
maven guys can never get anyone to claim ownership. It is sort of a
mysterious entity on the 'net. You combine the inability to contact
anyone regarding problems
like jarhoo (but for maven)
Martin
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbef
Thanks! This works like a charm.
Musachy Barroso wrote:
>
> add this to your interceptor
>
> @Inject(StrutsConstants.STRUTS_ACTION_EXTENSION)
> public void setExtension(Strtin ext) {}
>
> musachy
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
>
wow, that website rocks.
On Thu, May 28, 2009 at 9:17 AM, Dave Newton wrote:
> Wes Wannemacher wrote:
>>
>> http://www.jarvana.com/jarvana/
>>
>> Seems to me that mvnrepository.com is always down when I *need* to be
>> able to search :) Jarvana allows you to search for classes and find
>> out whi
I'd imagine that you can use @Inject
But, there is always the warning that using @Inject is not supported
and we reserve the right to change the behavior later (as if we'd ever
be able to change @Inject)
-Wes
On Thu, May 28, 2009 at 10:19 AM, Yellek wrote:
>
> I have a need to obtain the value
add this to your interceptor
@Inject(StrutsConstants.STRUTS_ACTION_EXTENSION)
public void setExtension(Strtin ext) {}
musachy
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
-
To unsubscribe, e-mail: user-unsubsc
I have a need to obtain the value of struts.action.extension in an
interceptor. Browsing around the source code with a debugger isn't getting
me anywhere. Can anyone suggest a way to access the struts.xml constant
definitions in the context of an interceptor?
--
View this message in context:
htt
Gee... Of course it was the two most similar letters in the world, almost at
least, messing things up. I did check the file names as well but missed
this, have to be more careful next time. So difficult to find those small
little buggers.
Well done, life is good again :) Thank you!
Cheers,
Nikla
Thanks, lots of valuable information!
It is hard to draw the line where things start and stop.
Could it be that when creating a project with a Maven Archetype, not all of
the dependencies are defined in the pom?
Or does an artifact such as Struts2-spring-plugin 2.0.14 will automatically
update it
Heh.
Man, this took me a long time to figure out--I was looking in all the
wrong places. The short answer is that you need to use a different font.
The longer answer--check out the filename of your validation file.
Dave
Niklas Johansson wrote:
Hello,
Thanks for the information, but serious
Wes Wannemacher wrote:
http://www.jarvana.com/jarvana/
Seems to me that mvnrepository.com is always down when I *need* to be
able to search :) Jarvana allows you to search for classes and find
out which artifacts provide them, which is nifty when you are getting
class not found exceptions.
Nic
I'm working on it, I got sidetracked helping with Struts and starting
my own business, but that's starting to calm down so I'll be back to
work on important stuff soon :)
-Wes
On Thu, May 28, 2009 at 8:41 AM, wrote:
> Nice tip Wes... now where is that book of yours? I haven't received new
> ch
Nice tip Wes... now where is that book of yours? I haven't received new
chapters in quite some time.
On Thu, May 28, 2009 at 7:28 AM, Wes Wannemacher wrote:
> In addition to what Dave suggested, there are other maven search
> tools, my new favorite is -
>
> http://www.jarvana.com/jarvana/
>
> S
for those of us who spend hours looking for maven plugin jars
this is a great search tool!
thanks wes!
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der
xnpeng,
I think you are missing the point, packages have interceptor and
interceptor stack definitions. Actions live inside of packages. What
you need to do is move your conventions actions into your package. The
interceptor ref annotation will point to the stacks you want, but it
does no good if
In addition to what Dave suggested, there are other maven search
tools, my new favorite is -
http://www.jarvana.com/jarvana/
Seems to me that mvnrepository.com is always down when I *need* to be
able to search :) Jarvana allows you to search for classes and find
out which artifacts provide them,
Hi Dave,
thanks a lot for your support.
I have been able to save my face because of you. I kept going becuase of you
and you know, now its very clear how it populates.
Thanks a ton,
Prashant
--- On Thu, 28/5/09, Dave Newton wrote:
From: Dave Newton
Subject: Re: how to get productID from
Prashant Singh wrote:
How ever I have a little doubt about how the population of the private
variables declared takes place.
Because you have a public setProductID(), and your request has a
productID parameter. That's how S2 works.
So my ultimate question is what is the exact way of popula
Hi Nils,
I got it,
I am absoluteply estatic.
Thanks a ton,
Prashant
--- On Thu, 28/5/09, Nils-Helge Garli Hegvik wrote:
From: Nils-Helge Garli Hegvik
Subject: Re: how to get productID from the url into action class.
To: "Struts Users Mailing List"
Date: Thursday, 28 May, 2009, 4:22 PM
O
Hi Nils,
You bet that I did remove line 28.
How ever I have a little doubt about how the population of the private
variables declared takes place.
I am posting my earlier example for your reference.
If you see this example. I got the values from the resultset and stored them in
an arryal
Obviously, something must be wrong if something as simple as setting
an action property doesn't work. Are you sure that the url to the
action is generated correctly? Try using the s:url tag instead of
assembling the url and parameter "by hand". Also, you have not showed
your struts.xml.
I suggest
Hi Nils,
that the whole point.
I have not been trying to run the sql query using the productid as the where
clause
Connect connect = new Connect();
Connection con = connect.useConnection();
String query="Select suppliername from supplier_proddetails where productid=?";
how ever my output
In the forum entry user David Newton told you to "Remove line 28."
Did you do as he suggested? You didn't respond to his suggestion.
What he was trying to explain is that Struts should call setProductId() for you
so that you have no need to mess about with Request parameters, etc.
If you are de
Hi Nils,
this is what I have tried to do till today.
http://www.coderanch.com/t/446930/Struts/transfer-productID-from-url-action
Sincerely,
Prashant
--- On Thu, 28/5/09, Nils-Helge Garli Hegvik wrote:
From: Nils-Helge Garli Hegvik
Subject: Re: how to get productID from the url into ac
I think the mailing list is messing with the order of messages
However,
Documentation and code snippets can be found here:
http://struts.apache.org/2.1.6/docs/bootstrap.html
Basically, map your action in struts.xml, add the appropriate
getter/setter in your action, and it should automagicall
Hi Nils,
can you please illustrate with a code snippet.
Thanks,
Prashant
--- On Thu, 28/5/09, Nils-Helge Garli Hegvik wrote:
From: Nils-Helge Garli Hegvik
Subject: Re: how to get productID from the url into action class.
To: "Struts Users Mailing List"
Date: Thursday, 28 May, 2009, 3:19 P
Hi Nils,
can you please illustrate with a code snippet.
Thanks,
Prashant
--- On Thu, 28/5/09, Nils-Helge Garli Hegvik wrote:
From: Nils-Helge Garli Hegvik
Subject: Re: how to get productID from the url into action class.
To: "Struts Users Mailing List"
Date: Thursday, 28 May, 2009, 3:19 P
If you take a step back, and remove what you have tried to do now,
what did you try, and what didn't work?
Nils-H
On Thu, May 28, 2009 at 12:22 PM, Prashant Singh
wrote:
> Hi Nils,
>
> Please pardon me if I am appearing silly but I 've been trying to get the
> productID from the jsp to the acti
Hi Nils,
Please pardon me if I am appearing silly but I 've been trying to get the
productID from the jsp to the action class for 3 days without any luck.
I have got out list of products from the database and I have displayed them on
a jsp using struts 2 tags .
Now what I want to do is to h
Hi Prashant,
I have to confess that you have cheered up my morning :) That is quite an
amusing code snippet.
Not sure what you are actually trying to do, but what you are doing is opening
a URL connection to the Showprodsuppliers from within its execute method. So,
naturally, you have created
When I think of it, that doesn't make any sense either... Isn't the
product id set as a property on your action?
Nils-H
2009/5/28 Nils-Helge Garli Hegvik :
> Um... What exactly are you trying to do here? Do you just need the product id
> from the url string, or are you trying to fetch something
Um... What exactly are you trying to do here? Do you just need the
product id from the url string, or are you trying to fetch something
from a different backend? If you just need it from the string, just
use indexOf and substring.
Nils-H
On Thu, May 28, 2009 at 11:41 AM, Prashant Singh
wrote:
>
Um... What exactly are you trying to do here? Do you just need the
product id from the url string, or are you trying to fetch something
from a different backend? If you just need it from the string, just
use indexOf and substring.
Nils-H
On Thu, May 28, 2009 at 11:41 AM, Prashant Singh
wrote:
>
Hi dear,
I have been trying to read the productID from the url but it goes into an
infinite loop at point 1. I am posting the code below. Please help.
package net.astralpharma;
import java.io.*;
import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.Ac
Hi,
I’m not an expert with the internals of the REST plugin, but am using it fairly
extensively. By and large we use annotations in our classes to determine
results (see org.apache.struts2.convention.annotation.Results) but it is
certainly possible to define some globals and it is definitely po
Have you looked at the source of LocaleAction? I can't remember
whether it requires a form bean or uses straight request parameters.
Add scope="request" to your action mappings and see if it makes a
difference.
On Sat, May 23, 2009 at 1:00 PM, Ed wrote:
> I have realized that LocaleAction is not
43 matches
Mail list logo