Fabio, that sounds like a JPA/Hibernate question to me. Perhaps you could try
the Hibernate forum on their web site.
Fabio Fonseca wrote:
> Hello All,
>
> In the Stripes book there is the following code in the BaseDaoImpl class:
>
> @SuppressWarnings("unchecked")
> public List listFindBy(
I see the main advantage of ec2 is that you only pay for what you use. For
example, if your site is normally not busy but gets seasonal spikes and you
have something set up where it load balances and scales out automatically. Or
you need to move it from a normal instance to a large or high cpu
As per the Stripes' Best Practices page I added a rehydrate method annotated
with @Before.
1) I found using @Before with BindingAndValidation confusing so I changed it to
@After with HandlerResolution and that seems to work. Is that ok?
2) Instead of using this @Before/@After method I had been
y use the @Before and @After annotations, I would suggest
> using @Before when you need to initialize data for an operation. Use
> @After when you need to do some clean up following an operation.
>
> There are, of course, exceptions.
>
> On Tue, Sep 22, 2009 at 10:28 PM, Rus
Some of the jsps use jsp:useBean to pull in beans from the service layer. For
example, in BulkAddEditBugs.jsp is
... and then further down
Select One
Is this the preferred way to do this with Stripes?
The way I've done it in the past would be to have a property on the action
Any ideas why I'm getting the following error when running unit tests? The
first test doesn't get the error, which makes me think that something is not
being closed, shut down, etc. properly.
First the error listing, after that is my test harness.
(messages about scanning for classes removed)
s just
> resolved
>
> -Original Message-
> From: Rusty Wright [mailto:rusty.wri...@gmail.com]
> Sent: Thursday, September 24, 2009 1:24 PM
> To: Stripes Users List
> Subject: [Stripes-users] error when testing
>
> Any ideas why I'm getting the following error when runn
I agree about littering action beans but what about integration testing?
Suppose you want to replace ComponentListActionBean with a stub or fake that
exercises corner cases that you need to test? Then in your tests instead of
ComponentManager you could inject into your action beans
Misbehavin
What makes this page display? Sometimes I get it, other times I get the
expected page with the validation error on the page in the correct place.
(I'm porting a sample stripes app to Google App Engine.)
Stripes validation error report
Here's how it is. Someone (quite possibly the Stripes Disp
ion key then a
> random one is generated when the app server is started. If the form is
> rendered, the app server restarted and then the form submitted then the
> server can't decrypt _sourcePage so it spits out this report.
>
> -Ben
>
> On Tue, Oct 6, 2009 at 4:12
> 3. Re: Stripersist entity scan (Tom Coleman)
> 4. Re: Stripersist entity scan (Aaron Porter)
> 5. cause of "Stripes validation error report" page appearing?
> (Rusty Wright)
> 6. Re: Multiple URL bindings per action (Ray Vanderborght)
>
>
How do I get the url for the current page? I need it for a redirect back to
the current page after the user logs in. I've tried the following things (in
the log.debugs) with no success:
public String getLoginUrl() {
this.log.debug("uri: " + this.context.getRequest().getRequestURI()
Lordy, that's a lot of code! (Seems to me that that could be part of HttpUtil.)
Thanks Freddy.
Freddy Daoud wrote:
> Hi Rusty,
>
>> How do I get the url for the current page? I need it for a redirect back
>> to the current page after the user logs in.
>
> Here's how I do it in the Stripes bo
The web site seems to be down; I'm getting the ISP's web page that says "This
domain is under construction."
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report desi
1.5.2 is in the maven repo.
Original Message
Subject:[jira] Closed: (MAVENUPLOAD-2656) Upload Stripes-1.5.2 to
Maven Repository
Date: Mon, 23 Nov 2009 17:26:55 -0600 (CST)
From: Carlos Sanchez (JIRA)
To: rusty.wri...@gmail.com
[
http://jira.codehaus.org/
Having to scroll horizontally drives me nuts.
My theory is that it's from the code samples that are too wide. Pages that
don't have code samples don't make you scroll horizontally.
For example, if you go to
http://www.stripesframework.org/display/stripes/Sample+Application
the biggest offende
My domain/model/dto object starts as
public class FacilityAdminDto {
private Facility facility;
private Set platforms;
and then it has the usual getters and setters.
The jsp that's setting this has for the platforms part
${plat
I forgot to add that Platform does also have a no arg constructor.
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
Thinking out loud; did I make any mistakes about how Stripes works?
http://lumpynose.wordpress.com/2009/11/29/action-based-frameworks-vs-spring-mvc-under-the-hood/
--
Let Crystal Reports handle the reporting - Free Crysta
Yes, thanks. I realized that I needed a Platform TypeConverter/Factory this
morning while lying in bed; it was yet another one of those forehead slapping
"Duh! What was I thinking of?" moments.
Freddy Daoud wrote:
> Hi Rusty,
>
>> My problem is that when Stripes is calling the FacilityAdminDt
preciate on the input side, especially when there's something
> akin to Stripersist to handle implicit loading of objects from the
> database. I can't compare that to the Spring world because I've never
> been to the Spring world.
>
>
>
> On Sun, Nov 29, 2009 at
Double check that line
log4j.rootLogger=INFO, CONSOLE
This is why I hate the properties file format for log4j configuration and only
use the xml format; it's much easier (in my opinion) to understand. Maybe your
line is right, I dunno.
Ultimately I switched to logback (log4j's successor) an
I can't believe that after all this time it's still not in the main maven repos.
I was wondering if you could do something like the Reflections project has
done, and put the artifact in the source repo. Sounds ugly until you see it in
action;
http://code.google.com/p/reflections/wiki/MavenRepo
Not sure if anyone saw this but the 1.5.3 version was rejected from the
central maven repository because it doesn't have javadocs.
Would it be possible to use the Sonatype repository since it would be
quicker? And likewise, quicker to figure out what pieces are
needed/missing?
--
0x2B | ~0
On the web page
http://www.stripesframework.org/display/stripes/Maven2+Archetype+for+Stripes
it says you need to download and install the archteype. You don't need to
download and install the archetype; you can generate a project from it with
mvn archetype:generate \
-DarchetypeArti
(Apologies for replying to an old thread, I'm reading old email.)
For some of, perhaps the older ones, the word sucks is simply a shortened form
of sucks dick. So it has undesirable sexual connotations.
On 2010-10-29 09:53, M.C.S. wrote:
> Well, I still like the current tagline. I give a **it
This message should be changed to say "as it doesn't allow file system write
access." It's a bit misleading since Google App Engine does allow file system
read access.
[testappzzy/1.346310054370792299].: 2010-11-18 18:46:33.526 UTC, WARN:
[pool-4-thread-1] net.sourceforge.stripes.util.Log.war
Apologies in advance for this newbie jsp question; I'm hoping there's a
better way to do what I'm doing.
I'm uploading a comma separated values file, then I display it to verify
that the order of the data (the columns) in the clubs objects is correct;
If it's correc
Ok, thanks. Good point about including a hash for security; thanks. I'll put
that on my todo list.
On 2011-04-16 21:05, Will Hartung wrote:
On Apr 15, 2011, at 12:50 PM, Rusty Wright wrote:
If it's correct then I want to save the clubs List to the database. The only
way I c
Another vote for maven.
Here's an interesting thread on a project that recently switched to maven's
maven-release-plugin. It demonstrates how when you start using more of maven's features,
doing a release largely turns into a "one click" operation.
http://goo.gl/DJBQY
On 2011-04-20 12:34, V
Make sure your jsp starts with the correct song and dance for GAE:
<%-- isElIgnored="false" needed for GAE --%>
<%@
page
contentType="text/html;charset=ISO-8859-1"
language="java"
isELIgnored="false"
%>
The critical line is the isElIgnored in the <%@page directive.
See the
"I always thought that ActionBeans aren't really supposed to return any
specific information, but are only responsible to initiate changes in
the beans which contain data (the model)."
That's not how I think of it. To me there are generally two types of
data that can be displayed on a web page
As a user I'd be concerned about entering sensitive information on a web
page where the browser isn't displaying the lock or whatever it displays
to show that the page is https. Even though I could use the browser's
"view source" to see if the form POST is using https or the page has
some disc
Can you use something like this:
http://code.google.com/p/google-gson/
On 2011-08-25 18:18, Taylor Boon wrote:
Hello,
I am working on a web application and would like to send an array of
JSON-serialized objects to my Stripes application as a POST parameter
and have them be serialized int
http://www.stripesframework.org/display/stripes/Annotation+Reference
This page doesn't include @Intercepts
--
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear pictur
If you need a MultipartWrapper here's one by Moritz Petersen I got off the
net a few years ago for Google App Engine (GAE). With GAE you can't write
to the local filesystem, writes are restricted to the database. Adjust the
code as necessary.
http://pastebin.com/GMejKAQz
On Sat, Mar 1, 2014 a
Sorry, I pasted the wrong one. Refresh that pastebin page if you grabbed
it before now.
On Sat, Mar 1, 2014 at 1:17 PM, Rusty Wright wrote:
> If you need a MultipartWrapper here's one by Moritz Petersen I got off the
> net a few years ago for Google App Engine (GAE). With GAE you
Is anyone using these together? I'm not having any luck.
Or, alternatively, what are you using with stripes-guice to inject your JPA
entity manager?
--
Flow-based real-time traffic analytics software. Cisco certified tool
I'm sure this has been asked before, but why isn't my "paging through the
results" code working using a stripes:hidden field? In my action bean I
have a setter for newOffset and a getter for offset. In the jsp I add 20
to offset and set newOffset to that. My jsp has this:
${actionBean.offset}
idden by the value on the
> bean. Try it as a plain input tag like in your comment.
> On Oct 1, 2014 3:08 AM, "Rusty Wright" wrote:
>
>> I'm sure this has been asked before, but why isn't my "paging through the
>> results" code working using a str
et += 20;
>> }
>>
>> public void previousPage()
>> {
>> this.startingOffset -= 20;
>> if ( this.startingOffset < 0 ) this.startingOffset = 0;
>> }
>>
>> That should work perfectly fine. Then, you can have a single hidden
>>
put
> which looks like this:
>
>
>
> -- Rick
>
> On Wed, Oct 1, 2014 at 2:47 PM, Rusty Wright
> wrote:
>
>> Yes, thanks, I can definitely get it to work with a plain input tag. I
>> was just very frustrated that the stripes hidden input tag wouldn't work
Very nice; a big thanks to you.
Question: did the previous site say that 1.5.8 had been released? I only
remember 1.5.7 mentioned on it.
On Mon, Oct 6, 2014 at 4:15 PM, Rick Grashel wrote:
> Stripes Users,
> ...
>
--
se information on the new Wiki to reflect the
> current release. That was one of the "stale" pieces of information that I
> saw.
>
> Thanks.
>
> -- Rick
>
> On Tue, Oct 7, 2014 at 2:06 PM, Rusty Wright
> wrote:
>
>> Very nice; a big thanks to you.
&
explode the Javadoc and have it easily linked somewhere. Doing this by
> hand every time we build seems to be a waste.
>
> -- Rick
>
> On Tue, Oct 7, 2014 at 3:06 PM, Rusty Wright
> wrote:
>
>> The javadoc link points to the 1.5.7 javadoc. I used the javadoc
>> generator
Just thought I put this out there since I don't see anything about it in
the mailing list archives.
https://github.com/StripesFramework/stripes/releases
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Ac
And it's in the maven repo, as are the source and javadoc. In my pom.xml I
have
net.sourceforge.stripes
stripes
1.5.8
On Tue, Oct 7, 2014 at 1:53 PM, Rusty Wright wrote:
> Just thought I put this out there since I don't see a
I'm doing something different than what Freddy does in his book, but he
alludes to this way of doing a layout. I wanted your feedback to make sure
I'm not doing anything ugly or not kosher.
My action bean is
public class LayoutActionBean extends BaseActionBean {
private final transient Logge
Sorry, I forgot menu_full.jsp; here it is:
This is the full menu.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Au
Escaping html?
http://tinyurl.com/p7cymrs
On Tue, Oct 14, 2014 at 1:53 PM, Adam Stokar wrote:
> Hi everyone,
>
> Does Stripes have an easy way to remove HTML from user input to prevent
> XSS attacks? I've googled with no success.
>
> Thanks,
>
>
> -
Newbie question: If I put something in the session using my
ActionBeanContext subclass, for how long is that data available? I'm
finding that with Tomcat, running in/under Eclipse, it goes away after an
hour or so (not sure how long it is, but not very long).
E.g., I'm using
public void setUserP
ing of that is generally a configuration
> option of the servlet engine you're using (Tomcat).
>
>
> On Fri, Oct 31, 2014 at 4:16 PM, Rusty Wright
> wrote:
> > Newbie question: If I put something in the session using my
> > ActionBeanContext subclass, for ho
n also set the session timeout per app in the app’s web.xml file.
>
>
>
> If the app does not define a session timeout, it takes the value of the
> web server.
>
>
>
> *De :* Rusty Wright [mailto:rusty.wri...@gmail.com]
> *Envoyé :* October-31-14 6:13 PM
> *À :* St
I have a project that would simply stop outputting its html from the jsp,
randomly. No errors in the tomcat log files. It started after I upgraded
to tomcat 8. When I downgraded to tomcat 7 the problem stopped.
On Thu, Feb 5, 2015 at 5:38 PM, Iwao AVE! wrote:
> Hi,
>
> The exception looks sim
What are the disadvantages of always having the server configured for UTF-8?
On Fri, Feb 27, 2015 at 4:48 AM, Rick Grashel wrote:
> Nahid,
>
> Ah, good find by everyone that your server isn't in UTF-8.
>
> If you are using Resin, just put this in your resin configuration file:
>
> utf-8
>
> That
low level things and services are better to be
> handed by the application server. Default character encoding is one of
> those. It all depends on how you view a container and the services you
> think it should and shouldn't provide to applications.
>
> -- Rick
> On Feb 2
"There's a custom mechanism that creates security tokens."
I retired several years ago so this is all from my foggy geriatric memory
and it may be a bogus suggestion.
If you're on Unix and your security token contains their user id then you
could use this brute force method. On Unix it has a syst
(Thumbnail synopsis; the app blows up with ClassCastException when I extend
ActionBeanContext.)
This was downloaded from
https://sourceforge.net/projects/mvnstripes/files/stripes-quickstart-1.0/1.0/stripes-archetype-quickstart-1.0.jar/download
Using eclipse with its built in maven I couldn't ge
ually work and it is built daily.
>
> -- Rick
>
>
> On Fri, Jan 27, 2017 at 12:29 PM, Rusty Wright
> wrote:
>
>> (Thumbnail synopsis; the app blows up with ClassCastException when I
>> extend ActionBeanContext.)
>>
>> This was downloaded from
>&g
My fault; I'm a dummy. I wasn't paying attention and didn't put my
ActionBeanContext subclass in the Extension.Packages.
On Fri, Jan 27, 2017 at 10:45 AM, Rusty Wright
wrote:
> The link to it is on
>
> https://stripesframework.atlassian.net/wiki/display/
> STRIPES/M
there was an annotation, one that did had the
same effect as the ActionBeanContext.Class init param in the web.xml.
On Fri, Jan 27, 2017 at 5:57 PM, Rusty Wright
wrote:
> My fault; I'm a dummy. I wasn't paying attention and didn't put my
> ActionBeanContext subclass in the
On the multiple WARs side of things, if you're not using maven it could
make it trivial to deploy 2 wars that use the same code base. On the other
hand, learning maven is nontrivial.
Sonatype has some excellent free books on maven:
https://www.sonatype.com/ebooks
On Fri, Sep 1, 2017 at 10:23 A
Does it not work? I was recently experimenting with Oracle's JDK 17 and it
worked. I'm trying to work my way through the book again.
On Thu, Jun 8, 2023 at 4:04 PM Hemang Vyas wrote:
> Is anyone using stripes framework with Open-JDK 11 or 17?
>
> Thanks,
>
> On 2/10/2023 10:12 AM, Hemang Vyas
I've been looking for a replacement for Stripes since it's not being
maintained and it looks like Jakarta Faces has a very similar action bean
design. I looked at Faces years ago when it was version 1.x and was put
off by all of the xml configuration but now it looks reasonable with its
annotation
rojects in
> Stripes so it is tough for me to move to any other MVC framework.
>
>
> On 8/28/2023 10:11 AM, Rusty Wright wrote:
>
> I've been looking for a replacement for Stripes since it's not being
> maintained and it looks like Jakarta Faces has a very similar acti
65 matches
Mail list logo