Between the transitions of the web app I use a Session object to save my objects in. I\'ve heard there\'s a program called memcached but there\'s no compiled version of it on the site,
I am new to Tomcat, and trying to run a simple HelloWorld servlet. I have installed Tomcat 6, and Jdk1.6 on Mandriva Linux, set CLASSPATH and JAVA_HOME. I have the following files and directories:
I have a jsp pag开发者_如何转开发e that communicate with a servlet back end. Up until now, the way I communicate with that servlet is via .getJSON() which is a JQuery method. This work great if the da
How toinject dependencies into HttpSessionListener开发者_运维知识库, using Spring and without calls, like context.getBean(\"foo-bar\") ?Since the Servlet 3.0 ServletContext has an \"addListener\" meth
What is the best place in servlet for Hibernate code that returns HibernateSessionFactory ? I saw many examples: ones put db connection in service methods. Others - use smth like HibernateUtil (Singl
I want to use the #! token to make my GWT application crawlable, as described here: http://code.google.com/web/ajaxcrawling/
I like to know why dont we c开发者_Python百科all servlet constructor instead of init method to initialize the config parameters.
I am creating a j2ee web appp and I have created the following packages com.cms.controller (to hold servlets)
I\'m making call to Alfresco Webscripts which return JSON. I do this using GET requests which all work perfectly. If I do a file POST however, the Alfresco server receives the file correctly and sends
I want to reload just my web layer classes without reloading my service layer classes (which take longer to initialize and change less frequently). There are no references from my service layer into t