hmm, is this question too stupid to be answered ?
On Fri, Mar 14, 2008 at 1:07 PM, Alex Shneyderman
[EMAIL PROTECTED] wrote:
I am a bit confused by how it works maybe you guys could shed some light :-)
I have a package structure and JSP pages structure that match. To be
concrete actions are
CodeBehind doesn't provide automatic index actions. Only the URL
/my/namespace/index.action maps to IndexAction
You may be thinking of the SmartURLs plugin or Convention plugin in 2.1
(or my own alpha struts2urlsplugin plugin at googlecode that was
discussed recently)
Also, the
This discussion should give you some ideas:
http://www.nabble.com/Interceptors-with-Ajax-Actions-td15706322.html
matthieu martin wrote:
Hi all.
I am handling login issue through an interceptor. Basically it looks in the
session if a user entry exists before letting you go through to the
--- aum strut [EMAIL PROTECTED] wrote:
TestExample.java. i have two files namely validators.xml
Why are you creating a validators.xml?
That aside, you don't have a grammar in the validators.xml, which is exactly
what the error message states.
Dave
Hi Dave,
Thanks for the rply..
i have already removed validators.xml
i am not sure about the two points:
1) i am only using the two fields in my input form:
namely Name and password.
the name of the action is TestExample i have created a
TestExample-validation.xml file with following contents:
--- aum strut [EMAIL PROTECTED] wrote:
what is meant by grammer not defined?? as i am not getting it.
Are you still getting the error after removing validators.xml?
If not, it probably means that the XML parser was expecting there to be an
XML grammar (like a DTD) specified in the XML file.
If
sounds as if you might possibly a Speech to Text engine you're working with?
check the referenced DTD is a valid 'grammar DTD'
http://www.w3.org/TR/2001/WD-speech-grammar-20010820/#AppB
(or post it here and we can check for you..)
Martin-
- Original Message -
From: Dave Newton [EMAIL
--- Martin Gainty [EMAIL PROTECTED] wrote:
sounds as if you might possibly a Speech to Text engine you're working
with? check the referenced DTD is a valid 'grammar DTD'
http://www.w3.org/TR/2001/WD-speech-grammar-20010820/#AppB
?!
The validators.xml didn't have a doctype with a DTD in it.
a test harness
import com.mockobjects.dynamic.C;
com.opensymphony.xwork2.ActionInvocation invocation=
(com.opensymphony.xwork2.ActionInvocation) new
Mock(com.opensymphony.xwork2.ActionInvocation.class).proxy();
org.apache.struts2.dispatcher.HttpHeaderResult result=new
I am writing what should have been the simplest three page wizard ever. It
involves a single wildcard action mapping
action name=wizard_* class=acme.action.wizard.Wizard method={1}
interceptor-ref name=starterStack
session
/interceptor-ref
result
Hi Dave,
I have removed validators.xml.
i have put the TestExample-validation.xml in the same folder where my action
is placed.
now it is not giving me any error but validation is not working at all.
belw is snap shop of my TestExample-validation.xml:
?xml version=1.0 encoding=UTF-8?
11 matches
Mail list logo