Announcement Announcement Module
Collapse

JavaConfig forum decommissioned in favor of Core Container

As described at

http://static.springsource.org/sprin...fig/README.TXT

key features of the Spring JavaConfig project have been migrated into the core Spring Framework as of version 3.0.

Please see the Spring 3.0 documentation on @Configuration and @Bean support:

http://static.springsource.org/sprin...tml#beans-java

For any questions related to @Configuration classes and @Bean methods in Spring 3.0, please post in the dedicated 'Core Container' forum at

http://forum.springsource.org/forumdisplay.php?f=26
See more
See less
DOC Type Insertion Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • DOC Type Insertion

    Hi,
    I'm using RSA (IDE) with spring framework to develop portlets. I'm encountering a problem. <HTML>, <Head> and <Body> tags are getting inserted into the code automatically during run time. When you select 'View source' of the displayed page, you can see these tags.
    All my code written inside the JSP is considered as 'HTML fragments' and gets inserted into the generated <Body> tag (though my code also has 'html' and 'body' tags).
    Now the problem is the doc type declaration - "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">"
    - which I have given at the start of my code inside the JSP also goes into the <body> tag during run time. It affects the look and feel of the page.
    How can I insert it at the start of my page? Please help.

    Thanks.
Working...
X