Hi,
How do you start your project? With maven2 maybe? The xml file have to
be in the same output directory, next to compiled class. If you use
maven2, put your xml in to folder resources with the same path as for
action class.
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
i am using myeclipse for the development purpose
and putting the file in the same folderwhere action class mean .java class
is placed..
its neithergiving me any error or exception nor doing any validation
On 3/16/08, Lukasz Lenart [EMAIL PROTECTED] wrote:
Hi,
How do you start your project?
Ok, check if xml file is in WebRoot/WEB-INF/classes/path
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hi,
We have a form in c.jsp which by some event makes an ajax call fetching
b.jsp, a.jsp and rendering it. Now the requirement is that
(1) i want to get this b.jsp by calling some other action class.
(2) Once its rendered and i submit the page c.jsp the consecutive action
class should be able
stanlick wrote:
I discovered the method attribute of the s:submit / tag ignores the
validation completely!
Not only this, but it's also a potential security hole, and might be
going away or being made to require more configuration in the future.
Why are you specifying the action in the
I had been using only the method attribute on the s:submit/ tag until
discovering it was causing to water to run uphill when it came to the
validators. I started experimenting and landed on moving the method
settings over to the action on the tag. I toyed around with deferring to
the action
yes it is there in the same folder
structure is
1)WebRoot\WEB-INF\classes\TestExample-validation
where as my class file for the action is in
2)WebRoot\WEB-INF\classes\aum
and if i will put it in the aum folder it is giving error.while it is
neithergiving any error nor performing validation
--- aum strut [EMAIL PROTECTED] wrote:
structure is
1)WebRoot\WEB-INF\classes\TestExample-validation
where as my class file for the action is in
2)WebRoot\WEB-INF\classes\aum
and if i will put it in the aum folder it is giving error.while it is
neithergiving any error nor performing
Hi Dave,
As my complied action class namely TestExample.class is at the following
position
WebRoot\WEB-INF\classes\aum
and if i am putting my TestExample-validation in this folder,it is giving
following error in the console
SEVERE: Could not find action or result
No result defined for action
hi dave,
Thanks for the help.i have solved the problem,actually i was not configuring
for the input result type in the struts.xml file.
after configuring its working fine..
:)
--aum
On 3/16/08, aum strut [EMAIL PROTECTED] wrote:
Hi Dave,
As my complied action class namely
--- aum strut [EMAIL PROTECTED] wrote:
Thanks for the help.i have solved the problem,actually i was not
configuring for the input result type in the struts.xml file.
Sometimes reading the error message is actually useful!
Not always :/ But sometimes.
Dave
thats true
:)
On 3/16/08, Dave Newton [EMAIL PROTECTED] wrote:
--- aum strut [EMAIL PROTECTED] wrote:
Thanks for the help.i have solved the problem,actually i was not
configuring for the input result type in the struts.xml file.
Sometimes reading the error message is actually useful!
Is there a way to access the form object from fielderror.ftl. I need to
access the form Id.
Regards,
Néstor Boscán
you can if you use a combination of Freemarker AND dojo ..
assume you have form id=formId..
script type=text/javascript
dojo.require(dojo.event.*);
#if (parameters.formId?if_exists?size 0)
var containingForm = document.getElementById(${formId});
Anyone else?
Martin-
- Original Message
Hi all
I have set my struts.date.format properties but they seem to have no effect
at all. The set value is
struts.date.format=-MM-dd but when using the s:date tag the format is
for example Jan 14, 2008 8:00:00 AM. All my other properties take effect
so there's no problem with setting other
Thanks Jeromy!
I tried all the four solutions that youve provided..but I still have the
same problem. :)
Im still unable to get the error page for the wrong url with the scrappy
namespace in the addressbar.
If you have thought of any other solution pls let me know. I will try and
let you
Sorry I missed the normal Friday free-for-all with my Off Topic
question, but I'm hoping someone around here has already solved the
problem I'm staring at.
I am trying to pre-process a stream of HTML/XML. My first thought was
to just use SAX (with TagSoup for the HTML) and watch for the tokens I
hi all
if i want to create the url something like this, and withour .do or .action,
like REST
is smartURL the answer or we must use RESTplugins, which we know we cannot
mixed REST with current struts2 setting
i want the url like this http://localhost:8080/cimande/profile/fthamura
which
At this point I'd either
a) accept it, because it's unlikely to cause really problems or ever be
noticed by a real user. It's just scrappy
b) create a custom ActionMapper derived from the default one that
removes that feature
c) Use a plugin that does b for you
I don't use the
Frans Thamura wrote:
hi all
if i want to create the url something like this, and withour .do or .action,
like REST
URLs without the extension is possible by setting the property:
struts.action.extension=action,,
Where the double comma indicates no extension.
is smartURL the answer or
VTD-XML doesn't convert entities automatically... it perserves those
things by nature of non-extractive parsing (http://vtd-xml.sf.net)
-- Original message --
From: Chris Pratt [EMAIL PROTECTED]
Sorry I missed the normal Friday free-for-all with my Off Topic
21 matches
Mail list logo