RE: Struts 2, Comet & WebSockets

2010-06-28 Thread RogerV
I know that Tomcat supports Comet. I was wondering if I had to do anything "different" in Struts to be able to use Comet. Are you saying that by simply enabling Comet in Tomcat, or using any other Comet enabled servlet container, Struts will *just* work? Regards -- View this message in context:

Re: fieldexpression validator not working

2010-06-28 Thread Jake Vang
never mind, i removed # from the OGNL expression and i get the correct behavior now. On Tue, Jun 29, 2010 at 12:23 AM, Jake Vang wrote: > i have a User class with two fields, password and confirmPassword. on > a web form, upon post, i am trying to see if they match using the > fieldexpression val

Creating Sub-Domains from Struts 2 application

2010-06-28 Thread Amol Ghotankar
Dear List member, I have a requirement in which when a user registers on the portal developed using struts 2, a sub-domain should be created for him. Like say Amol registers on cursivetech.com, then when he logs into his account it must look like amol.cursivetech.com How to make such arrangement

fieldexpression validator not working

2010-06-28 Thread Jake Vang
i have a User class with two fields, password and confirmPassword. on a web form, upon post, i am trying to see if they match using the fieldexpression validator. however, no matter what i try, i keep getting the message that they don't match. in the Tomcat console, i can see this message: Got resu

Fwd: Model Driven Action doesn't return value when model gets reassigned to some other value - hibernate problem

2010-06-28 Thread Greg Stasica
hi, the scenario is as follow:1 1. class EditMyBeanAction implements Model... 2. url mapping calls edit method on the EditMyBeanAction 3. the result should be that once edit method returns (it loads MyBean object from the database) MyBean should be displayed on the jsp the problem is that it seem

Re: Nested Iterator Problem

2010-06-28 Thread Chris Miles
In the second Iterator I have just got value="#product.name"/> The resuling HTML looks like. Address 1 of 1 Chris Miles

Escape html characters on Struts 2.1.8

2010-06-28 Thread Oscar
Hi to all, i have a little problem with Struts 2 tag. I'm building a HashMap List that feeds the select tag, but the problem is that HashMap elements contains characters like Ñ, á, é and so on and when i submit the form that contains the list, in the second jsp where i print the value of s:select

Struts time picker does not render ihn IE7/IE8

2010-06-28 Thread john . varghese
Hi All, I am using struts version 2.1.8.1 and below is a test code to render DOJO time picker <%@ taglib prefix="s" uri="/struts-tags"%> <%@ taglib prefix="sx" uri="/struts-dojo-tags"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> http://www.w3.org/

Unable to cast as Filter exception

2010-06-28 Thread Kurtis Kopf
OS: Windows 7 Tomcat: 6.0.26 Struts 2.1.8.1 Java 1.6.0_20 Same software versions of all software on both my OS X machine and my Win7 machine, but when I try to start my Tomcat instance (in Eclipse) in Win7, I get the following exception: java.lang.ClassCastException: org.apache.struts2.dispatcher.

Re: How to render HTML in Form Tag Label?

2010-06-28 Thread Dale Newfield
On 6/28/10 4:16 AM, David Lu wrote: I ended up just rendering that particular checkbox myself using standard JSP and HttpServletRequest, doing things the "old fashioned" way. :) If you want the checkbox interceptor to work, you need a corresponding hidden input field...you might want to render

RE: Struts 2, Comet & WebSockets

2010-06-28 Thread Martin Gainty
TC If true, use a shared selector for servlet write/read. If not specified, the default value of true will be used. org.apache.coyote.http11.Http11NioProtocol - non blocking Java connector The NIO connector exposes all the low level socket pro

Error Message on the page source

2010-06-28 Thread Nadipally, Srikar
Hi, I am a struts 2 beginner, I have written a basic login struts application and when I inspect the page source of the welcome.jsp which is a page displayed on successful login, Iam seeing some error messages as shown below.Why am I getting such errors after successful output is shown. JBos

Struts 2, Comet & WebSockets

2010-06-28 Thread RogerV
Hi Does Struts 2 have support for (or plans for supporting) either Comet processing or HTML5 WebSockets. Googling suggests that the answer for Comet may be no, but the latest page I've found that states this, is from 2008! Regards -- View this message in context: http://old.nabble.com/Struts-

Re: How to render HTML in Form Tag Label?

2010-06-28 Thread David Lu
Hi Pawel, Thanks for the suggestion. draws a table row so one can't really put anything outside of it and still have it rendered next to the checkbox. I ended up just rendering that particular checkbox myself using standard JSP and HttpServletRequest, doing things the "old fashioned" way. :)