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

  • SEARCH
  • Home
  • 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 9175043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:51:05+00:00 2026-06-17T16:51:05+00:00

I have web application based on jsp and spring mvc where i need resolve

  • 0

I have web application based on jsp and spring mvc where i need resolve this task :

The user must be able to add new instances of the main entity using wizard dialog. The wizard consists of 3 steps:

  1. On the first step there must be a form which allows filling main entity’s fields, including association with the entity related as many-to one (it’s recommended to use drop-down field). The form should contain fields of different types: text, number, date, radio button, etc. Some fields should be required and some are not.
    Example: input name, surname, birth date, phone, number of kids, select gender (radiobutton), department (drop-down), etc.

  2. On the second step user fills additional attributes, including association with the entity related as many-to-many with the current one.
    Example: associate employee with skills that (s)he has (checkboxes), add some note (textarea).

  3. On the third step all the fields from previous 2 steps should be displayed as read-only fields. The user should confirm saving this data into database. After the user confirms saving, the data should be saved into database, and user should be redirected to the page with the list of objects.

How can i transfer and hold information without using sessions(Http session, session scope)?

  • 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-06-17T16:51:06+00:00Added an answer on June 17, 2026 at 4:51 pm

    You need to keep state across multiple server interactions. There are several possibilities, in general factors such as the size of the state data to be retained influence our decisions.

    It sounds like you have some small number of hundreds of bytes here, so you’re not particularly constrained by size – a few Megabytes would be more of a challenge.

    First possibility, keep it all in the browser in JavaScript variables, no actual need to send anything to server. This is typical of a modern dynamic Web UI, where the server serves up data rather than pages. Sounds like you’re in a multi-page world so discount this option.

    Second, just put some data (possibly encrypted, in a cookie) effectively the browser is keeping the data for you, but it’s shared across the pages.

    Third use Http Session state – you case does sound very much like a typical candidate for a session. Why do you want to avoid it? Depending upon your server’s capabilities this approach may not give great resilience behaviour (if the state is on one server instance then all requests for a session must be served by the same server). Note that HTTP Session and EJB Session Beans are not the same thing, HttpSessions are lighter weight.

    Use a custom session “database” – maybe literally a SQL database maybe something lighter. For larger scale data entry cases, where a user may take 10s of minutes to complete many pages this may be the best option – the user’s work is saved should they need to break off and resume later. It’s more development work and you need to look at housekeeping too, but it’s sometimes the best option.

    In summary: be very clear why you reject the “obvious” HTTP session technique, in terms of simplicity it’s where I’d start.

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

Sidebar

Related Questions

I have a java web application based on Spring MVC. The task is to
OK, I have a spring mvc based json web service. This is a test
I have simple web application based on JSP. Root of application looks like this:
I have a Spring MVC based Web Application with Hibernate. Following is the directory
I have a Spring MVC based web application. There are many custom tags written
I have a spring MVC based web application running on Tomcat 7.0. We are
Hi I have a page in my java/jsp based web application which shows list
We have a legacy web application (not Spring based) and are looking for best
I am using Spring MVC to build my web application, and I have a
I have an already developed web application based on struts 1.2 which contains jsp

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.