2010/3/26 Paul Harouff <span dir="ltr">&lt;<a href="mailto:pharouff@gmail.com">pharouff@gmail.com</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Thu, Mar 25, 2010 at 4:49 AM, Ilshad Khabibullin<br>
&lt;<a href="http://astoon.net" target="_blank">astoon.net</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On Thu, Mar 25, 2010 at 1:46 AM, Paul Harouff &lt;<a href="mailto:pharouff@gmail.com">pharouff@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt; I still don&#39;t understand the difference between @@ = ++view++ on the<br>
&gt;&gt;&gt; first page and @@ = ++resource++ on the second page.<br>
&gt;<br>
</div><div class="im">&gt; Follow lines are getting registered resource `logo.png&#39;:<br>
&gt;<br>
&gt; <a href="http://localhost:8080/++resource++logo.png" target="_blank">http://localhost:8080/++resource++logo.png</a><br>
&gt; <a href="http://localhost:8080/@@/logo.png" target="_blank">http://localhost:8080/@@/logo.png</a><br>
&gt;<br>
&gt; or (for registered resource directory `images&#39;):<br>
&gt;<br>
&gt; <a href="http://localhost:8080/++resource++images/logo.png" target="_blank">http://localhost:8080/++resource++images/logo.png</a><br>
&gt; <a href="http://localhost:8080/@@/images/logo.png" target="_blank">http://localhost:8080/@@/images/logo.png</a><br>
&gt;<br>
&gt; It&#39;s syntax sugar. For difference note the slash after @@.<br>
<br>
<br>
</div>What if logo.png is in the root folder?<br>
<font color="#888888"><br></font></blockquote><div><br>I described use cases for register resource or resource directory in you source code.<br><br>Do you mean uploading and storing the image into database ?<br><br><br> </div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font color="#888888">
Paul<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Ilshad R. Khabibullin<br>+7 922 600 56 06<br>