Questions tagged [stripes]

Stripes is an open source web application framework based on the model-view-controller pattern.

Stripes is an open source web application framework based on the model-view-controller pattern. It aims to be a lighterweight framework than Struts by using Java technologies such as annotations and generics that were introduced in Java 1.5, to achieve "convention over configuration". This emphasizes the idea that a set of simple conventions used throughout the framework reduce configuration overhead. In practice, this means that Stripe applications barely need any configuration files, thus reducing development and maintenance work.

Stripes Framework (stripesframework.atlassian.net)

Stripes Framework (Wikipedia)

361 questions
5
votes
2 answers

How can i change the color of an error message in stripes framework

I am trying to change the color of error message. I am using a Stripes validation.If the validation failed, I am sending a error message. I wanted it in red color.But it shows in black color. How can i change the color of error message in Stripes…
Aragon
  • 143
  • 2
  • 9
5
votes
2 answers

Tomcat 6 - The requested resource ... is not available

I am trying to start developing with Java and the Stripes Framework. I have the following in my web.xml file
Smithers
4
votes
1 answer

Stripes ActionBean event always resolve to default event

I am using cleanurls formatted like /View/{arg1}/{arg2}/{$event}. ActionBeanView has multiple events. However irrespective of which event I invoke from browser, this always gets resolved to the default event. Any ideas what am I doing wrong…
Mandeep
  • 43
  • 3
4
votes
1 answer

I like Stripes but I'm using sl4j/logback for logging, what are my options?

Since stripes comes with commong-logging. What are my options in using stripes in a web applications without commons logging. How can I replace it with sl4j logging library?
Basil Musa
  • 8,198
  • 6
  • 64
  • 63
4
votes
2 answers

Stripes framework: how can I disable string escaping in forms

I'm using the stripes framework to realize a web application. In order to avoid all sorts of attacks, text is stored sanitized into the DB and the sanitization process includes encoding of HTML entities. My problem shows up when I make a form with…
LordOfThePigs
  • 11,050
  • 7
  • 45
  • 69
4
votes
1 answer

How do I access the ActionBeanContext within a JSP?

I'm new to Stripes and appreciate every hint that brings me nearer to a functioning web-app! technological setup: java, dynamic web project, stripes, jsp scenario: users can login (index.jsp). After correct email-adress and password…
Matthias Posch
  • 537
  • 6
  • 27
4
votes
1 answer

stripes RedirectResolution redirecting to https url

Lets say the user access a stripes action1 using https. Once action1 processing is complete, it uses RedirectResolution to redirect to action2. At this point, the browser receives a 302 to to action2 with http and not https. How will I make…
coolguy
  • 229
  • 4
  • 9
4
votes
6 answers

Java/JSP Image upload. Where to keep these image files?

I am writing a simple application that lets a user upload images. After the upload, the user can tag them or remove them. I figured out how to upload the files and save them once the files are uploaded. I am keeping tracking of a global path where…
TRF
  • 548
  • 1
  • 5
  • 7
4
votes
2 answers

How can I use List of object with Stripes "option" tag?

I have a List of object, produced by JPA q.getResultList(). I would like to use it in a drop down, but Stripes "option" tag cant accept List, just Collection, Enum and Map. Im new to Java, that why perhaps the List can translated to each of them but…
cscsaba
  • 1,279
  • 3
  • 20
  • 31
4
votes
3 answers

How to remove the file suffix/extension (.jsp and .action) using the Stripes Framework?

I'm looking to use pretty / clean URL's in my web app. I would like the following URL: http://mydomain.com/myapp/calculator .. to resolve to: com.mydomain.myapp.action.CalculatorActionBean I tried overwriting the NameBasedActionResolver…
Dolph
  • 49,714
  • 13
  • 63
  • 88
4
votes
3 answers

How can I display a JFreeChart in web browser with Stripes Framework

This is the situation: My 'metrics.jsp' page submits a couple variables that are needed to create the chart. The 'ProjectActionBean.java' calls down to a few other java classes that create the JFreeChart. I can display the chart in a pop-up but I…
robbie
  • 658
  • 3
  • 11
  • 26
4
votes
3 answers

Calling Different Webservices in parallel from Webapp

We've got a stipes (java) web-app that needs to make about 15 different webserivce calls all from one method. For example: ... public Resolution userProfile() { serviceOneCall(); serviceTwoCall(); serviceThreeCall(); …
4
votes
2 answers

Glassfish 3.1.2.2 starts my web application twice

I have a strange behavior of Glassfish 3.1.2.2 (build 5) running on OpenIndiana 151.a3 Using oracle jdk 1.7.0_5. When i deploy my web application which has a spring web dispatcher and stripes servlet I get them initialized twice in a row e.g. …
Troydm
  • 2,642
  • 3
  • 24
  • 35
3
votes
2 answers

Java CMS need help pls

I am working in a bank on online-banking solutions all my programming career, and online banking has one feature which is distinct from other web sites - it doesn't provide an admin page for users(a page where they can add web-pages, add content,…
Rustam Issabekov
  • 3,279
  • 6
  • 24
  • 31
3
votes
2 answers

No locale when tomcat processes error pages?

I have a strange problem, where localization is working great, except on our error pages. I am using the Stripes framework, resource bundles and the JSTL tag to localize my pages. The locale is determined by the Stripes framework. According to the…
JBCP
  • 13,109
  • 9
  • 73
  • 111
1
2
3
24 25