Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6689659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:32:43+00:00 2026-05-26T05:32:43+00:00

I have problem with Stripes forms in the application for Google App Engine. I

  • 0

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 how it is.

Someone (quite possibly the Stripes Dispatcher) needed to get the
source page resolution. But no source page was supplied in the
request, and unless you override
ActionBeanContext.getSourcePageResolution() you’re going to need that
value. When you use a tag a hidden field called ‘_sourcePage’ is
included. If you write your own forms or links that could generate
validation errors, you must include a value for this parameter. This
can be done by calling request.getServletPath().”

I have checked source of the page with form and hidden input field _sourcePage is present in the form as it should be. Value of the field seems to be somehow encrypted.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:32:44+00:00Added an answer on May 26, 2026 at 5:32 am

    Encryption of values that are sent to the client (hidden form fields etc.) is one of the Stripes features and it’s a cause of the problem.

    To encrypt and decrypt values Stripes use a key, that is specified in configuration property named Stripes.EncryptionKey.
    This property doesn’t have default value so if it’s not specified, Stripes will generate random key each time the
    application is initialized.

    This needn’t be a problem on traditional application server, moreover it can be welcomed security enhancement, because
    key is changed from time to time.

    On the other hand on Google App Engine this is a major problem. On GAE there is no guarantee that
    subsequent requests in the scope of one user session will be served by the same application with same generated key.
    App Engine can decide to shutdown any of the running instances of application anytime and if the next request comes, it
    will start another instance to serve the request (this is called “cold start”). This new instance will have new generated key.
    The result is that the application will try to decrypt the values with different key than they were encrypted with and of course
    fails to do so.

    In this situation Stripes logs a warning “Input was not encrypted with the current encryption key: ” and behaves as parameter that it’s trying to decrypt is not present at all
    (see net.sourceforge.stripes.util.CryptoUtil). In your case it means that it behaves as _sourcePage parameter is not present and
    that’s why it shows “Here’s how it is” screen if validation error occurs.

    So if you use Stripes on Google App Engine, you should set some random value to configuration property Stripes.EncryptionKey.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Windows Forms programming, I have this general problem. When the page is loading
Currently, I have a Stripes form with a submit button that's binded to the
I'm trying to translate an online html page into text. I have a problem
I have a problem with my iOS application ... This is what it looks
I have problem in some JavaScript that I am writing where the Switch statement
I have problem with return statment >.< I want to store all magazine names
I have problem with starting processes in impersonated context in ASP.NET 2.0. I am
I have problem compilin this code..can anyone tell whats wrong with the syntax CREATE
I have problem with ActionLink. I'd like to pass to my ActionLink parameter for
I have problem when I try insert some data to Informix TEXT column via

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.