Tomcat Freezes when an Action or ActionForm is updated
Hello, I hope some of you guys has seen something like this and knows how to prevent it, I'm running struts 1.02 with tomcat 4.0.1 on Win2K Server. I'm using Eclipse for IDE and everytime I save one of my Action or ActionForm classes on Eclipse, I see in the tomcat console the message: WebappClassLoader: Resource whatever was modified, so it is fine. But the problem is after that, tomcat will answer no more requests, unitl I shut it down and restart it. Thanks for your time guys, Jorge Macias
Problem with application scope data
Hi, I've been reading through the lists archive and still can't find the way to make this work. I'm doing the following: - Created a subclass from ActionServlet, with the following code: public class IDCVActionServlet extends ActionServlet{ public void init() throws ServletException { try{ super.init(); } catch(ServletException e){ throw(e); } initIDCV(); } protected void initIDCV(){ getServletContext().setAttribute(demo, new ValueBean(Mensaje Demo)); } } the class ValueBean is the following: public class ValueBean{ protected String data; public ValueBean(String data){ this.data = data; } public String getData(){ return(this.data); } public void setData(String data){ this.data = data; } } I modified web.xml to load my custom class instead of the standard ActionServlet, then I try to print demo.data in a jsp, like this: bean:write scope=application name=demo property=data/ but I get a nullPointerException, can someone point me to the right way of doing this? Regards, Jorge Macias -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Problem with LookupDispatchAction and pressing ENTER in a text
I think there's an even handler in the html:form tag which lets you assign a javascript action to be executed when the form is submitted. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviado el: Jueves, 21 de Noviembre de 2002 01:07 p.m. Para: [EMAIL PROTECTED] Asunto: Problem with LookupDispatchAction and pressing ENTER in a text Pressing 'Enter' inside a text form, the form is submited, and the 'method' parameter that is the name of all my submit buttons, takes no value, and so the LookupDispatchAction fails Any solution? Thanks. Example -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]