Open A New Page In the Server Side

2008-03-06 Thread chenshibing
Hi, all: I have a question to ask: is it possible to open a new browser page in the server side instead of using form.target=__blank? User submits a form then the server side codes do some validations. If the form valid, a new page is return for printing, or the original page is returned with

答复: Radio Buttons in Struts

2007-07-25 Thread chenshibing
As following: s:radio name=registration.gender list=#{'M':'Male','F':'Female'} value=%{'F'}/ Crazyreal -邮件原件- 发件人: merryba [mailto:[EMAIL PROTECTED] 发送时间: 2007年7月26日 7:13 收件人: user@struts.apache.org 主题: Radio Buttons in Struts Hi, Please I am newbie to Sruts2. I want the radio

答复: 答复: Radio Buttons in Struts

2007-07-25 Thread chenshibing
A bit strange, it does work in my test app. Crazyreal -邮件原件- 发件人: merryba [mailto:[EMAIL PROTECTED] 发送时间: 2007年7月26日 9:27 收件人: user@struts.apache.org 主题: Re: 答复: Radio Buttons in Struts It doesn't work .Still I am not getting as one of the radio buttons to be selected by default. Real

答复: [S2]struts2 validation error message problem

2007-07-17 Thread chenshibing
You should modify your bean definition, If you’re using spring 2.0.x, bean id=” AccountAction” class=”com.xxx.AcountAction” scope=”prototype” …. /bean Spring 1.xx bean id=”AccountAction” class=”com.xxxAccountAction” singleton=”false” /bean That ensure a new action

答复: [Struts 2] Tiles plugin tuto rial?

2007-07-09 Thread chenshibing
Neil: Your should extend package tiles-default and use tiles result type, as following: package name=mydefault namespace=/my extends=tiles-default action name=top/Home result name=success type=tilestiles.definition/result /action /package Package tiles-default

答复: Struts 2 displaying message from resource bundle

2007-07-03 Thread chenshibing
Actually, I didn't understand why you gave s:actionmessage .../ a key attribute. Meanwhile, you should change constant name=struts.custom.i18n.resources value=ApplicationResources.properties/ to constant name=struts.custom.i18n.resources value=ApplicationResources/ Crazyreal -邮件原件-

Struts2 xslt can't work under oc4j

2007-06-25 Thread chenshibing
Struts2 xslt can’t work under oc4j, and get the following exception: javax.xml.transform.TransformerException: XML-22101: (Fatal Error) DOMSource node as this type not supported. at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:883) at

答复: 答复: How to invoke actions in different configuration package s

2007-06-21 Thread chenshibing
Is there a way to keep all JSPs in WEB-INF/pages without moving them? On 6/21/07, chenshibing [EMAIL PROTECTED] wrote: You should add a name space for person and product package, as following: package name=person extends=struts-default namespace=/person action name=list method=execute class

答复: How to invoke actions in dif ferent configuration packages

2007-06-20 Thread chenshibing
You should add a name space for person and product package, as following: package name=person extends=struts-default namespace=/person action name=list method=execute class=personAction resultpages/persons.jsp/result /action /package package name=product