<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Java upload handler for YUI Image Uploader</title>
	<atom:link href="http://allmybrain.com/2009/02/16/java-upload-handler-for-yui-image-uploader/feed/" rel="self" type="application/rss+xml" />
	<link>http://allmybrain.com/2009/02/16/java-upload-handler-for-yui-image-uploader/</link>
	<description>Where stuff from my brain lands</description>
	<lastBuildDate>Sat, 05 May 2012 12:28:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Aernoud</title>
		<link>http://allmybrain.com/2009/02/16/java-upload-handler-for-yui-image-uploader/comment-page-1/#comment-1203</link>
		<dc:creator>Aernoud</dc:creator>
		<pubDate>Mon, 19 Sep 2011 08:33:56 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=239#comment-1203</guid>
		<description>Hi,
I&#039;m looking for a java/web programmer who can add a image upload and handling tool (resize, rotate, color change) to our site. Please contact me on arnismail@gmail.com for more details.

Best regards,
Aernoud</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I&#8217;m looking for a java/web programmer who can add a image upload and handling tool (resize, rotate, color change) to our site. Please contact me on <a href="mailto:arnismail@gmail.com">arnismail@gmail.com</a> for more details.</p>
<p>Best regards,<br />
Aernoud</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: An Image Upload Extension for YUI Rich Text Editor &#124; All My Brain</title>
		<link>http://allmybrain.com/2009/02/16/java-upload-handler-for-yui-image-uploader/comment-page-1/#comment-999</link>
		<dc:creator>An Image Upload Extension for YUI Rich Text Editor &#124; All My Brain</dc:creator>
		<pubDate>Sat, 16 Jan 2010 09:45:17 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=239#comment-999</guid>
		<description>[...] Update 02/16/09: Vijay Oruganty has provided a Java upload handler for the YUI image uploader. [...]</description>
		<content:encoded><![CDATA[<p>[...] Update 02/16/09: Vijay Oruganty has provided a Java upload handler for the YUI image uploader. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijay Oruganty</title>
		<link>http://allmybrain.com/2009/02/16/java-upload-handler-for-yui-image-uploader/comment-page-1/#comment-943</link>
		<dc:creator>Vijay Oruganty</dc:creator>
		<pubDate>Tue, 22 Sep 2009 16:47:58 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=239#comment-943</guid>
		<description>Looks like the editor did not like the &#039;greater than&#039; and &#039;less than&#039; markups, so it took them out. I meant -

...you should be able to access the same at the URL, Your_servlet_context/images/image1.jpg (which might look like http://host:port/your_servelt/images/image1.jpg). 

-Vijay.</description>
		<content:encoded><![CDATA[<p>Looks like the editor did not like the &#8216;greater than&#8217; and &#8216;less than&#8217; markups, so it took them out. I meant -</p>
<p>&#8230;you should be able to access the same at the URL, Your_servlet_context/images/image1.jpg (which might look like <a href="http://host:port/your_servelt/images/image1.jpg" rel="nofollow">http://host:port/your_servelt/images/image1.jpg</a>). </p>
<p>-Vijay.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijay Oruganty</title>
		<link>http://allmybrain.com/2009/02/16/java-upload-handler-for-yui-image-uploader/comment-page-1/#comment-942</link>
		<dc:creator>Vijay Oruganty</dc:creator>
		<pubDate>Tue, 22 Sep 2009 16:42:38 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=239#comment-942</guid>
		<description>Chandra-
	From the description of the error you are getting I would check the lines 60 and 61 within RequestProcessor.java.

	60: String uploadFile = &quot;images/&quot; + fileName;
	61: out.println(&quot;{status:&#039;UPLOADED&#039;,image_url:&#039;&quot; + uploadFile +&quot;&#039;}&quot;);
	
	If you are uploading an image say image1.jpg, you should be able to access the same at the URL /images/image1.jpg (which might look like http://images/image1.jpg). Make sure you are able to access the image at this URL and it would showup within the editor too. you may have to deploy your servlet in exploded mode and upload the image to a folder (say images) under your WebRoot or have your app server/web server render the images uploaded into the particular upload directory dynamically.

Hope this helps.

-Vijay.</description>
		<content:encoded><![CDATA[<p>Chandra-<br />
	From the description of the error you are getting I would check the lines 60 and 61 within RequestProcessor.java.</p>
<p>	60: String uploadFile = &#8220;images/&#8221; + fileName;<br />
	61: out.println(&#8220;{status:&#8217;UPLOADED&#8217;,image_url:&#8217;&#8221; + uploadFile +&#8221;&#8216;}&#8221;);</p>
<p>	If you are uploading an image say image1.jpg, you should be able to access the same at the URL /images/image1.jpg (which might look like <a href="http://images/image1.jpg" rel="nofollow">http://images/image1.jpg</a>). Make sure you are able to access the image at this URL and it would showup within the editor too. you may have to deploy your servlet in exploded mode and upload the image to a folder (say images) under your WebRoot or have your app server/web server render the images uploaded into the particular upload directory dynamically.</p>
<p>Hope this helps.</p>
<p>-Vijay.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chandra</title>
		<link>http://allmybrain.com/2009/02/16/java-upload-handler-for-yui-image-uploader/comment-page-1/#comment-940</link>
		<dc:creator>Chandra</dc:creator>
		<pubDate>Wed, 16 Sep 2009 07:08:33 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=239#comment-940</guid>
		<description>Thanks for your reply Dennis
I am a SE by profession.I&#039;ve got to work on RichText Editor with image uploading feature.I&#039;ve got the source code from vijay oruganty. but i&#039;ve some problem with image uploading,the image is getting uploaded in my application context during run time but it is not rendering in the editor. when i debug the code  Please give me any suggestion regarding this issue.

I&#039;ve found the problem over here
-------------------------------

resp=r.responseText.replace( //i, &#039;&#039;).replace ( //i, &#039;&#039;);
										var o=eval(&#039;(&#039;+resp+&#039;)&#039;);
										if (o.status==&#039;UPLOADED&#039;) {
											Dom.get(&#039;insertimage_upload&#039;).value=&#039;&#039;;
											Dom.get(&#039;insertimage_url&#039;).value=o.image_url;
											// tell the image panel the url changed
											// hack instead of fireEvent(&#039;blur&#039;)
											// which for some reason isn&#039;t working
											Dom.get(&#039;insertimage_url&#039;).focus();
											Dom.get(&#039;insertimage_upload&#039;).focus();


the above code is from yui-image-uploader.js file
which i&#039;ve got with the eclipse application sent by vijay.</description>
		<content:encoded><![CDATA[<p>Thanks for your reply Dennis<br />
I am a SE by profession.I&#8217;ve got to work on RichText Editor with image uploading feature.I&#8217;ve got the source code from vijay oruganty. but i&#8217;ve some problem with image uploading,the image is getting uploaded in my application context during run time but it is not rendering in the editor. when i debug the code  Please give me any suggestion regarding this issue.</p>
<p>I&#8217;ve found the problem over here<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>resp=r.responseText.replace( //i, &#8221;).replace ( //i, &#8221;);<br />
										var o=eval(&#8216;(&#8216;+resp+&#8217;)');<br />
										if (o.status==&#8217;UPLOADED&#8217;) {<br />
											Dom.get(&#8216;insertimage_upload&#8217;).value=&#8221;;<br />
											Dom.get(&#8216;insertimage_url&#8217;).value=o.image_url;<br />
											// tell the image panel the url changed<br />
											// hack instead of fireEvent(&#8216;blur&#8217;)<br />
											// which for some reason isn&#8217;t working<br />
											Dom.get(&#8216;insertimage_url&#8217;).focus();<br />
											Dom.get(&#8216;insertimage_upload&#8217;).focus();</p>
<p>the above code is from yui-image-uploader.js file<br />
which i&#8217;ve got with the eclipse application sent by vijay.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://allmybrain.com/2009/02/16/java-upload-handler-for-yui-image-uploader/comment-page-1/#comment-936</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Tue, 08 Sep 2009 18:25:58 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=239#comment-936</guid>
		<description>I&#039;m not sure what you are looking for here.  Do you mean that you&#039;d like a _client_ written in Java?</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure what you are looking for here.  Do you mean that you&#8217;d like a _client_ written in Java?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chandra</title>
		<link>http://allmybrain.com/2009/02/16/java-upload-handler-for-yui-image-uploader/comment-page-1/#comment-935</link>
		<dc:creator>Chandra</dc:creator>
		<pubDate>Mon, 07 Sep 2009 07:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=239#comment-935</guid>
		<description>Can anyway please send me an application where in which dynamic image uploader is used in a rich text editor using java please send me the code for the application asap.Thanks in advance</description>
		<content:encoded><![CDATA[<p>Can anyway please send me an application where in which dynamic image uploader is used in a rich text editor using java please send me the code for the application asap.Thanks in advance</p>
]]></content:encoded>
	</item>
</channel>
</rss>

