jGuru maintains FAQs and Forums on Servlets, JSP, and Tomcat (as well as many other Java topics). Here is an automated update on recent postings to Tomcat-related FAQs. Please direct flames and feedback to [EMAIL PROTECTED] .
- Alex ++ JavaServer Pages (JSP) FAQ: http://www.jguru.com/faq/JSP If I have a URL (GET) param and hidden (POST) field in a form with the same name, how can I get and differenciate them? I have the following code:<p> <tt> <form name="someForm" method="post" action="somePage.jsp?id=100"><br> <input type="hidden" name="id" value="200"><br> </form><br> </tt> <p> I need to differenciate between the id in the URL parameter and the id in the form. I know you can use getParameterValues() to get multiple values but I need to know which one belongs to the URL or form because sometimes I will get only one of them. Is it possible? http://www.jguru.com/misc/faqtrampoline.jsp?src=notify&EID=724996 <p> I understand that a JSP session cookie is not persistent. Once all browser instances are closed, the session cookie is gone. <p>Is there a way to make the session cookie persistent like a regular cookie? http://www.jguru.com/misc/faqtrampoline.jsp?src=notify&EID=724993 ++ Servlets FAQ: http://www.jguru.com/faq/Servlets Since session.getValue("name") has been deprecated, what method do I call instead? http://www.jguru.com/misc/faqtrampoline.jsp?src=notify&EID=724725 What is the difference between <i>request.getAttribute()</i> and <i>request.getParameter()</i>? http://www.jguru.com/misc/faqtrampoline.jsp?src=notify&EID=724724 How can I store international / Unicode characters into a cookie? http://www.jguru.com/misc/faqtrampoline.jsp?src=notify&EID=722908 How can I access one servlet method from some other servlet in same context? http://www.jguru.com/misc/faqtrampoline.jsp?src=notify&EID=722714 ++ Tomcat FAQ: http://www.jguru.com/faq/Tomcat "Unable to load class" message under Tomcat 3. http://www.jguru.com/misc/faqtrampoline.jsp?src=notify&EID=726062 Is there a way to save files to a directory which will survive upgrades to the web application? http://www.jguru.com/misc/faqtrampoline.jsp?src=notify&EID=726038 Tomcat 4 and XML Parsers. http://www.jguru.com/misc/faqtrampoline.jsp?src=notify&EID=720733 You can shut email notification off at the FAQ home page(s) or: http://www.jguru.com/guru/notifyprefs.jsp -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>