File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "tags" Watch "tags" New topic
Author

tags

jatinkumar patel
Greenhorn

Joined: Apr 19, 2009
Posts: 23
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

Joined: Apr 19, 2009
Posts: 23
jatinkumar patel
Greenhorn

Joined: Apr 19, 2009
Posts: 23
error in header.jsp...................... no end tag for <html> <body>
error in NewUserName.jsp and NewUserAddress.jsp.................no start tag for </html> and </body>
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61415
    
  67

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61415
    
  67

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

Joined: Apr 19, 2009
Posts: 23
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
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61415
    
  67

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.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16140
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tags