Tim Moores wrote:Can you rephrase your question? I don't understand what "how to get the project by the vendor" or "I want to take the project of the client online" means. Are you asking how to find a client that will pay you for contract development?
As an alternative, you might look into developing an app and distributing it (for cash) in the Android Market and/or other Android app stores.
Nitin Surana wrote:If you are saving the file through an old version of a text editor say for e.g. notepad
then saving the file as M.java will actually save the file as M.java.txt
and hence you may find people use "M.java" although not necessary everywhere.
Bear Bibeault wrote:It can be any object that you want to store in the context.
Frits Walraven wrote:
when we login in the G+ , so session starts , when I play games , or comments the same session continues , when I logout the session ends ...
is it so ? or enything more ?
There is much more but what book are you studying?
Regards,
Frits
Matthew Brown wrote:Firstly, you should do stuff in the Servlet init() method, not the Servlet constructor. That gives you access to the ServletContext.
Secondly, doing work there is fine if only one servlet is going to need it. But in many applications you're going to have things - like database details - that are needed by several servlets. But you only want to do it once. Using a ContextListener allows you to perform actions after the context is ready, but before any servlets are created.
Badri Viswanathan wrote:getParameter - Is used for getting the information you need from the Client's HTML page
getAtribute - This is used for getting the parameters set previously in another or the same JSP or Servlet page. Basically, if you are forwarding or just going from one jsp/servlet to another one, there is no way to have the information you want unless you choose to put them in an Object and use the setAttribute to store in a Session variable. Using getAttribute, you can retrieve the Session variable