<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1596266949353195855</id><updated>2011-12-11T04:54:18.625-08:00</updated><category term='eclipse 3.5'/><category term='java fx'/><category term='Spring'/><category term='java passion'/><category term='duda'/><category term='java'/><category term='java express'/><category term='ViewResolver Chaining'/><category term='UrlBasedViewResolver'/><category term='Spring WEB  MVC'/><category term='gazeta'/><title type='text'>Adam Dec - JBlog</title><subtitle type='html'>O wszystkim co związane z JAVA...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://adamdec.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1596266949353195855/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://adamdec.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>SoNiC</name><uri>http://www.blogger.com/profile/08444359534148688211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/-VfMe-21OjFs/TuSn2tzjW8I/AAAAAAAAABM/-m7J88NfHpE/s220/adam_dec_bw.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1596266949353195855.post-8688160945956202859</id><published>2009-03-13T04:55:00.000-07:00</published><updated>2009-03-13T04:58:02.971-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring'/><title type='text'>"Szkolenie" Spring 3.0</title><content type='html'>&lt;span style="font-size:130%;"&gt;Termin: 2 kwietnia&lt;br /&gt;Czas trwania: 2-3 godziny&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Podczas szkolenia jeden z najlepszych konsultantów SprigSource - Arjen Poutsma, będzie starał się przybliżyć co takiego fajnego jest w Spring 3.0.&lt;br /&gt;&lt;br /&gt;Więcej szczegółów na &lt;a href="http://springtalkcracow.eventbrite.com/"&gt;stronie &lt;/a&gt;rejestracji (konieczna rejestracja): http://springtalkcracow.eventbrite.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1596266949353195855-8688160945956202859?l=adamdec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adamdec.blogspot.com/feeds/8688160945956202859/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://adamdec.blogspot.com/2009/03/szkolenie-spring-30.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1596266949353195855/posts/default/8688160945956202859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1596266949353195855/posts/default/8688160945956202859'/><link rel='alternate' type='text/html' href='http://adamdec.blogspot.com/2009/03/szkolenie-spring-30.html' title='&quot;Szkolenie&quot; Spring 3.0'/><author><name>SoNiC</name><uri>http://www.blogger.com/profile/08444359534148688211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/-VfMe-21OjFs/TuSn2tzjW8I/AAAAAAAAABM/-m7J88NfHpE/s220/adam_dec_bw.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1596266949353195855.post-3122208799763877249</id><published>2009-03-11T02:26:00.000-07:00</published><updated>2009-03-12T01:22:42.769-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ViewResolver Chaining'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring WEB  MVC'/><category scheme='http://www.blogger.com/atom/ns#' term='UrlBasedViewResolver'/><title type='text'>Spring WEB  MVC ViewResolver Chaining</title><content type='html'>&lt;meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"&gt;&lt;title&gt;&lt;/title&gt;&lt;meta name="GENERATOR" content="OpenOffice.org 3.0  (Win32)"&gt;&lt;style type="text/css"&gt; 	&lt;!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 		A:link { so-language: zxx } 	--&gt; 	&lt;/style&gt; &lt;p style="margin-bottom: 0cm;"&gt;&lt;span style=";font-family:verdana;font-size:100%;"  &gt;Ostatnio pracując wraz ze &lt;a href="http://static.springframework.org/spring/docs/2.0.x/reference/mvc.html"&gt;Spring WEB MVC&lt;/a&gt; (2.5.3) natknąłem się na problem z mechanizmem '&lt;a href="http://static.springframework.org/spring/docs/2.0.x/reference/mvc.html#mvc-viewresolver-chaining"&gt;ViewResolvers Chaining&lt;/a&gt;'&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:verdana;"&gt;Spring docs:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-family:verdana;" &gt;"...Spring supports more than just one view resolver. This allows you to chain resolvers and, for example, override specific views in certain circumstances..."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Problem był dość specyficzny, polegał na tym, iż musiałem użyć dwóch ViewResolver'ów o takim samym typie:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://static.springframework.org/spring/docs/2.0.x/api/org/springframework/web/servlet/view/class-use/UrlBasedViewResolver.html"&gt;&lt;span style="color: rgb(0, 174, 0);"&gt;&lt;span style="font-family:Courier New,monospace;"&gt;org.springframework.web.servlet.view.UrlBasedViewResolver&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;	&lt;span style="font-size:100%;"&gt;konfiguracja wyglądała mniej więcej tak:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;&lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;bean&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt; &lt;/span&gt;&lt;span style="color: rgb(127, 0, 127);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;id&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;&lt;i&gt;"viewResolver1"&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt; &lt;/span&gt;&lt;span style="color: rgb(127, 0, 127);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;class&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;&lt;i&gt;"com.comarch.cii.web.ite.spring.common.view.UrlBasedViewResolver"&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;            &lt;/span&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;property&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"prefix"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"../prefix/pages/"&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;            &lt;/span&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;property&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"suffix"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;".jsp"&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;            &lt;/span&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;property&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"order"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"0"&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;/&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;        &lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;            &lt;/span&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;property&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"viewClass"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"org.springframework.web.servlet.view.JstlView"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;/&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;                                                                 &lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;    &lt;/span&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;!--&lt;/span--&gt;&amp;lt;/bean&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;    &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;    &lt;/span&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;bean&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;id&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"viewResolver2"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;class&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"org.springframework.web.servlet.view.UrlBasedViewResolver"&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;            &lt;/span&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;property&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"prefix"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"../prefix/someAdditionalDir/pages/"&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;            &lt;/span&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;property&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"suffix"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;".jsp"&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;            &lt;/span&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;property&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"order"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"1"&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;/&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;    &lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;            &lt;/span&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;property&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"viewClass"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"org.springframework.web.servlet.view.JstlView"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;/&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;                                                                 &lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;    &lt;/span&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&amp;lt;/bean&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);font-size:100%;" &gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Times New Roman,serif;"&gt;...czyli w skrócie chodziło o „ładowanie” plików *.jsp z dwóch różnych źródeł, których kolejność definiowała właściwość: &lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;property&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"order"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"0"&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Times New Roman,serif;"&gt;Mechanizm ten niestety nie zadziałał tak jak należy :(&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Times New Roman,serif;"&gt;Spring docs:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;“&lt;span style="font-family:Times New Roman,serif;"&gt;Note: When chaining ViewResolvers, a UrlBasedViewResolver always needs to be last, as it will attempt to resolve any view name, no matter whether the underlying resource actually exists.”&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm; font-weight: normal;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Times New Roman,serif;"&gt;Znalazłem na to dwa rozwiązania:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm; font-weight: normal;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Times New Roman,serif;"&gt;Rozwiązanie 1:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; font-weight: normal;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Times New Roman,serif;"&gt;W naszym pliku konfiguracyjnym Spring'a zostawiamy tylko konfigurację do jednego z ViewResolver. Do nazw logicznych, które są mapowane na odpowiednie pliki *.jsp, będziemy doklejać jakiś z góry zdefiniowany 'prefix', czyli dodatkową ścieżkę z naszymi plikami, np.:&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; font-weight: normal;"&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(100, 100, 100);"&gt;@RequestMapping&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;"param"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;public&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; ModelAndView initMethod(&lt;/span&gt;&lt;span style="color: rgb(100, 100, 100);"&gt;@RequestParam&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;"id"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;) &lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; ID, Model model) {&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;    	&lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;final&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; String prefix = &lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;"someAdditionalDir/"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;    	&lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;final&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; String viewName = prefix + &lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;"somePage"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;;		&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;    	&lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;final&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; HashMap&lt;string,&gt; modelMap = &lt;/string,&gt;&lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;new&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; HashMap&lt;string,&gt;&lt;/string,&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;    	&lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;final&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; ModelAndView modelAndView = &lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;new&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; ModelAndView(viewName, modelMap);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;    	&lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;return&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; modelAndView;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Times New Roman,serif;"&gt;&lt;span style="font-weight: normal;"&gt;Czyli do nazw logicznych doklejalibyśmy prefix: 'someAdditionalDir/'.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; text-decoration: none;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Times New Roman,serif;"&gt;&lt;span style="font-style: normal;"&gt;Co nam to da?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; text-decoration: none;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Times New Roman,serif;"&gt;&lt;span style="font-style: normal;"&gt;A tylko tyle, że jedne kontrolery będą używać nazw logicznych bez prefixa i do widoku używać plików *.jsp spod katalogu: &lt;/span&gt;&lt;i&gt;'../prefix/pages/', zaś drugie (wykorzystujące jakiś prefix) plików spod katalogu: '../prefix/someAdditionalDir/pages/'&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm; font-style: normal; text-decoration: none;"&gt; &lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Times New Roman,serif;"&gt;Rozwiązanie 2:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; font-style: normal; text-decoration: none;"&gt; &lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Times New Roman,serif;"&gt;Jeżeli jednak bardzo chcemy wykorzystać mechanizm 'ViewResolver Chaining', to będizemy musieli napisać własną klasę, która będzie rozszerzać klasę:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm; font-style: normal; text-decoration: none;"&gt; &lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;	&lt;span style="color: rgb(0, 174, 0);"&gt;org.springframework.web.servlet.view.UrlBasedViewResolver&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm; font-style: normal; text-decoration: none;"&gt; &lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Times New Roman,serif;"&gt;oraz implementować interfejs:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm; font-style: normal; text-decoration: none;"&gt; &lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;	&lt;span style="color: rgb(0, 174, 0);"&gt;org.springframework.core.Ordered&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm; font-style: normal; text-decoration: none;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;&lt;span style="color: rgb(0, 174, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm; font-style: normal; text-decoration: none;"&gt; &lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Times New Roman,serif;"&gt;Przykładowa klasa mogłaby wyglądać tak:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm; font-style: normal; text-decoration: none;"&gt; &lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;public&lt;/b&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;class&lt;/b&gt;&lt;/span&gt; MyUrlBasedViewResolver &lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;extends&lt;/b&gt;&lt;/span&gt; UrlBasedViewResolver &lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;implements&lt;/b&gt;&lt;/span&gt; Ordered {&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;    	&lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;protected&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; View loadView(String viewName, Locale locale) &lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;throws&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; Exception {&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;        		&lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;final&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; AbstractUrlBasedView view = buildView(viewName);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;        		&lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;final&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; View viewObj = (View) getApplicationContext().getAutowireCapableBeanFactory().initializeBean(view, viewName);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;        		&lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;if&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; (viewObj &lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;instanceof&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; JstlView) {&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;            			&lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;final&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; JstlView jv = (JstlView) viewObj;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;            			&lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;if&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; (jv.getBeanName().indexOf(&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;"somePrefix"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;) == -1) {&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;                				&lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;return&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;null&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;           			}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;       		}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=";font-family:Courier New,monospace;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;     		&lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;return&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; viewObj;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;    	}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;&lt;span style="font-family:Times New Roman,serif;"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;O co tu chodzi?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;&lt;span style="font-family:Times New Roman,serif;"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;Jeżeli w nazwie logicznej (tej która mapowana jest na odpowiedni plik JSP) nie zostanie odnaleziony prefix &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New,monospace;"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;'somePrefix'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Times New Roman,serif;"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;, to ładowany jest następny ViewResolver w łańcuchu.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:Courier New,monospace;"&gt;&lt;span style="font-family:Times New Roman,serif;"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;Plik konfiguracyjny Spring'a może wyglądać tak:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="text-decoration: none;"&gt;    &lt;/span&gt;&lt;span style=";font-family:Courier New,monospace;font-size:85%;"  &gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;&lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;bean&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(127, 0, 127);"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;&lt;span style="text-decoration: none;"&gt;"viewResolver1"&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(127, 0, 127);"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;class&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;&lt;span style="text-decoration: none;"&gt;"com.comarch.cii.web.ite.spring.common.view.MyUrlBasedViewResolver"&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p  style="margin-bottom: 0cm;font-family:courier new;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;        &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;property&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"prefix"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"../prefix/pages/someAdditionalDir/"&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p  style="margin-bottom: 0cm;font-family:courier new;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;        &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;property&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"suffix"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;".jsp"&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p  style="margin-bottom: 0cm;font-family:courier new;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;        &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;property&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"order"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"0"&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;/&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;        &lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p  style="margin-bottom: 0cm;font-family:courier new;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;        &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;property&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"viewClass"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"org.springframework.web.servlet.view.JstlView"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;/&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;                                                                 &lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p  style="margin-bottom: 0cm;font-family:courier new;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;    &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&amp;lt;/bean&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p  style="margin-bottom: 0cm;font-family:courier new;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;    &lt;/span&gt; &lt;/p&gt; &lt;p  style="margin-bottom: 0cm;font-family:courier new;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;    &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;bean&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;id&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"viewResolver2"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;class&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"org.springframework.web.servlet.view.UrlBasedViewResolver"&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p  style="margin-bottom: 0cm;font-family:courier new;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;        &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;property&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"prefix"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"../prefix/pages/"&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p  style="margin-bottom: 0cm;font-family:courier new;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;        &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;property&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"suffix"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;".jsp"&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p  style="margin-bottom: 0cm;font-family:courier new;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;        &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;property&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"order"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"1"&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;/&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;    &lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p  style="margin-bottom: 0cm;font-family:courier new;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;        &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(63, 127, 127);"&gt;property&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"viewClass"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(127, 0, 127);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;&lt;i&gt;"org.springframework.web.servlet.view.JstlView"&lt;/i&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;/&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;                                                                 &lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p  style="margin-bottom: 0cm;font-family:courier new;" align="left"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;    &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;&amp;lt;/bean&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1596266949353195855-3122208799763877249?l=adamdec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adamdec.blogspot.com/feeds/3122208799763877249/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://adamdec.blogspot.com/2009/03/ostatnio-pracujac-wraz-ze-spring-web.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1596266949353195855/posts/default/3122208799763877249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1596266949353195855/posts/default/3122208799763877249'/><link rel='alternate' type='text/html' href='http://adamdec.blogspot.com/2009/03/ostatnio-pracujac-wraz-ze-spring-web.html' title='Spring WEB  MVC ViewResolver Chaining'/><author><name>SoNiC</name><uri>http://www.blogger.com/profile/08444359534148688211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/-VfMe-21OjFs/TuSn2tzjW8I/AAAAAAAAABM/-m7J88NfHpE/s220/adam_dec_bw.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1596266949353195855.post-7730434603431215077</id><published>2009-03-10T10:58:00.000-07:00</published><updated>2009-03-10T13:30:45.424-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java express'/><category scheme='http://www.blogger.com/atom/ns#' term='duda'/><category scheme='http://www.blogger.com/atom/ns#' term='gazeta'/><title type='text'>Java Express S01E03</title><content type='html'>...dwa dni poślizgu...i stało się, wyszedł najnowszy numer gazetki java Express a w nim....a zresztą zobaczcie sami :)&lt;br /&gt;&lt;a target="_blank" href="http://dworld.pl/2009/03/10/trzeci-numer-java-express-juz-w-sprzedazy/"&gt;http://dworld.pl/2009/03/10/trzeci-numer-java-express-juz-w-sprzedazy/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;...proszę o komentarze odnośnie artykułu, jakby się ktoś nie mógł doczekać następnej części to pisać na snc85@o2.pl :P&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1596266949353195855-7730434603431215077?l=adamdec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adamdec.blogspot.com/feeds/7730434603431215077/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://adamdec.blogspot.com/2009/03/blog-post.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1596266949353195855/posts/default/7730434603431215077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1596266949353195855/posts/default/7730434603431215077'/><link rel='alternate' type='text/html' href='http://adamdec.blogspot.com/2009/03/blog-post.html' title='Java Express S01E03'/><author><name>SoNiC</name><uri>http://www.blogger.com/profile/08444359534148688211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/-VfMe-21OjFs/TuSn2tzjW8I/AAAAAAAAABM/-m7J88NfHpE/s220/adam_dec_bw.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1596266949353195855.post-4877979407666171074</id><published>2009-02-21T06:09:00.000-08:00</published><updated>2009-03-10T13:31:06.609-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java express'/><category scheme='http://www.blogger.com/atom/ns#' term='duda'/><category scheme='http://www.blogger.com/atom/ns#' term='gazeta'/><title type='text'>Java first art</title><content type='html'>Już wkróce wyjdzie mój pierwszy artykuł w niewątpliwie pierwszej w Polsce gazecie internetowej całkowicie poświeconej Javie...chyba każdy wie o jaką chodzi..oczywiście Java Express :) ... w sumie to mój pierwszy artykuł w życiu, więc do końca nie wiem jak to wyjdzie no ale człowiek uczy sie całe życie :) A o czym ten artykuł? hmmm...no właśnie :P Artykuł w całości poświęcony będzie serializacji w &lt;a href="http://java.sun.com/javame/index.jsp"&gt;J2ME&lt;/a&gt;, czyli stworzenie własnego mechanizmu serializacji. Docelowo moim celem będzie stworzenie automatu do tworzenia klas &lt;a href="http://en.wikipedia.org/wiki/Data_Transfer_Object"&gt;DTO &lt;/a&gt;na podstawie plików Schema) z obsługą serializacji przy pomocy &lt;a href="http://www.castor.org/"&gt;Castora&lt;/a&gt;, &lt;a href="http://velocity.apache.org/"&gt;Apache Velocity&lt;/a&gt;, &lt;a href="http://maven.apache.org/"&gt;Apache Maven'a&lt;/a&gt; i &lt;a href="http://ant.apache.org/"&gt;Apache ANT'a&lt;/a&gt; :) ...szczegóły już wkrótce bo następne wydanie (już 3) wyjdzie 8 marca, &lt;a href="http://dworld.pl/java-express/"&gt;http://dworld.pl/java-express/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1596266949353195855-4877979407666171074?l=adamdec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adamdec.blogspot.com/feeds/4877979407666171074/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://adamdec.blogspot.com/2009/02/java-first-art.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1596266949353195855/posts/default/4877979407666171074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1596266949353195855/posts/default/4877979407666171074'/><link rel='alternate' type='text/html' href='http://adamdec.blogspot.com/2009/02/java-first-art.html' title='Java first art'/><author><name>SoNiC</name><uri>http://www.blogger.com/profile/08444359534148688211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/-VfMe-21OjFs/TuSn2tzjW8I/AAAAAAAAABM/-m7J88NfHpE/s220/adam_dec_bw.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1596266949353195855.post-3996270261882756719</id><published>2009-02-19T04:59:00.000-08:00</published><updated>2009-03-10T13:31:27.120-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java passion'/><category scheme='http://www.blogger.com/atom/ns#' term='java fx'/><title type='text'>Java Passion strikes again :)</title><content type='html'>Wszystkim, którzy interesują się lub chcą interesować :P...polecam bezpłatne szkolenie z JavaFX 1.1...pod tym adresem nadal można się zapisać :)&lt;br /&gt;&lt;a href="http://www.javapassion.com/javafx/#JavaFX_Media"&gt;http://www.javapassion.com/javafx/#JavaFX_Media&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1596266949353195855-3996270261882756719?l=adamdec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adamdec.blogspot.com/feeds/3996270261882756719/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://adamdec.blogspot.com/2009/02/wszystkim-ktorzy-interesuja-sie-lub.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1596266949353195855/posts/default/3996270261882756719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1596266949353195855/posts/default/3996270261882756719'/><link rel='alternate' type='text/html' href='http://adamdec.blogspot.com/2009/02/wszystkim-ktorzy-interesuja-sie-lub.html' title='Java Passion strikes again :)'/><author><name>SoNiC</name><uri>http://www.blogger.com/profile/08444359534148688211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/-VfMe-21OjFs/TuSn2tzjW8I/AAAAAAAAABM/-m7J88NfHpE/s220/adam_dec_bw.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1596266949353195855.post-6275321641999657756</id><published>2009-02-16T10:17:00.000-08:00</published><updated>2009-03-10T13:31:44.478-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse 3.5'/><title type='text'>Eclipse 3.5 M5</title><content type='html'>Jest już Eclipse 3.5 M5&lt;br /&gt;&lt;br /&gt;nie ma co się rozpisywać..tu jest wszystko:&lt;br /&gt;&lt;a href="http://download.eclipse.org/eclipse/downloads/drops/S-3.5M5-200902021535/eclipse-news-M5.html"&gt;http://download.eclipse.org/eclipse/downloads/drops/S-3.5M5-200902021535/eclipse-news-M5.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;...ściągnąć można spod adresu:&lt;br /&gt;&lt;a href="http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/S-3.5M5-200902021535/eclipse-SDK-3.5M5-win32.zip"&gt;http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/S-3.5M5-200902021535/eclipse-SDK-3.5M5-win32.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1596266949353195855-6275321641999657756?l=adamdec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adamdec.blogspot.com/feeds/6275321641999657756/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://adamdec.blogspot.com/2009/02/juz-wkrotce-ruszam.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1596266949353195855/posts/default/6275321641999657756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1596266949353195855/posts/default/6275321641999657756'/><link rel='alternate' type='text/html' href='http://adamdec.blogspot.com/2009/02/juz-wkrotce-ruszam.html' title='Eclipse 3.5 M5'/><author><name>SoNiC</name><uri>http://www.blogger.com/profile/08444359534148688211</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/-VfMe-21OjFs/TuSn2tzjW8I/AAAAAAAAABM/-m7J88NfHpE/s220/adam_dec_bw.jpg'/></author><thr:total>0</thr:total></entry></feed>
