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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:04:47+00:00 2026-05-31T23:04:47+00:00

I am newbie in spring. using spring 3.0 mvc. I am creating a spring

  • 0

I am newbie in spring. using spring 3.0 mvc.
I am creating a spring application, I have a login form,Any one please suggest what controller i should use, as when I am using SimpleFormController its saying deprecated,

Any specific controller I can use.

  • 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-31T23:04:49+00:00Added an answer on May 31, 2026 at 11:04 pm

    First of all as everybody already told you use annotation-base controller

    secondly for creating a form you can use spring form taglib

    thirdly you can create method like this

    public String updateHouse(House house, @RequestParam("file") MultipartFile file, Model model) {
    

    this is from my sample application. House object is auto generated from form. In my form I have fields of my House object and it is send to the method as object. @RequestParam allows me to fetch the file witch is uploaded via form (POST), Model is my view model.

    As you can see it is easy 🙂

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

Sidebar

Related Questions

Hi i am newbie to Spring. While i was writing some sample application using
Newbie question. I’m writing an ASP.Net MVC app in VB.Net and have been using
What is the difference in using AbstractWizardFormController OR Spring Webflow. How should one decide
As a newbie in ExtJS I'm trying to use it with Spring MVC Controller.
Newbie question... I'm trying to get form validation working with Spring Web using this
My application data access layer is built using Spring and EclipseLink and I am
I am a newbie with Spring MVC but I'm quite impressed with its capabilities.
I'm considering using Spring to assemble the components of my application, but I've got
this is a really newbie question: How can I output XML with Spring MVC,
MVC Newbie here. I want to get User confirmation before controller action (update a

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.