title: How to link s:url to an external URL?
body: <p><p>We are trying to load a HREF target to a Div Tag using the Struts2-jQuery &amp; Struts2 tags. Below is the code. <br></p>
  
  <p><p>This is working fine as long as the s:url value is an internal URL, but if i change it to an external URL like www.google.com, nothing is happening when we click the link. <br></p>
  
  <p><p> Is there anything different we have to do if the URL is an external URL ? i.e. URL outside the current application</p>
  
  <pre><code>&lt;%@ taglib prefix="s" uri="/struts-tags"%&gt;
  &lt;%@ taglib prefix="sj" uri="/struts-jquery-tags"%&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;sj:head/&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;div id="div1"&gt;Div 1&lt;/div&gt;
      &lt;s:url var="ajaxTest" value="/AjaxTest.action"/&gt;
  
      &lt;sj:a id="link1" href="%{ajaxTest}" targets="div1"&gt;
        Internal Content
      &lt;/sj:a&gt;
  
     &lt;s:url var="ajaxXternal" value="www.google.com"/&gt;
  
      &lt;sj:a id="link2" href="%{ajaxXternal}" targets="div1"&gt;
        External Content
      &lt;/sj:a&gt;
  
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>