Re: [OT] beanutils convert empty string to 0 vs null for Integer?

2004-10-11 Thread Dmitrii CRETU
Hello, try to add following parameter for "action" servlet (web.xml file): --- action org.apache.struts.action.ActionServlet convertNull true --

Re: Loosing session while redirecting

2004-10-06 Thread Dmitrii CRETU
Perhaps the JSESSIONID cookie is lost when you switch from ip-address to host-name or vice versa This happens because cookie is assosiated with the host (and path), so if you redirect IP request to HOSTNAME path the cookie is not attached to this request (it is supposed to belong to IP-based "doma

Re: Struts and UTF-8

2004-10-19 Thread Dmitrii CRETU
Another solution is to implement a Filter that does request.setCharacterEncoding("UTF-8"); Dima. VR> Hi, VR> Try setting request character encoding to UTF-8. I've had the same problem VR> and solved it by extending ActionServlet to e.g. MyActionServlet (of course VR> you have to rewrite th

Re: no sessions

2004-12-08 Thread Dmitrii CRETU
Hello josh, this is the way we do it: How to prevent struts application from session creation === You must prevent calls to "request.getSession()" (<==> request.getSession(true)) method wich creates HttpSession if it does not exist. 1. Add to

Re[2]: accessing Actionform properties from javascript

2004-12-27 Thread Dmitrii CRETU
try this = function doCancel(p_btn) { var v_url = ""; v_url = ''; ... = Dima. Rj> Hi, Rj> Let me give more details. Rj> The actionForm is used thro