<?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: Calling a Servlet in Java Code through a Post Request &#8211; or: how Service Oriented we Are</title>
	<atom:link href="http://technology.amis.nl/2006/03/25/calling-a-servlet-in-java-code-through-a-post-request-or-how-service-oriented-we-are/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2006/03/25/calling-a-servlet-in-java-code-through-a-post-request-or-how-service-oriented-we-are/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=calling-a-servlet-in-java-code-through-a-post-request-or-how-service-oriented-we-are</link>
	<description></description>
	<lastBuildDate>Tue, 11 Jun 2013 22:09:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: harpreet</title>
		<link>http://technology.amis.nl/2006/03/25/calling-a-servlet-in-java-code-through-a-post-request-or-how-service-oriented-we-are/#comment-3013</link>
		<dc:creator>harpreet</dc:creator>
		<pubDate>Fri, 10 Oct 2008 10:27:07 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1107#comment-3013</guid>
		<description><![CDATA[hello friends i m harpreet as software develope in one company....i m try to access one servlet class to another class .i m unable to access...........i m sending following code.....plz help.............
package a1;
class abc
{
	public void dis()
	{
		System.out.println(&quot;hellodata&quot;);
	}
}

javaser.java
--------------
import a1.abc;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;
import javax.servlet.ServletContext;
public class javaser extends HttpServlet
{
    public void doGet(HttpServletRequest request,
		      HttpServletResponse response)
	throws ServletException, IOException
       {
	PrintWriter out = response.getWriter();

	out.println(&quot;&quot;);
	out.println(&quot;&quot;);
	out.println(&quot;Servlet test&quot;);
	a1.abc=new a1.abc();
	out.println(&quot;&quot;);
	out.println(&quot;&quot;);
    }



}
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Abc&gt;f:

F:\&gt;cd java core

F:\java core&gt;cd a1
The system cannot find the path specified.

F:\java core&gt;e:

E:\&gt;cd java core

E:\java core&gt;cd a1

E:\java core\a1&gt;javac abc.java

E:\java core\a1&gt;javac -classpath &quot;servlet-api.jar&quot; javaser.java
javaser.java:1: package a1 does not exist
import a1.abc;
         ^
javaser.java:18: cannot find symbol
symbol  : variable a1
location: class javaser
        a1.abc=new a1.abc();
        ^
javaser.java:18: package a1 does not exist
        a1.abc=new a1.abc();
                     ^
3 errors]]></description>
		<content:encoded><![CDATA[<p>hello friends i m harpreet as software develope in one company&#8230;.i m try to access one servlet class to another class .i m unable to access&#8230;&#8230;&#8230;..i m sending following code&#8230;..plz help&#8230;&#8230;&#8230;&#8230;.<br />
package a1;<br />
class abc<br />
{<br />
	public void dis()<br />
	{<br />
		System.out.println(&#8220;hellodata&#8221;);<br />
	}<br />
}</p>
<p>javaser.java<br />
&#8212;&#8212;&#8212;&#8212;&#8211;<br />
import a1.abc;<br />
import java.io.*;<br />
import javax.servlet.*;<br />
import javax.servlet.http.*;<br />
import java.util.*;<br />
import javax.servlet.ServletContext;<br />
public class javaser extends HttpServlet<br />
{<br />
    public void doGet(HttpServletRequest request,<br />
		      HttpServletResponse response)<br />
	throws ServletException, IOException<br />
       {<br />
	PrintWriter out = response.getWriter();</p>
<p>	out.println(&#8220;&#8221;);<br />
	out.println(&#8220;&#8221;);<br />
	out.println(&#8220;Servlet test&#8221;);<br />
	a1.abc=new a1.abc();<br />
	out.println(&#8220;&#8221;);<br />
	out.println(&#8220;&#8221;);<br />
    }</p>
<p>}<br />
Microsoft Windows XP [Version 5.1.2600]<br />
(C) Copyright 1985-2001 Microsoft Corp.</p>
<p>C:\Documents and Settings\Abc&gt;f:</p>
<p>F:\&gt;cd java core</p>
<p>F:\java core&gt;cd a1<br />
The system cannot find the path specified.</p>
<p>F:\java core&gt;e:</p>
<p>E:\&gt;cd java core</p>
<p>E:\java core&gt;cd a1</p>
<p>E:\java core\a1&gt;javac abc.java</p>
<p>E:\java core\a1&gt;javac -classpath &#8220;servlet-api.jar&#8221; javaser.java<br />
javaser.java:1: package a1 does not exist<br />
import a1.abc;<br />
         ^<br />
javaser.java:18: cannot find symbol<br />
symbol  : variable a1<br />
location: class javaser<br />
        a1.abc=new a1.abc();<br />
        ^<br />
javaser.java:18: package a1 does not exist<br />
        a1.abc=new a1.abc();<br />
                     ^<br />
3 errors</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Swaminathan</title>
		<link>http://technology.amis.nl/2006/03/25/calling-a-servlet-in-java-code-through-a-post-request-or-how-service-oriented-we-are/#comment-3012</link>
		<dc:creator>Swaminathan</dc:creator>
		<pubDate>Fri, 29 Jun 2007 14:53:38 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1107#comment-3012</guid>
		<description><![CDATA[Posting the HttpRequest to the Service URL from the Java application its very useful information, thanku]]></description>
		<content:encoded><![CDATA[<p>Posting the HttpRequest to the Service URL from the Java application its very useful information, thanku</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ahmet YILMAZ</title>
		<link>http://technology.amis.nl/2006/03/25/calling-a-servlet-in-java-code-through-a-post-request-or-how-service-oriented-we-are/#comment-3011</link>
		<dc:creator>Ahmet YILMAZ</dc:creator>
		<pubDate>Thu, 30 Nov 2006 11:54:34 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1107#comment-3011</guid>
		<description><![CDATA[Dear friend, i want to convert html into pdf end send it as email runtime thanks for help]]></description>
		<content:encoded><![CDATA[<p>Dear friend, i want to convert html into pdf end send it as email runtime thanks for help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wijaya Kusumo</title>
		<link>http://technology.amis.nl/2006/03/25/calling-a-servlet-in-java-code-through-a-post-request-or-how-service-oriented-we-are/#comment-3010</link>
		<dc:creator>Wijaya Kusumo</dc:creator>
		<pubDate>Thu, 30 Mar 2006 08:44:04 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1107#comment-3010</guid>
		<description><![CDATA[Instead of writing the output byte-by-byte, using buffer may improve the process for big file:

// read all bytes from the input and write them to the output
int    bufLen = 1]]></description>
		<content:encoded><![CDATA[<p>Instead of writing the output byte-by-byte, using buffer may improve the process for big file:</p>
<p>// read all bytes from the input and write them to the output<br />
int    bufLen = 1</p>
]]></content:encoded>
	</item>
</channel>
</rss>
