wood burning stoves 2.0*
The moose likes Spring and the fly likes Title of the jsp page is appended with Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Title of the jsp page is appended with "undefined" when displaying errors" Watch "Title of the jsp page is appended with "undefined" when displaying errors" New topic
Author

Title of the jsp page is appended with "undefined" when displaying errors

nidhs singh
Greenhorn

Joined: Jul 23, 2012
Posts: 1
Hi,

I have the following Jsp page.

===========
<!doctype html>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="/spring"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>



<html>

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Test</title>
----
</html>
==============

We are developing pages using Spring 3. When the page initially loads, the title of the page is displayed correctly. We are using <Spring:bind> to get the user entered value. If there is an error, the error is displayed right, but the title of the page has "undefined:" appended to it( undefined:Test). Has anyone faced this situation before?

Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1648
    
    7

Nidhs,

Welcome to Java Ranch, but please UseCodeTags when posting in the future.

All I see in your code snippet is vanilla HTML is don't see any Spring markup at all. When you post please TellTheDetails, post enough real code so that you can clearly demonstrate the problem. Also if there are any exceptions please give us the whole stack trace.


[How To Ask Questions][Read before you PM me]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Title of the jsp page is appended with "undefined" when displaying errors
 
Similar Threads
que in spring mvc - simpleformcontroller
Regarding:No tag "form" defined in tag library imported with prefix "form"
struts application execution problem?
RichFaces SuggestionBox Not Displaying Values
Validations: popup