Question: I am trying to enter the following meta tag in my jsp page using strut taglib

```
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" name="Webmaster" content="Telephone: <s:text name="webmaster.phone" /> , email:<s:text name="webmaster.email" />, address:<s:text name="webmaster.mail" />">     

```

But a warning is showing that meta tag should be empty element tag. What should I do to solve this problem? Is there any other way to enter the webmaster information in the meta tag?

Answer: 
If your JSP declare a kind of xhtml `DOCTYPE` than the `<meta>` tag must be properly closed, as reported in [Differences Between HTML and XHTML](http://www.w3schools.com/tags/tag_meta.asp).

So your tag should be:

```
<meta 
  http-equiv="Content-Type" 
  content="text/html; 
  ...
  address:<s:text name="webmaster.mail" />"
/> 

```
I had the same Eclipse warning in my html code and discovered it's b/c I didn't properly close the meta tag. 

Example incorrect meta tag: 

```
<meta name="description" content="blah blah">

```

Fixed by properly closing meta tag with "/>" :

```
<meta name="description" content="blah blah"/>

```