Win a copy of Getting started with Java on the Raspberry Pi this week in the Raspberry Pi forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Liutauras Vilda
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Piet Souris

tags

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The web page which i am going to display comprises of 3 jsp files
1 header.jsp
2 NewUserName.jsp and
3 NewUserAddress.jsp

<html>
<body>
above two tags starts in header jsp page

and tags </html> and </body> ends in NewUserName.jsp and NewUserAddress.jsp.

I am getting error while implementing so. So need your help.
Thanks.
 
jatinkumar patel
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 
jatinkumar patel
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
error in header.jsp...................... no end tag for <html> <body>
error in NewUserName.jsp and NewUserAddress.jsp.................no start tag for </html> and </body>
 
Sheriff
Posts: 67732
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please be sure to use code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please read this for more information.

You can go back and change your post to add code tags by clicking the button on your post.

Also, please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

A title such as "tags" is not helpful. What would happen if all posts had such a title?

Please go back and change your post to add a more meaningful subject by clicking the button on your post.

 
Bear Bibeault
Sheriff
Posts: 67732
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

jatinkumar patel wrote:error in header.jsp...................... no end tag for <html> <body>
error in NewUserName.jsp and NewUserAddress.jsp.................no start tag for </html> and </body>


What is reporting these errors? It's certainly not the JSP engine which could care less about HTML markup.
 
jatinkumar patel
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks bear,

There is a red line below the tags as mentioned earlier and when i put my cursor on the tags...the red line says.........no end tags as in case of header.jsp and no start tags for the rest of jsps.
 
Bear Bibeault
Sheriff
Posts: 67732
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A red line? Is this in an IDE? Don't you think that's important information to impart?

Most IDEs are too stupid to validate HTML across multiple files. Ignore it or disable the IDE validation.

Please post IDE questions in the appropriate forum. I've moved this post there for you.
 
Saloon Keeper
Posts: 27258
193
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
IDE or no IDE, it's bad practice to break elements across files.

I used to work in a shop where they did that with COBOL include files and it was an ever-loving nightmare.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic