malmesjo
14 years agoNew Contributor
MockAsWarServlet gives bad html (patch)
MockAsWarServlet gives bad html (mismatching </head> with <title> tag).
See patch below:
See patch below:
### Eclipse Workspace Patch 1.0
#P soapui-nightly
Index: src/java/com/eviware/soapui/mockaswar/MockAsWarServlet.java
===================================================================
--- src/java/com/eviware/soapui/mockaswar/MockAsWarServlet.java (revision 5662)
+++ src/java/com/eviware/soapui/mockaswar/MockAsWarServlet.java (working copy)
@@ -387,7 +387,7 @@
private void startHtmlPage( PrintWriter out, String title, String refresh )
{
out.print( "<html><head>" );
- out.print( "<title>" + title + "</head>" );
+ out.print( "<title>" + title + "</title>" );
if( refresh != null )
{
out.print( "<meta http-equiv=\"refresh\" content=\"" + refresh + "\"/>" );