when ajax receive information which include Chinese code from action of
Struts2,ajax will show chinese code into confusion code,but if ajax receive
information which include Chinese code from jsp, ajax will show correct
Chinese code.I don't know why raise this error! How to correct it?
My code
unsubscribe [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--- red phoenix [EMAIL PROTECTED] wrote:
when ajax receive information which include Chinese
code from action of Struts2,ajax will show chinese
code into confusion code,but if ajax receive
information which include Chinese code from jsp,
ajax will show correct Chinese code.I don't know why
Hi Guys,
I have build a dynamic jsp page which need some parmeter to display the
information for instance:
http://localhost/category.jsp?cId=12
Inside this pageI've got a form which post some data to my Action. The
Action process the data and should go to my result page which need also some
--- Emmanuel JOKE [EMAIL PROTECTED] wrote:
So far I've defined the following in strust.xml
action name=addCategory
class=com.ebespoke.web.admin.action.Categories
result/admin/category.jsp/result
/action
How can I define a some paremeter to pass to a
Result page defined in Struts.xml
Hey all
Is there a way to nest s:form elements in S2? I have a nested form which
won't reach the specified action, even though it is correctly mapped. If I
move it outside of the first form it automagically starts working.
The action is mapped like:
action name=deleteMovie/*/
this is my tag:
s:doubleselect
label=Client and task
name=client
list=clients
doubleList=tasks
doubleName=selectedTask
/
this is my action:
public class ProblemPage extends ActionSupport {
Is there a way that the result of an action is a dynamically generated JSP
or FreeMarker template?
ok this is me talking to me:
the first problem of the Exception is solved (i set a list instead of set to
my class).
now my tag is so:
s:doubleselect
label=Client and task
name=client
list=clients
listKey=id
Hi,
I'm using autocomplete tag but it don't work very well. These is my
configurations:
struts.xml
package name=example extends=json-default
action name=JSONExample class=action.JSONAction
result name=success type=jsonjson.jsp/result
/action
/package
action:
Nested forms are not valid HTML.
--
James Mitchell
On Apr 28, 2007, at 12:44 PM, meeboo wrote:
Hey all
Is there a way to nest s:form elements in S2? I have a nested form
which
won't reach the specified action, even though it is correctly
mapped. If I
move it outside of the first
The json that is being generated is not understood by the autocompleter,
which it is generating is something like:
{
map : {
name: mario
}
}
in 2.6 the autocompleter doesn't accept a map as the datasource. You need
to generate something like:
{
map : [
[name, mario]
]
}
and
Hi guys,
I'm new to Struts.
I'm using Struts 1.3.8 + JBoss 4.0.5.GA + JDK 1.5.0 + Windows XP.
I have a struts-config file as show as below,
?xml version=1.0 encoding=UTF-8 ?
!DOCTYPE struts-config PUBLIC
-//Apache Software Foundation//DTD Struts Configuration 1.3//EN
Hello,
I think I get the reason -- sequence.
form-beans must be prior to global-exceptions, like servlet and
servlet-mapping.
a cup of Java, cheers!
Sha Jiang
jiangshachina wrote:
Hi guys,
I'm new to Struts.
I'm using Struts 1.3.8 + JBoss 4.0.5.GA + JDK 1.5.0 + Windows XP.
I have a
Oops, no, that wouldn't work in this case. Perhaps it would be better if
we back up for a moment: why do you need a FileInputStream specifically?
Since FIS is a 'root level' IS implementation, i.e. designed to wrap a
datasource (file) directly rather than than to augment an existing stram
The DTD specifies the order of tags. Your error message is telling you what
order they should appear in.
On 4/28/07, jiangshachina [EMAIL PROTECTED] wrote:
Hello,
I think I get the reason -- sequence.
form-beans must be prior to global-exceptions, like servlet and
servlet-mapping.
a cup of
16 matches
Mail list logo