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 8658729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T15:50:21+00:00 2026-06-12T15:50:21+00:00

Here is the summary: I need to build a simple java web app that,

  • 0

Here is the summary: I need to build a simple java web app that, among other things, will let the user create, update, delete, and view records from a few tables.

My app is required to use Struts2 and the struts2-jquery-plugin to implement AJAX functionality (grid).

However, I’m new to Struts2 (and Java in general), so I’ve being trying to follow tutorials all over the globe. And the more I search, the more I find different solutions and plugin dependencies which means more tutorials to read. I’ve written everything from business, dao, and beans but the .jsp’s and actions. I’m now short on time and can’t spend another week on wrong directions. Hope this thread can save someone else time too.

Questions:

1- I’ve downloaded the showcase examples and they all seem to use hibernate plugin. Is it a MUST or can I use grid without it? Because it’s too much info for a single human head at this point.

2- Related to sessions. Do I need to configure an interceptor to be loaded at every action call to check if user is logged in, or is there anything taking care of this by default in Struts2? I’m trying to avoid struts.xml, so I’m using convention. How can I achieve this session check without xml configs?

3- If anyone can provide some short and fast examples of using struts2 and grid, it’d be really appreciated.

More questions should come shortly.

  • 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-12T15:50:22+00:00Added an answer on June 12, 2026 at 3:50 pm

    My 2 cents: always use KISS (Keep It Simple, Stupid) pattern, especially if you are new to Struts2, JSP and Java in general…

    I recommend to start with little things. Login Action, First Action, First JSP.

    When all works (you can read data from DB through First Action and display it on First JSP), you can go deeper (EJBs, Interceptors, Validation, etc).

    By the way, for Session Checking Interceptor, take a look here

    (You put a boolean on login page, you check it from the Interceptor, then you can forget about it, instead of checking it on every Action…)

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

Sidebar

Related Questions

Here is my simple User POCO class: /// <summary> /// The User class represents
Here's my problem: there's an internal issue tracking system that has a nice summary
I need to write a report that generates summary totals against a table with
I'm looking to build a parallel cache. The requirement is that there will be
Here is my implementation in summary 1) all DAOs implemented using HibernateDAO support/ @Transational
Here is my layout, Summary view http://img689.imageshack.us/img689/2500/yuidtsum.jpg I am using one div and many
Summary Below is the full question (a bit complicated in its full form) here's
Here is the code: create table `team`.`User`( `UserID` bigint NOT NULL AUTO_INCREMENT , `Username`
I have a web cam that's capable of running both YUY and MJPG color
Here is a test case/live example. Summary of problem: This only works in WebKit:

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.