{"id":327,"date":"2007-07-04T13:28:36","date_gmt":"2007-07-04T17:28:36","guid":{"rendered":"http:\/\/www.dr-chuck.com\/wordpress\/?p=327"},"modified":"2011-12-17T12:23:19","modified_gmt":"2011-12-17T16:23:19","slug":"one-war-to-rule-them-all-building-a-war-portable-across-versions-of-pluto","status":"publish","type":"post","link":"https:\/\/www.dr-chuck.com\/csev-blog\/2007\/07\/one-war-to-rule-them-all-building-a-war-portable-across-versions-of-pluto\/","title":{"rendered":"One war to rule them all &#8211; Building a war portable across versions of Pluto"},"content":{"rendered":"<p>I made the following web.xml in my war &#8211; and it works directly in Pluto 1.1 and Pluto 1.0 environments &#8211; at least it works in Sakai 2.4 (Pluto 1.1) and uPortal 2.5 (Pluto 1.0).<br \/>\nI initialize the servlet with both sets of parameters (thankfully no overlap in names) and then provide two servlet mappings.<br \/>\nIt seems deceptively simple.  Of course this is doing wildly different things at run-time &#8211; but depending on whichever Pluto you are running &#8211; it sees what it wants to see and ignores the rest.<br \/>\nComments\/feedback please.<\/p>\n<p><!--more--><br \/>\n&lt;?xml version=&#8221;1.0&#8243;?&gt;<br \/>\n&lt;!DOCTYPE web-app PUBLIC &#8220;-\/\/Sun Microsystems, Inc.\/\/DTD Web Application 2.3\/\/EN&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I made the following web.xml in my war &#8211; and it works directly in Pluto 1.1 and Pluto 1.0 environments &#8211; at least it works in Sakai 2.4 (Pluto 1.1) and uPortal 2.5 (Pluto 1.0). I initialize the servlet with both sets of parameters (thankfully no overlap in names) and then provide two servlet mappings. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-327","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/327","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/comments?post=327"}],"version-history":[{"count":1,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/327\/revisions"}],"predecessor-version":[{"id":2430,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/327\/revisions\/2430"}],"wp:attachment":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/media?parent=327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/categories?post=327"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/tags?post=327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}