Insert into html based on passed URL paramter</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=user@struts.apache.org&q=from:%22Bryce+Nesbitt%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Bryce Nesbitt</span></span></a></span> <span class="date"><a href="/search?l=user@struts.apache.org&q=date:20060507" rel="nofollow">Sun, 07 May 2006 16:23:27 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre>I have a tiles template: <title><tiles:getAsString name="title"/></title></pre><pre> Which is involved from titles-defs.xml: <definition name=".site.mumble" extends=".site"> <put name="title" value="Locations"/> <put name="microNav" value=".site.microNav.fooandlocations"/> <put name="content" value="/jsp/locations.jsp"/> </definition> On a jsp file <%@ taglib uri="struts-bean" prefix="bean" %> <%@ taglib uri="struts-html" prefix="html" %> <%@ taglib uri="struts-logic" prefix="logic" %> <%@ taglib uri="struts-tiles" prefix="tiles" %> <%@ taglib prefix="c" uri="c" %> <%@ taglib prefix="x" uri="x" %> <% String contextPath = request.getContextPath(); %> <tiles:importAttribute /> c:set var="area"> <c:choose> <c:when test="${param.area == null}">SF</c:when> <c:otherwise><c:out value="${param.area}" /></c:otherwise> </c:choose> </c:set> ... But what I'd like to do is set the <title> of the HTML page, based on the parsed URL parameter (e.g. area=987). The proper title is not known until the jsp executes, and does a lookup on an xml file. Is this possible with tiles? How would one do it? -- ---- Visit <a rel="nofollow" href="http://www.obviously.com/">http://www.obviously.com/</a> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg45753.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#45769">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#45769">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg45864.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email tSliceCur"><span class="subject">Insert into html <TITLE> based on passed URL paramter</span> <span class="sender italic">Bryce Nesbitt</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg45864.html">Re: Insert into html <TITLE> based on passed URL ...</a></span> <span class="sender italic">Bryce Nesbitt</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg45865.html">Re: Insert into html <TITLE> based on passed ...</a></span> <span class="sender italic">Dave Newton</span></li> </ul> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="Insert into html <TITLE> based on passed URL paramter"> <input type="hidden" name="msgid" value="445E8151.8030002@obviously.com"> <input type="hidden" name="relpath" value="user@struts.apache.org/msg45769.html"> <input type="submit" value=" Bryce Nesbitt "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="user@struts.apache.org"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search user"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/user@struts.apache.org/">user - all messages</a></li> <li class="icons-about"><a href="/user@struts.apache.org/info.html">user - about the list</a></li> <li class="icons-expand"><a href="/search?l=user@struts.apache.org&q=subject:%22Insert+into+html+%3CTITLE%3E+based+on+passed+URL+paramter%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg45753.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg45864.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> <a href="#"><img src="/user@struts.apache.org/logo.png" alt="user"></a> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">445E8151.8030002@obviously.com</li> </ul> </div> </body> </html>