Hello,

I created struts appliction on a local box calling it like so:
http://localhost/unique/welcome.do
and so on. I used all struts:html tags in order to handle the context 
("unique"). Even my images use the <html:img tag.
All was happy and the site was complete. Then I decided to get a DNS Entry and 
setup my webserver to handle this entry in Tomcat <host>. so I could show the 
client.


 <Host name="www.theuniquepear.com" appBase="webapps/unique/"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">
        <Context path="" docBase="." />

I really do not know what is going on, but all links and images are screwed up.

Here is some of the page source. I am using base href, and maybe that is 
messing me up?


<html lang="en">
<head>
  <base href="http://www.theuniquepear.com/jsp/welcome.jsp";>
  <title>Welcome To The Unique Pear</title>
   <link href="/includes/siteWide.css" rel="stylesheet" type="text/css">
<title>Unique Pear</title>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Keywords" content="interior, home, design, decor, french, country, 
toile" />
<meta name="Description" content="HTML,CSS,JavaScript,DHTML,XML,XHTM from 
unique pear." />
<meta http-equiv="pragma" content="no-cache" /><!DOCTYPE html PUBLIC 
"-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
</head>
<body>
<a class="maincatlist" href="/unique/welcome.do">Home</a>&nbsp;&nbsp;
</td>
</tr>
<tr>
<td colspan="2" height="31" width="661" valign="top">
<table width="100%" border="0" height="22" cellspacing="0" cellpadding="0" 
background="/unique/images/head_piece.jpg">
<tr>




Anyone been here before?

Thanks
Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to