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

The Archive Base Latest Questions

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

I am trying to return a message string as a model object from my

  • 0

I am trying to return a message string as a model object from my controller on some JSP page(success.jsp). But the message is not rendering on the target page. Here what I am getting on the page(success.jsp):

Welcome.. ${message}

Here is my controller method from where the JSP page is returning:

@RequestMapping(value="/register",method=RequestMethod.POST)
      public ModelAndView registerUser(@ModelAttribute("dtoUserInfo") DtoUserInfo dtoUserInfo)
      {
            ModelAndView modelAndView = new ModelAndView();
            serviceUserInfo1.registerUser(dtoUserInfo);
            modelAndView.setViewName("success");
            modelAndView.addObject("message","New User");
            return modelAndView;
      }

Here is my jsp page content(success.jsp)

Welcome.. ${message}

  • 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-17T17:05:57+00:00Added an answer on June 17, 2026 at 5:05 pm

    You need to configure your JSP to process EL expression.

    To do so add this line in your jsp:

    <%@ page isELIgnored="false" %>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm tring to use the NSURL class's parameterString message to return the string from
I'm trying to return the message field from a random DB entry (in the
I'm trying to manually add an individual email error message to my model but
Hey I'm trying to return a message when there are no results for the
I am trying to return voice messages from a database using this query :
Im trying to return the value that a $ajax call returns, from a function
I'm trying to find a token out of a string and return it. I
I'm trying to define a return value for a Mock (model). Can anyone explain
I'm trying to fill a dropdown menu, with some objects that I retrieve from
I am trying folow the example from Mock Objects in Play[2.0] but unfortunately I

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.