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
3
votes
2 answers

Error moving JSP file into WEB-INF directory with Stripes

I have the following Stripes ActionBean: package myapp; import net.sourceforge.stripes.action.*; public class WelcomeActionBean extends MyAppActionBean { @DefaultHandler public Resolution view() { return new…
titaniumdecoy
  • 18,900
  • 17
  • 96
  • 133
3
votes
4 answers

Java Web Application Error - Can't understand why it's happening now

I am using eclipse and I can build the webapp and deploy it to Jboss4.2.1. It was working previously and I haven't changed anything really extensively to make this error come about. When I go to the webapp thru my browser, I previously have been…
robbie
  • 658
  • 3
  • 11
  • 26
3
votes
2 answers

.persist() returns no errors, but where is my persisted data?

In my DAO implementation I'm doing Stripersist.getEntityManager().persist(client);, this doesn't seem to return any errors, but I can't find the data that it persists. My client object looks like this : @Entity public class Client implements…
Jimmy
  • 16,123
  • 39
  • 133
  • 213
3
votes
2 answers

Database access fails to work in the morning

I'm building a system with a login. When I was just testing it on my own computer, it worked perfectly fine. Once I uploaded it to our server, we started running into the problem whereby ... it wouldn't log in in the morning, for a few seconds. …
Wolfman Joe
  • 799
  • 1
  • 8
  • 23
3
votes
3 answers

Eclipse's WTP translation output

How can I view the intermediate translation done to JSP and JSPX pages by WTP? I'm getting weird syntax errors in my Problems tab of Eclipse in a project that has plenty of .jspx pages. They don't affect anything in the running application (Tomcat…
Silvaran
  • 109
  • 1
  • 6
3
votes
2 answers

How can I read Apache Httpd Env variables from a Java application running in TomCat?

I have a couple of Java applications running in TomCat containers behind Apache Httpd. In Apache Httdp you can set Env variables with SetEnv FOO bar, if you have mod_env installed. How can I read those variables in my Java applications running…
DandyDev
  • 319
  • 3
  • 13
3
votes
2 answers

Stripes ignores submit button event

I am using Stripes framework and I have a problem I just cannot solve. I have a page in the folder "creatures" called "add.jsp" which adds a creature (some entity in my model) into the DB. I use this form in that page: add.jsp
stewenson
  • 1,282
  • 3
  • 15
  • 34
3
votes
2 answers

Stripes: Wrong action class mapping.

In Stripes, If there is a wrong action class mapping, the default behaviour of Stripes is that it forwards the control to the same JSP from which the request is made and gives out a complete error stack. I plan to modify this behaviour and want to…
ajc
  • 1,685
  • 14
  • 34
3
votes
1 answer

Shiro always redirects me to login.jsp

Here is the config from shiro.ini shiro.loginUrl = /login.jsp ######### URL CONFIG ################### [urls] /login.jsp = anon /public/login/** = anon /public/app/** = authc Stripes... @UrlBinding("/public/app/") public class…
aks
  • 255
  • 3
  • 15
2
votes
3 answers

Hidden field becomes null when binding it in stripes actionbean

I have a stripes action page. and When the page loads, I want to save an originalAssignee by assigning it from an object (i.e setOriginalAssignee (userAction.getAssignee())) so that in case if the object's field assignee is changed i will do some…
WowBow
  • 7,137
  • 17
  • 65
  • 103
2
votes
1 answer

stripes does not call the required event handler

I'm developing a web application using stripesframework and had an issue. I found a work around but I want to know why it was happening. I wrote a class like @UrlBinding("/subject/{subject_type}/{subject_name}") public class SubjectActionBean…
Matto
  • 2,538
  • 2
  • 18
  • 23
2
votes
1 answer

For Stripes validation, the error message is returned to new page

I'm having an issue using Stripes validation method. It works but rather than returning an ajax message to display an error message in the error div, I get a whole new page with that error meesage. I'm going exactly like the example from this…
2
votes
1 answer

Stripes on Google App Engine issue

I have problem with Stripes forms in the application for Google App Engine. I have a JSP page with Stripes form tag. When I submit the form and a validation error occurs on one of the fields, Stripes shows me a screen with following notice: Here's…
lukelazarovic
  • 1,510
  • 11
  • 19
2
votes
1 answer

timertask-based logout give me problems

In this website I need a system that logs the user out after 10 minutes. In order to login I use a simple procedure of inserting a user (in my case called Lid) instance, and the logout invalidates the session, additionally, when the user logs in a…
JBoy
  • 5,398
  • 13
  • 61
  • 101
2
votes
1 answer

Spring-ws and Stripes framework - a bad cocktail?

I'm using Spring 2.5.6, Spring-ws 1.5.9, and Stripes 1.5.6. I have a working webservice which was implementing using xml parsing etc. I'll not go into details about this, as I don't think this is the problem. I'm working on a new ws and found this…
sunlock
  • 212
  • 5
  • 17