<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
    <channel>
        <title>JavaRanch Servlets</title>
        <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&amp;f=7</link>
        <description>A Friendly Place for Java Greenhorns</description>
        <image>
            <url>http://saloon.javaranch.com/ubb/moosefly.gif</url>
            <title>JavaRanch Big Moose Saloon</title>
            <link>http://saloon.javaranch.com/</link>
        </image>
        <language>en-us</language>
        <generator>JavaRanch RSS</generator>
        <copyright>Copyright 2007 Paul Wheaton. All Rights Reserved.</copyright>
        <item uniqueID="7-020927">
            <title>Session Management</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020927</link>
            <description>I,m reading Head first Servlets &amp; JSP Chapter 6 Session Management.&lt;br /&gt; &lt;br /&gt;For sending a Kookie in response or getting a Kookie in request we create a HttpSession Object as below&lt;br /&gt; &lt;br /&gt;HttpSession session1 =request.getSession() ....(1)&lt;br /&gt;or,&lt;br /&gt;HttpSession session1 =request.getSession(false)...(2)&lt;br /&gt;&lt;b&gt;&lt;br /&gt;With the above session object created,the container takes care of generating sessionID,&lt;br /&gt;creating a new Kookie object,stuffing the sessionID into Kookie and stuffing the Kookie &lt;br /&gt;as a part of response.&lt;i&gt;On subsequent requests,the container gets the sessionID,from the Kookie in the request,&lt;br /&gt;matches the sessionID with the existing session and associates the session with current request.&lt;/i&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020927</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020927Rakesh Mestry</comments>
            <author/>
            <pubDate>Wed, 14 May 2008 02:21:13 MDT</pubDate>
        </item>
        <item uniqueID="7-020926">
            <title>Dont want the control to return to the servlet and execute after the forward</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020926</link>
            <description>I use requestDispatcher.forward under an if condition in my servlet. After this line there are some code. I dont want the control to come back and execute the code. Is there are any option we can set in the request or response so it doesnt come back to the servlet.&lt;br /&gt; &lt;br /&gt;eg:&lt;br /&gt; &lt;br /&gt;if(LOBList == null &amp;#0124;&amp;#0124; LOBList.isEmpty())&lt;br /&gt;{&lt;br /&gt;req.setAttribute(LaserConsts.LOBEXCEPTION,"loberror");&lt;br /&gt;getRequestDispatcher(LaserConsts.ERROR_PAGE).forward(req, res);&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;remaining code</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020926</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020926Sree Lakshmi Sugunan</comments>
            <author/>
            <pubDate>Wed, 14 May 2008 01:07:13 MDT</pubDate>
        </item>
        <item uniqueID="7-020922">
            <title>how to submit a request to a url</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020922</link>
            <description>Hi Ranchers,&lt;br /&gt; &lt;br /&gt;I am trying to submit my page to a url formed in a javascript can you please guide me how to do it.&lt;br /&gt; &lt;br /&gt;the problem i am facing is the page gets submitted to the action mentioned in form tag.&lt;br /&gt; &lt;br /&gt;if i remove it than it doesn't go anywhere.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020922</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020922subodh gupta</comments>
            <author/>
            <pubDate>Tue, 13 May 2008 06:33:11 MDT</pubDate>
        </item>
        <item uniqueID="7-020921">
            <title>On DB Connections, MVC2, and Sessions</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020921</link>
            <description>Hi all,&lt;br /&gt; &lt;br /&gt;I have some questions for you. I cannot specifically point out what kind of problem I am encountering in my application, but here's what's happening:&lt;br /&gt; &lt;br /&gt;- I have a web application project deployed in the Sun Glassfish Sever, the project follows the MVC2 architecture.&lt;br /&gt;- I am using connection pool for database connection.&lt;br /&gt;- I have an OracleDAOFactory with one method getConnection() which gets a DataSource object from the connection pool.&lt;br /&gt;- I have a SuperDAO which creates a Connection object by calling the getConnection() method in the OracleDAOFactory. This call to getConnection() is in its constructor.&lt;br /&gt;- Within SuperDAO I have methods like performQuery(String query), performUpdate(String query...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020921</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020921Keenon Han</comments>
            <author/>
            <pubDate>Tue, 13 May 2008 05:27:11 MDT</pubDate>
        </item>
        <item uniqueID="7-020919">
            <title>Starting Servlets...</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020919</link>
            <description>Hello all...&lt;br /&gt; &lt;br /&gt;I am preparing to dive in the pool of Servlets and JSPs. What (software/application) is it that I need to have on my personal computer to start coding and testing servlets..?&lt;br /&gt; &lt;br /&gt;Regards,&lt;br /&gt; &lt;br /&gt;Rekha Anand</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020919</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020919Rekha Anand</comments>
            <author/>
            <pubDate>Mon, 12 May 2008 15:49:08 MDT</pubDate>
        </item>
        <item uniqueID="7-020917">
            <title>problem in accessing a distributed EJB through a servlet</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020917</link>
            <description>Dear all,&lt;br /&gt;I'm a trying to call a stateless session bean which has its home and component interfaces, which prints the name it receives from the servlet client.&lt;br /&gt;I'm trying to access a remote server EJB beans, which has been registered with JNDI &amp; when deploying the EJB beans onto the Jboss server which operates in localhost: 8081 it has shown&lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt; &lt;br /&gt; &lt;br /&gt;20:19:16,890 INFO [EjbModule] Deploying greetBean&lt;br /&gt; 20:19:17,109 INFO [ProxyFactory] Bound EJB Home 'greetBean' to jndi 'greetJndi'&lt;br /&gt;20:19:17,125 INFO [EJBDeployer] Deployed: file:/C:/jboss-4.0.5.GA/server/default/deploy/greet.jar&lt;br /&gt; &lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;This is my servlet which is there in tomcat contai...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020917</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020917namma thamizhan</comments>
            <author/>
            <pubDate>Mon, 12 May 2008 09:19:08 MDT</pubDate>
        </item>
        <item uniqueID="7-020916">
            <title>How Remove Servlets From Server Memory </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020916</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt; I like to know how we can unload the Servlets from the server memory when they are not needed. For Example we have 1000 Servlets running in a Prod machine. Most of them are not used, how we can remove the Servlets from the Server memory...&lt;br /&gt; &lt;br /&gt;Is there any options provided by the Server like websphere or Tomcat....&lt;br /&gt; </description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020916</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020916Abdul Kader</comments>
            <author/>
            <pubDate>Mon, 12 May 2008 00:33:06 MDT</pubDate>
        </item>
        <item uniqueID="7-020915">
            <title>Listeners not to be configured in DD</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020915</link>
            <description>In Head First Servlets and JSP 1.4 on P-254,its mentioned that you don't need to configure session Binding listeners in DD but got to configure all other listeners except this in DD&lt;br /&gt; &lt;br /&gt;I was going through whiz labs Mock questions and they have HttpSessionActivation Listener also in list besides HttpSessionBindingListeners?????&lt;br /&gt; &lt;br /&gt;I think Head First version is right but still want to confirm.Please let me know&lt;br /&gt; &lt;br /&gt;-Salil</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020915</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020915Salil Dhawan</comments>
            <author/>
            <pubDate>Sat, 10 May 2008 02:35:01 MDT</pubDate>
        </item>
        <item uniqueID="7-020914">
            <title>jsp and servlet in same screen</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020914</link>
            <description>Hi,&lt;br /&gt;can i have jsp and servlet in a single page?I am having a screen in jsp which displays the details of the caller to the agent.I need to display in the same page about another caller if anyone is in queue by fetching the customer waiting database.How can i do this?any idea about this ?I thought to do it in html frames.one frame which displays the details screen which is in jsp and the other frame should display that a caller is waiting in queue by using servlet which checks the database for every five seconds whether anyone is in queue and displays the message to the agent.Is this method correct.If not how &lt;br /&gt;can i do this?&lt;br /&gt; &lt;br /&gt;Thanks</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020914</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020914preethi Ayyappan</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 22:43:00 MDT</pubDate>
        </item>
        <item uniqueID="7-020912">
            <title>HttpRequest.setParameter()</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020912</link>
            <description>hi &lt;br /&gt; i wanted to add the parameter value to the HttpServlet request from my Serlet Filter.&lt;br /&gt; &lt;br /&gt;I have to clue that i can achive this by HttpServletRequestWrapper . can any one help me to explain me ...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020912</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020912Kumar</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 21:45:00 MDT</pubDate>
        </item>
        <item uniqueID="7-020911">
            <title>Call destroy() inside init()</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020911</link>
            <description>What will happen if we call destroy() method from inside the init() method?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020911</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020911amna amna</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 09:34:58 MDT</pubDate>
        </item>
        <item uniqueID="7-020910">
            <title>Update Servlet version from 2.4 to 2.5</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020910</link>
            <description>I tried to change the servlet version of my web application from 2.4 to 2.5.&lt;br /&gt; &lt;br /&gt;The web application in 2.4 which was developed and runned successfully in a Jetty server did not work properly with 2.5. The problem lied with JSTL. It would not recognize the ${} method of accessing variables.&lt;br /&gt; &lt;br /&gt;All I did changes was the descriptor in the web.xml from&lt;br /&gt;&amp;lt;web-app id="WebApp_ID" version="2.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" &lt;br /&gt;xmlns="http://java.sun.com/xml/ns/j2ee" &lt;br /&gt;xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"&amp;gt; (http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd)&lt;br /&gt; &lt;br /&gt;to the following:&lt;br /&gt;&amp;lt;web-app id="WebApp_ID" version="2.5...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020910</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020910Sverre Moe</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 07:32:58 MDT</pubDate>
        </item>
        <item uniqueID="7-020909">
            <title>Can anyone tell me about webserver?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020909</link>
            <description>Hi All,&lt;br /&gt;Please any one say about web servers ,why we can use this,and where we can use this,and can we get free webserver for hosting the jar and jad files &lt;br /&gt;if it is can you tell me how.&lt;br /&gt; &lt;br /&gt;Please any body help in this,&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;Thanks in Advance,&lt;br /&gt;Geeta&lt;br /&gt; &lt;br /&gt;[ Edited to fix shouting in subject - Paul Sturrock ]</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020909</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020909Geeta Ravikanti</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 05:04:58 MDT</pubDate>
        </item>
        <item uniqueID="7-020907">
            <title>how to run simply servlet program</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020907</link>
            <description>i am new to this topic. i have written servlet program but it is error like some jar file is required...so pls help me</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020907</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020907lalith kumar</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 01:00:57 MDT</pubDate>
        </item>
        <item uniqueID="7-020905">
            <title>servlet</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020905</link>
            <description>If my browser does not support Cookie,and my server sends a cookie instance What will happen ?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020905</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020905manju pillaiyar</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 00:16:57 MDT</pubDate>
        </item>
        <item uniqueID="7-020903">
            <title>java</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020903</link>
            <description>Suppose If we have variable ' I ' in run method, If I can create one or more thread each thread will occupy a separate copy or same variable will be shared ?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020903</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020903manju pillaiyar</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 00:12:57 MDT</pubDate>
        </item>
        <item uniqueID="7-020902">
            <title>servlet</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020902</link>
            <description>In servlets, we are having a web page that is invoking servlets username and password ? which is cheks in the database ? Suppose the second page also If we want to verify the same information whether it will connect to the database or it will be used previous information?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020902</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020902manju pillaiyar</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 00:10:57 MDT</pubDate>
        </item>
        <item uniqueID="7-020901">
            <title>log method of servlet context</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020901</link>
            <description>log&lt;br /&gt;public void log(java.lang.String msg)&lt;br /&gt;log&lt;br /&gt;public void log(java.lang.Exception exception,&lt;br /&gt; java.lang.String msg)&lt;br /&gt;log&lt;br /&gt;public void log(java.lang.String message,&lt;br /&gt; java.lang.Throwable throwable)&lt;br /&gt; &lt;br /&gt;With the above log methods of the ServletContext,where the log file gets created.Where can we view those logs?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020901</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020901Rakesh Mestry</comments>
            <author/>
            <pubDate>Thu, 8 May 2008 22:54:57 MDT</pubDate>
        </item>
        <item uniqueID="7-020898">
            <title>Two servlets with same URL???</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020898</link>
            <description>Hi all,&lt;br /&gt; &lt;br /&gt;I wanted to know if this crazy idea would work. &lt;br /&gt; &lt;br /&gt;I have a servlet which acts as an entry point to my web service which is coded in Java completely. Now, I want to change the same web service to AXIS. I don't want to change the URL for it on my web server. And I want to deploy both of them at the same time, and route requests to the corresponding service depending on the requests.&lt;br /&gt; &lt;br /&gt;I hope now you believe I'm crazy.&lt;br /&gt; &lt;br /&gt;I want to know if there is a way I can implement this.&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt;Anish</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020898</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020898anish manikandan</comments>
            <author/>
            <pubDate>Thu, 8 May 2008 09:26:55 MDT</pubDate>
        </item>
        <item uniqueID="7-020897">
            <title>Reading csv file from within servlet problem</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020897</link>
            <description>Hello,&lt;br /&gt; &lt;br /&gt;I have a web app (Servlet/JSP) and I intend using FlatPack to parse a csv file but I am having trouble simply reading the file in.&lt;br /&gt; &lt;br /&gt;Directory Structure&lt;br /&gt; &lt;br /&gt;Web Pages&lt;br /&gt;|_META-INF&lt;br /&gt;|_WEB-INF&lt;br /&gt;|_data_feeds&lt;br /&gt; |_Demo.csv&lt;br /&gt; &lt;br /&gt;The code I am using is below and it throws the following exception:&lt;br /&gt; &lt;blockquote&gt;quote:&lt;hr&gt;&lt;br /&gt;SEVERE: Servlet.service() for servlet FeedParser threw exception&lt;br /&gt;java.net.MalformedURLException: no protocol: /mobileseeker/data_feeds/Demo.csv&lt;br /&gt; at java.net.URL.&amp;lt;init&amp;gt;(URL.java:567)&lt;br /&gt; at java.net.URL.&amp;lt;init&amp;gt;(URL.java:464)&lt;br /&gt; at java.net.URL.&amp;lt;init&amp;gt;(URL.java:413)&lt;br /&gt; at org.digitalturtle.sandpit.FeedPa...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020897</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020897Darren Wilkinson</comments>
            <author/>
            <pubDate>Thu, 8 May 2008 04:58:55 MDT</pubDate>
        </item>
        <item uniqueID="7-020896">
            <title>cookies problem</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020896</link>
            <description>Hi,&lt;br /&gt;I need to display a popup screen which gets all the details of the caller from a servlet.This page displays well.But when i click the dispose button in this popup page ,it should go to an refresh screen.But when i dispose,The details which i got in popup screen are saved in the browser and i am unable to proceed further for another popup screen for next caller's details.my code follows:&lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt; &lt;br /&gt; &lt;br /&gt; public class Crmpopup extends javax.servlet.http.HttpServlet &lt;br /&gt; implements javax.servlet.Servlet {&lt;br /&gt; Statement st;&lt;br /&gt; ResultSet rs=null;&lt;br /&gt; ResultSet rs1=null;&lt;br /&gt; Connection conn = null;&lt;br /&gt; &lt;br /&gt;public Crmpopup() {&lt;br /&gt;super();&lt;br /&gt;} &lt;br /&gt;&lt;br /&gt;protected void doGet(HttpSe...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020896</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020896preethi Ayyappan</comments>
            <author/>
            <pubDate>Thu, 8 May 2008 04:58:55 MDT</pubDate>
        </item>
        <item uniqueID="7-020893">
            <title>Security-related element in web.xml</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020893</link>
            <description>Hi &lt;br /&gt; &lt;br /&gt;Just want to check with all of you on the security features provided in web.xml.&lt;br /&gt; &lt;br /&gt;How many of you actually use the element such as &lt;b&gt;security-constraint, auth-constratint&lt;/b&gt; in web.xml file to enable security in your application?&lt;br /&gt; &lt;br /&gt;I have been working for 2 years but all the access control is done programatically.&lt;br /&gt; &lt;br /&gt;If any of you have done so, please share your experience or scenario where you use these elements.&lt;br /&gt;I really appreciate it.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Terence&lt;br /&gt; &lt;br /&gt;PS:&lt;br /&gt;I'm not sure if this is the right forum to ask.&lt;br /&gt;If the moderator want to move the more relevant forum, please do so.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020893</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020893Terence Thant Zin Oo</comments>
            <author/>
            <pubDate>Thu, 8 May 2008 04:08:55 MDT</pubDate>
        </item>
        <item uniqueID="7-020892">
            <title>Servlet mapping</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020892</link>
            <description>Hello There&lt;br /&gt; &lt;br /&gt;How to do mapping between HTML and servlet.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020892</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020892Sabber bhatia</comments>
            <author/>
            <pubDate>Thu, 8 May 2008 03:04:55 MDT</pubDate>
        </item>
        <item uniqueID="7-020890">
            <title>How to create a WAR file</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020890</link>
            <description>I have my servlet file Ch1Servlet.java and compiled it and also create DD web.xml and created the directory stucture WEB-INF inside it i place web.xml and classes folder and inside classes folder i place Ch1Servlet.class. I want to create WAR file to deploy in glassfish server.I am new to servlet .Thanks in advance .</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020890</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020890Ashok Pradhan</comments>
            <author/>
            <pubDate>Wed, 7 May 2008 20:50:54 MDT</pubDate>
        </item>
        <item uniqueID="7-020886">
            <title>File reading from any path </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020886</link>
            <description>Hi all,&lt;br /&gt; &lt;br /&gt;Can somebody tell me how can I read files from another directory/drive other than my application.&lt;br /&gt; &lt;br /&gt;i.e my path of application in server = C:\deploy&lt;br /&gt; &lt;br /&gt;I want to access the files from path = D:\Program Files\Java\rt.txt&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Thanks in advance,&lt;br /&gt; &lt;br /&gt;Kousik</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020886</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020886Kousik Majumder</comments>
            <author/>
            <pubDate>Wed, 7 May 2008 01:46:51 MDT</pubDate>
        </item>
        <item uniqueID="7-020885">
            <title>html in variable inside a servlet</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020885</link>
            <description>For my Servlet controller I forward to specific JSP depending on user action. I forward messages using sessions depending on the action and some of the messages need to have HTML &amp;lt;br&amp;gt; so I can break up the message line by line:&lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;&lt;br /&gt;if(something..)&lt;br /&gt;{&lt;br /&gt; myMsg = "Hello world&amp;lt;br&amp;gt;";&lt;br /&gt; //forward this message to JSP ...&lt;br /&gt;}&lt;br /&gt;....&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;For good MVC skills, is it okay to forward html in a Servlet like above example?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020885</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020885Ed Carrington</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 19:46:51 MDT</pubDate>
        </item>
        <item uniqueID="7-020884">
            <title>what code will be there in init() of GenericServlet </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020884</link>
            <description>hi,&lt;br /&gt; &lt;br /&gt; 1... what code will be there in init() and destroy() (overridden method from Servlet interface) of GenericServlet . ?&lt;br /&gt; &lt;br /&gt;scenario::::&lt;br /&gt; &lt;br /&gt; if override the destroy() of the GenericServlet in our own servlet class&lt;br /&gt; like .... class Myservlet extends HttpServlet&lt;br /&gt; { &lt;br /&gt; .... here override destroy method &lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; 2. In this case, Is that destroy() of Myservlet class will be called by container?&lt;br /&gt; 3. is there any case like init(servletconfig) calling init() in GenericServlet ?... i mean destroy of Myservlet an call destroy of Genericservlet ..with super.destroy()?&lt;br /&gt; &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Vinay...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020884</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020884vianyrajnish rajnish</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 10:20:49 MDT</pubDate>
        </item>
        <item uniqueID="7-020883">
            <title>exception llegalStateException , any body know the reason</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020883</link>
            <description>I am getting this Exception i dont know exact cause of this , my functionality is working properly but console is showing this... &lt;br /&gt;any idea about this , &lt;br /&gt; &lt;br /&gt;java.lang.IllegalStateException: getOutputStream() has already been called for this response&lt;br /&gt;at org.apache.catalina.connector.Response.getWriter(Response.java:606)&lt;br /&gt;at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:195)&lt;br /&gt;at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:124)</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020883</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020883RavindraJpatil patil</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 05:30:49 MDT</pubDate>
        </item>
        <item uniqueID="7-020882">
            <title>JSP/Servlet - clarification needed</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020882</link>
            <description>Hello,&lt;br /&gt; &lt;br /&gt;I am writing a java webapp using JSP/Servlets and am looking for a little help regarding implementing something in a best practice approach. Here are the steps in my program:&lt;br /&gt; &lt;br /&gt;1) User logs in to index.jsp&lt;br /&gt;2) User goes to display.jsp&lt;br /&gt;3) display.jsp opens XML file and displays it.&lt;br /&gt; &lt;br /&gt;I initially thought that from within "display.jsp" I could call a bean (jsp:useBean) and have it return Objects from the XML file. The issue with this is that my XML file is included within my web application, so I do not want to hardcode the location to the XML file (as this could change depending on where it is deployed). I would be able to get past this by passing the realpath to the Bean, like: &lt;br /&gt;&amp;lt;% myBe...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020882</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020882Jim Daddy</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 04:52:49 MDT</pubDate>
        </item>
        <item uniqueID="7-020881">
            <title>Servlet class </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020881</link>
            <description>I am new to servlets.I have some doubts due to which i am not able to proceed.&lt;br /&gt; &lt;br /&gt;I have Tomcat 5 deployed on my system. I want to know:&lt;br /&gt; &lt;br /&gt;1. When is Servlet class loaded?How?What actually happens?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020881</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020881Rakesh Mestry</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 23:28:48 MDT</pubDate>
        </item>
        <item uniqueID="7-020879">
            <title>HELP i'm a newbie</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020879</link>
            <description>I just recently started working with JSP ,could anyone please tell me how to access the local filesystem of the server the servlet is running in and display a list of the files or folders in it.I want to create a web application that will allow me to do this, but I don't know where to start.please help!!!!!</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020879</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020879Ugochukwu Onwordi</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 13:34:47 MDT</pubDate>
        </item>
        <item uniqueID="7-020878">
            <title>Clarrifications on doPut, doDelete</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020878</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt; In HttpServlet class we have some method doPut, doDelete, doHead, doOptions and doTrace.&lt;br /&gt; &lt;br /&gt;1. what is need to introduce these method?&lt;br /&gt; &lt;br /&gt;2. give me a practical situation, in which we can use these methods..&lt;br /&gt; &lt;br /&gt;thanks,&lt;br /&gt;Thennam</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020878</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020878Thennam Pandian</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 07:24:46 MDT</pubDate>
        </item>
        <item uniqueID="7-020877">
            <title>Display a Chart from a Servlet to JSP</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020877</link>
            <description>How or what do I do to this servlet code or to reqesting JSP to get my chart to display?&lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;&lt;br /&gt; &lt;br /&gt;protected void doGet(HttpServletRequest arg0, HttpServletResponse arg1) throws ServletException, IOException {&lt;br /&gt;HttpSession session = arg0.getSession(true);&lt;br /&gt;&lt;br /&gt;String jReturnString = "";&lt;br /&gt;&lt;br /&gt;MakeAChart2 mac = new MakeAChart2();&lt;br /&gt;&lt;br /&gt;session.setAttribute("chart1",mac.chart);&lt;br /&gt;&lt;br /&gt;JFreeChart chart = (JFreeChart) session.getAttribute( "chart1" ); &lt;br /&gt; // set the content type so the browser can see this as it is &lt;br /&gt; arg1.setContentType( "application/pdf" ); &lt;br /&gt; &lt;br /&gt; int width = 640; &lt;br /&gt; int height = 480; &lt;br /&gt; Rectangle pagesize = new Rectangle( wid...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020877</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020877Steve Dyke</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 05:58:46 MDT</pubDate>
        </item>
        <item uniqueID="7-020876">
            <title>calling one servlet from another servlet</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020876</link>
            <description>Hi,&lt;br /&gt;How do i call one servlet from another?In one servlet named RefServlet,I am getting the username and password and updating some fields in database if the username matches with the database.Then i need to call another servlet page (AutoServlet)which is refreshing automatically containing a logout button.&lt;br /&gt; &lt;br /&gt;Thanks</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020876</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020876preethi Ayyappan</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 01:44:45 MDT</pubDate>
        </item>
        <item uniqueID="7-020875">
            <title>How to remove JSESSIONID cookie on session invalidation</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020875</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;I am calling session.invalidate() in my web application but this does not remove the JSESSIONID cookie. So one of our customers has raised this as a security threat. They fear a scenario where a different user can do a back and refresh on same browser and use previous user's session. &lt;br /&gt; &lt;br /&gt;So let me know of a way of invalidating the existing JSESSIONID cookie once session.invalidate has been called.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020875</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020875Puneet Agarwal</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 00:26:45 MDT</pubDate>
        </item>
        <item uniqueID="7-020874">
            <title>Writing image into WAR ??? </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020874</link>
            <description>Hi Ranchers,&lt;br /&gt; &lt;br /&gt;I am finding it difficult to create and write an image into WAR file and get it through a jsp or html page.&lt;br /&gt; &lt;br /&gt;How can I write a image into WAR deployment folder?&lt;br /&gt; &lt;br /&gt;My requirement is upon request for a page, I have to get data and create a chart which I have to save it as png to display it along with some table.&lt;br /&gt; &lt;br /&gt;Please help me in this regard.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020874</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020874Srinivasan thoyyeti</comments>
            <author/>
            <pubDate>Sun, 4 May 2008 01:50:33 MDT</pubDate>
        </item>
        <item uniqueID="7-020873">
            <title>Arabic language support in JAVA</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020873</link>
            <description>Hi &lt;br /&gt;I have developed the Email portlet and datas are returned from webservices. In my .java file, I have the variable messageo[1] which returns the email title and title may be in English or Arabic.&lt;br /&gt; &lt;br /&gt;When variable has English message then it works fine for me but when variable has Arabic message it displays title like "???????".&lt;br /&gt; &lt;br /&gt;If I test the Webservices(.wsdl file) then it's displays Arabic message, I think problem with my .java file because it's not reading Arabic message in .java file.&lt;br /&gt; &lt;br /&gt;I tested the code like below but it's not working in both case.&lt;br /&gt;In java:&lt;br /&gt;String value = new String(messageo[1].getBytes("ISO-8859-1"), "UTF-8"); &lt;br /&gt;and &lt;br /&gt;String value = new String(messageo[1].getByte...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020873</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020873murugesan govind</comments>
            <author/>
            <pubDate>Sat, 3 May 2008 02:44:30 MDT</pubDate>
        </item>
        <item uniqueID="7-020872">
            <title>Session</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020872</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt; Please clarrify my doubts..&lt;br /&gt; &lt;br /&gt;1. when can we use URL writting, hidden fields, cookies and HttpSession to handle session?&lt;br /&gt; &lt;br /&gt;2. if the client disabled the cookies, what will happen to the session? how can we handle the session if the client disabled the cookies?&lt;br /&gt; &lt;br /&gt;3. is HttpSession uses Cookies ?&lt;br /&gt; &lt;br /&gt;thanks ,&lt;br /&gt;Thennam Pandian.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020872</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020872Thennam Pandian</comments>
            <author/>
            <pubDate>Fri, 2 May 2008 06:06:28 MDT</pubDate>
        </item>
        <item uniqueID="7-020871">
            <title>Need Coding</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020871</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;I need the coding for how two clients in online chatting will communicate.&lt;br /&gt;When i send some text message to another then that client has to reply to the first client.&lt;br /&gt;please Help me.&lt;br /&gt; &lt;br /&gt;Thanks in Advance</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020871</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020871Desai Bhagya Lakshmi</comments>
            <author/>
            <pubDate>Fri, 2 May 2008 04:32:27 MDT</pubDate>
        </item>
        <item uniqueID="7-020869">
            <title>How to Clear unused Session Attributes</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020869</link>
            <description>hi,&lt;br /&gt; &lt;br /&gt; i'm working on j2ee web application,&lt;br /&gt; regarding unsed sessions we are getting lots of problem,&lt;br /&gt; how to handle such kind problems in future.&lt;br /&gt; suggestions &amp; guidance are welcome.&lt;br /&gt; &lt;br /&gt; Thanking you&lt;br /&gt; Karthikeyan R </description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020869</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020869Karthikeyan Ramaswamy</comments>
            <author/>
            <pubDate>Thu, 1 May 2008 00:48:24 MDT</pubDate>
        </item>
        <item uniqueID="7-020868">
            <title>servlet Map help</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020868</link>
            <description>It's been a while since I have written any code and I am having an issue getting back into it. &lt;br /&gt; &lt;br /&gt;I am currently working on creating servlet to pass info from all my forms to my business logic. However, I am having an issue with getting the data. This may be a topic for a different forum, but I figured I would ask here.&lt;br /&gt; &lt;br /&gt;I tested out the servlet with the getParameter() method, and I can get the values. However, when I try to use the java.util.Map, I get blank values.&lt;br /&gt; &lt;br /&gt;I think the issue may be that I forgot how to use the Map object. Here is my code:&lt;br /&gt; &lt;br /&gt;out.println("&amp;lt;html&amp;gt;");&lt;br /&gt; out.println("&amp;lt;head&amp;gt;");&lt;br /&gt; out.println("&amp;lt;title&amp;gt;Servlet CalCartController&amp;l...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020868</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020868Scott</comments>
            <author/>
            <pubDate>Wed, 30 Apr 2008 17:52:23 MDT</pubDate>
        </item>
        <item uniqueID="7-020867">
            <title>Specifting zip file name in servlet</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020867</link>
            <description>I am breezing along zipping up files in my servlet when I find that I cannot specify the name of the zip file!&lt;br /&gt; &lt;br /&gt;ServletOutputStream out = response.getOutputStream();&lt;br /&gt;ZipOutputStream zipOut = new ZipOutputStream(out);&lt;br /&gt; &lt;br /&gt;response.addHeader("Content-Disposition", "attachment; filename=charts.zip");&lt;br /&gt; &lt;br /&gt;The name of the zip file turns out to be the name of the servlet. I don't find any answer in the docs. How can I specify the file name?&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt; &lt;br /&gt;Eric</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020867</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020867John Eric Hamacher</comments>
            <author/>
            <pubDate>Wed, 30 Apr 2008 13:04:22 MDT</pubDate>
        </item>
        <item uniqueID="7-020866">
            <title>why index.html</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020866</link>
            <description>hello&lt;br /&gt; I am using tomcat for my application in jsp/servlet.&lt;br /&gt;i have one file named Enter.jsp. after starting the server and programme it will automatically call index.html. but suppose while starting I want to make call direct to my file i.e Enter.jsp. so how to call it directly without typing name in browser. &lt;br /&gt; Is their any way to call user generated files directly without calling index.html </description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020866</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020866saurabh naik</comments>
            <author/>
            <pubDate>Wed, 30 Apr 2008 12:52:22 MDT</pubDate>
        </item>
        <item uniqueID="7-020865">
            <title>sendign PDF to screen while downloading</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020865</link>
            <description>Hello:&lt;br /&gt; &lt;br /&gt;I have a servlet which writes a PDF to the ServletOutputStream so that it gets sent to the browser or plugin.&lt;br /&gt; &lt;br /&gt;Now I need the servlet to download 12 png files (that exist in memory) in addition to sending the aforementioned PDF to the browser.&lt;br /&gt; &lt;br /&gt;IS this possible in one servlet?&lt;br /&gt; &lt;br /&gt;Thanks&lt;br /&gt; &lt;br /&gt;Eric</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020865</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020865John Eric Hamacher</comments>
            <author/>
            <pubDate>Wed, 30 Apr 2008 11:42:22 MDT</pubDate>
        </item>
        <item uniqueID="7-020864">
            <title>servlet-mapping </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020864</link>
            <description>hi guys&lt;br /&gt;is &amp;lt;servlet-mapping&amp;gt; mandatory for all &amp;lt;servlet&amp;gt; tags in web.xml&lt;br /&gt;i have also read that every &amp;lt;servlet&amp;gt; tag should have &amp;lt;servlet-mapping&amp;gt; &lt;br /&gt;but i found only &amp;lt;servlet&amp;gt; tag for quartz configuration like below&lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt; &amp;lt;servlet&amp;gt;&lt;br /&gt; &amp;lt;servlet-name&amp;gt;QuartzInitializer&amp;lt;/servlet-name&amp;gt;&lt;br /&gt; &amp;lt;display-name&amp;gt;Quartz Initializer Servlet&amp;lt;/display-name&amp;gt;&lt;br /&gt; &amp;lt;servlet-class&amp;gt;org.quartz.ee.servlet.QuartzInitializerServlet&amp;lt;/servlet-class&amp;gt;&lt;br /&gt; &amp;lt;init-param&amp;gt;&lt;br /&gt; &amp;lt;param-name&amp;gt;config-file&amp;lt;/param-name&amp;gt;&lt;br /&gt; &amp;lt;param-value&amp;gt;quartz.properties&amp;lt;/param-value&amp;gt;&lt;br /&gt; &amp;lt;/init-param&amp;gt;&lt;br /&gt; &amp;lt;i...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020864</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020864Amirtharaj Chinnaraj</comments>
            <author/>
            <pubDate>Wed, 30 Apr 2008 04:54:21 MDT</pubDate>
        </item>
        <item uniqueID="7-020863">
            <title>FTP using servlets.</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020863</link>
            <description>Hello,&lt;br /&gt; &lt;br /&gt;Please inform, how I can implement FTP using servlets.&lt;br /&gt; &lt;br /&gt;Thanks&lt;br /&gt;Neeraj.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020863</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020863Neeraj Vij</comments>
            <author/>
            <pubDate>Wed, 30 Apr 2008 04:14:21 MDT</pubDate>
        </item>
        <item uniqueID="7-020862">
            <title>what is difference between MVC1 &amp;amp; MVC2 pattern? </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020862</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;please tell me the diff. between mvc1 &amp; mvc2 pattern?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020862</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020862sandy mahajan</comments>
            <author/>
            <pubDate>Wed, 30 Apr 2008 02:56:21 MDT</pubDate>
        </item>
        <item uniqueID="7-020860">
            <title>Autorefreshing a servlet page</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020860</link>
            <description>Hi,&lt;br /&gt;I want to auto refresh a servlet page for every 10 sec.I have checked it with a simple helloworld servlet program.But i dont find the page is getting refreshed automatically.I have used&lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt; &lt;br /&gt;protected void doGet(HttpServletRequest request, HttpServletResponse response) &lt;br /&gt; throws ServletException, IOException {&lt;br /&gt;response.getWriter().write("Helloworld");&lt;br /&gt;response.setHeader("Refresh","10");&lt;br /&gt;} &lt;br /&gt; &lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt;Is this the correct code to refresh.anyone help me please.&lt;br /&gt; &lt;br /&gt;Thanks in advance</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020860</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020860preethi Ayyappan</comments>
            <author/>
            <pubDate>Wed, 30 Apr 2008 00:12:20 MDT</pubDate>
        </item>
        <item uniqueID="7-020858">
            <title>http call questions</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020858</link>
            <description>When we send a http request to server. Not talking about XHR requests&lt;br /&gt;For example&lt;br /&gt;( http://MyApp/getPageStream.jsp (http://MyApp/getPageStream.jsp) ) or any other http call.&lt;br /&gt; Can we:-&lt;br /&gt;1) Abort the request(for example say if user clicks cancel abort file upload request)&lt;br /&gt;2)Delay request for say 2 sec.(e.g if user clicks twice in 2 sec sen call only once.)&lt;br /&gt; &lt;br /&gt;Thanks </description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020858</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020858Rahul Sharma</comments>
            <author/>
            <pubDate>Tue, 29 Apr 2008 06:56:18 MDT</pubDate>
        </item>
        <item uniqueID="7-020855">
            <title>error in deploying servlets in tomcat</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020855</link>
            <description>Hi &lt;br /&gt;I am getting the following error ..&lt;br /&gt;please send me the solution for this error.&lt;br /&gt;-----&lt;br /&gt;Tomcat Web Application Manager &lt;br /&gt; &lt;br /&gt;Message: FAIL - Application at context path /myapp could not be started&lt;br /&gt;------------&lt;br /&gt;Thanks</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020855</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=7&amp;t=020855md irfan ali junedi</comments>
            <author/>
            <pubDate>Tue, 29 Apr 2008 02:38:18 MDT</pubDate>
        </item>
    </channel>
</rss>
