What is the exception? And if you're on Struts 1.3, you should fix your 1.2
version in the DOCTYPE.
On Thu, Mar 21, 2013 at 3:27 PM, J.V. wrote:
> I have the following struts-config.xml below (a sample from the file). I
> am well versed in well formatted XML and DTD's ( I have checked the DTD
>
What exception?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Hello, Dave:
Could you please be more specific on what logging I need to set to DEBUG
level? I am using WAS. Which console in WAS I should set the DEBUG to
true for logging in this case?
In the project I am working on, I turned on the debug flag for the project
but that is the only exception I
Have you set the logging to DEBUG level and checked the logs on startup?
Dave
On Tue, Mar 20, 2012 at 9:48 AM, joann luo wrote:
> Hello,
>
> Thanks for your quick responses.
>
> Yes. I changed the DTD definitions in all the relevant files:
>
> "-//Apache Software Foundation//DTD Struts Configu
Hello,
Thanks for your quick responses.
Yes. I changed the DTD definitions in all the relevant files:
http://jakarta.apache.org/struts/dtds/struts-config_1_3.dtd";>
http://jakarta.apache.org/struts/dtds/tiles-config_1_3.dtd"; >
http://jakarta.apache.org/commons/dtds/validator_1_3_0.dtd
Is th
Did you changed DTD definition ?
Regards
--
Łukasz http://www.lenart.org.pl/
mobile +48 606 323 122, office +27 11 0838747
Warszawa JUG conference - Confitura http://confitura.pl/
2012/3/19 joann luo :
> hello,
>
>
> I downloaded the complete Struts 1.3.10 package from
> http://struts.apache.
as Dave pointed out, letter 'f ' also not match.
-Original message-
From: Oussama Jlassi
Sent: 08/03/2012, 6:34 AM
To: user@struts.apache.org
Subject: RE: exception when running my struts jsp
i corrected struts-config.xml i put the first letter of form bean name in
upperc
i corrected struts-config.xml i put the first letter of form bean name in
uppercase
index2.jsp work but in login.jsp i got the same message
> Date: Wed, 7 Mar 2012 17:07:09 -0500
> Subject: Re: exception when running my struts jsp
> From: davelnew...@gmail.com
> To: user@strut
Your form bean name does not match the name used in the action's
configuration.
Dave
On Wednesday, March 7, 2012, Oussama Jlassi wrote:
> i use struts 1.3.10
> in tomcat 6 when i run the url all i got http 500 how to solve my problem
> localhost:8080/struts1/login.jsp i got
>
> Etat HTTP 500 -
>
Go ahead and cut-and-paste the messages here.
Dave
(pardon brevity and typos, on cell)
On Mar 7, 2012 2:46 PM, "Oussama Jlassi" wrote:
>
> i use struts 1.3.10in tomcat 6 when i run
> localhost:8080/struts1/login.jsp i gothttp://
> img15.hostingpics.net/pics/826740login.png
>
> localhost:8080/st
You should consider to use the session scope for this kind of use case
(though it could cause memory leak exception).
Aside from this is not a Struts issue
Sent from my mobile device, so please excuse typos and brevity.
Maurizio Cucchiara
Il giorno 28/nov/2011 14.25, "JOSE L MARTINEZ-AVIAL" ha
It seems that your cookie is bigger than the maximum admitted(which is 4k).
2011/11/28 Debraj Mallick
> *my action : *
>
> public class SetCookieAction extends ActionSupport implements
> ServletRequestAware, ServletResponseAware {
>
> private List ingredientBeanList;
>
> protected HttpServletRes
*my action : *
public class SetCookieAction extends ActionSupport implements
ServletRequestAware, ServletResponseAware {
private List ingredientBeanList;
protected HttpServletResponse servletResponse;
@Override
public void setServletResponse(HttpServletResponse servletResponse) {
th
I don't see any connections with Struts 2 code, could you provide more
details and the whole stack trace ?
Regards
--
Lukasz
2011/11/28 Debraj Mallick :
> hi all,
>
> i am setting cookie form action and i am getting exception :
>
> org.apache.catalina.connector.CoyoteAdapter service
> SEVERE: An
l peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
From: mgai...@hotmail.com
To: user@struts.apache.org; andy.birch...@gmail.com
Subject: RE: Exception when using Struts debug tag on Glassfish
Date: Sat, 18 Jun 2011 23:05
sion non autorisée ou la copie de ceci est
interdite. Ce message sert à l'information seulement et n'aura pas n'importe
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pou
Could you file an issue on JIRA?
Maurizio Cucchiara
Il giorno 18/giu/2011 14.41, "Andy Birchall" ha
scritto:
> Thanks, don't know why I thought 2.2.1 was the latest version, bit of
> a brain fail on my part there.
> I've tried the latest 2.2.3 and still get the same error though when
> using the
Thanks, don't know why I thought 2.2.1 was the latest version, bit of
a brain fail on my part there.
I've tried the latest 2.2.3 and still get the same error though when
using the tag :(
Andy
On 17 June 2011 01:12, Maurizio Cucchiara wrote:
> 2.2.1 is not exactly the latest version. Take a look
2.2.1 is not exactly the latest version. Take a look at
http://struts.apache.org, upgrade your S2 version and see what happens (I'm
not sure it will work, but it surely worths a try)
Maurizio Cucchiara
Il giorno 16/giu/2011 17.18, "Andy Birchall" ha
scritto:
> Hello, I am using the latest Struts
Hello,
No, the query isnt running.
What do i need to do for this,
Also i have to wait for 8 hours to see if mysql has timeout with my code in
hibernate , cannt i reduce some values in hibernate.cfg.xml and test.
Can some one post the relevant sections of hte config file,
pl advice, i am now approa
No, i havent setup logs, but apparently it is not running else there would
have been no exception message.
Hey, can you guide me to the correct setup, i have asked this on hibernate
forumns but apparently they are slow in replying , no response yet,
Pl. help
thanks
abhishek
On Sun, Mar 6, 2011 a
Have u set up you logs to verify that your 'select 1' query is
actually being run?
On Saturday, March 5, 2011, Dave Newton wrote:
> If this question is related to hibernate it'd be more efficient and
> appropriate to ask on a hibernate-related list probably.
>
> Dave
> On Mar 5, 2011 3:32 AM, "a
If this question is related to hibernate it'd be more efficient and
appropriate to ask on a hibernate-related list probably.
Dave
On Mar 5, 2011 3:32 AM, "abhishek jain" wrote:
> hi,
> thanks for the mail,
> i tried this but the problem still persists, i added the context.xml file
in
> META-INF
hi,
thanks for the mail,
i tried this but the problem still persists, i added the context.xml file in
META-INF and the database information was not being picked from there.
Also i added the connect-timeout parameter in my.cnf file in the mysqld
section, but still the the timeout was after 8 hours o
I struggled with this issue for a long period, at the end I reached a
good point: I started using database connection pools [1].
Actually you should wait until the mysql connection dies (it should be
after 8 hours of db inactivity ), but you could change the
connect-timeout=seconds [2] in order to
hi,
this didnt solved, i created a file c3po.properties with the mentioned
property and it didnt solved.
also i have to wait a day for the error message, is there a way where i can
reduce this time during test?
thanks
abhi
On Sat, Feb 26, 2011 at 12:32 AM, Burton Rhodes wrote:
> I recall having
I recall having a similiar issue when moving to MySQL from MSSQL. I
solved it by adding c3po.properties file to the classpath with the
text below. It kept the connection alive with the database.
# This property corresponds to the query run defined by the
"hibernate.c3p0.idle_test_period" value
c
Hi,
Yup I faced this problem before and flush to Hibernate group.They have
suggested me some solution based on my mapping xml fleWhy don't u send
me that mapping xml and let me compare with mine.Actually Even though it
look like Server error,its more to do with hibernate Please feel
Ok I stumbled upon this post facing the same problem, with 404 error jsp page
not loading via the servlet filter for ATG. I can hit the page directly
though but not via the 404 redirect. The solution is to add this to your
web.xml:
PageFilter
*.jsp
REQUEST
FOR
Thank you Lenart, Its working after making the change you said.
On 3 April 2010 14:05, Lukasz Lenart wrote:
> 2010/4/2 sandeep kotha :
> > In-spite of having *struts2-core-2.1.8.1.jar *under
> > /WebContent/WEB-INF/lib/struts-2.1.8.1/ . im getting the below error .
>
> Is that /WEB-INF/lib/strut
2010/4/2 sandeep kotha :
> In-spite of having *struts2-core-2.1.8.1.jar *under
> /WebContent/WEB-INF/lib/struts-2.1.8.1/ . im getting the below error .
Is that /WEB-INF/lib/struts-2.1.8.1/ a directory ???
^
If so, your jars cannot be found, move them to
I discovered this last night :)
thanks for your help!!
msbrogli
On Oct 22, 2009, at 10:57 PM, Steven Yang wrote:
actually you dont need to do that
i only do
action:
private Set email;
public void setEmail(Set email) {
this.email = email;
}
jsp:
...
then struts will populate it for me
actually you dont need to do that
i only do
action:
private Set email;
public void setEmail(Set email) {
this.email = email;
}
jsp:
...
then struts will populate it for me
On Thu, Oct 22, 2009 at 1:12 PM, Marcelo Salhab Brogliato <
msbro...@vialink.com.br> wrote:
> Hi Steven,
> I know tha
Hi Steven,
I know that Set usually don't have orders.
But how do I fill my set?
I tried email[0] because I implemented this setter: void setEmail(int
index, String email), and it just ignored index.
It was a test.
thanks,
msbrogli
On Oct 22, 2009, at 2:56 AM, Steven Yang wrote:
Set usually
Set usually dont have orders unless specifically implemented forif you need
to preserver order then use List
then email[0] will work
On Thu, Oct 22, 2009 at 12:38 PM, Marcelo Salhab Brogliato <
msbro...@vialink.com.br> wrote:
> I made some tests in a very simple application now and I got this res
I made some tests in a very simple application now and I got this
results:
Will add these emails to my set.
But how can I access the first one?
I'm trying this:
But this is not evaluating attribute value. Why?
I tried: mystringset.toArray()[0] but it also didn't work.
thanks!
msbrogli
2009/7/18 mathias-ewald :
> float average =
> (Float)ActionContext.getContext().getValueStack().findValue("#average");
This can be an issue - autoboxing ;-)
Regards
--
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl/
Ted Turner - "Sports is like a war without the
2009/7/14 jayadevan :
> i am using struts 1 in my project . when i sart tomcat i got the following
> exception
> Jul 14, 2009 10:39:05 AM org.apache.catalina.core.ApplicationDispatcher
> invoke
> SEVERE: Allocate exception for servlet action
> java.lang.NoClassDefFoundError: org/apache/commons/dige
Hi Terry,
My struts.xml looks like this :
405
The requested method is unsupported
/JSPPages/Exception.jsp
/JSPPages/LoginPage.jsp
2009/4/27 NR031 :
> I am using Struts 2.0.11 and NetBeans 6.1. Is there any way to handle
> exception in Struts 2?
Just define global result and put entries for given exceptions in
struts.xml, like below
405
The requested method is
unsupport
Can you be a little more clear about your ask? Using the examples in
the given URL, are you asking about:
1. How to code exception.jsp?
2. How to code SQLExceptionAction.java?
3. What is on the ValueStack in these examples and an Exception occurs?
4. something else?
On Apr 27, 2009, at 4:34 AM
Hi:
you can find this java source file translated from jsp in you
%catalina_home%/work/youAppcontext/org/**/org.apache.jsp.pages.CPFA_005fMensuel.saisi_005fajustement.ajust_005fcpe1_jsp._jspService(ajust_005fcpe1_jsp.java
then you can find error line 498 ;
or you can debug your app while start
In addition to Musachy's response, I'd add that normally it's reasonable
to include a bit more information that "I get the null pointer
exception", like *where* the exception is occuring.
Dave
Security Management wrote:
Struts 2.1, every time the LoggedInInterceptor runs, I get the null point
An action that is an interceptor? That won't end well. Making the
interceptor implement SessionAware won't work. You can get access to
the session in the interceptor using:
ActionContext.getContext().getSession();
musachy
On Thu, Feb 19, 2009 at 3:23 PM, Security Management
wrote:
> Struts 2.1
Hi Lalchandra ,
i debuggued all the properties values, and found the one that caused a null
pointer exception
now i have got an other pb,
here is the exception
:
javax.servlet.jsp.JspException: Cannot find bean dernierCpeEmporte in any
scope
at org.apache.struts.taglib.TagUtils.lookup(TagUtils.
Can you be more specific as to when the error occurs.
Saludos
Lalchandra Rampersaud
- Original Message -
From: "elyes sallem"
To: "Struts Users Mailing List"
Sent: Wednesday, February 18, 2009 7:41 AM
Subject: exception in jsp file
Hello,
i m developping a web application wit
hi, do you have a jsp called:
ajust_005fcpe1.jsp in your project?
it looks like a null pointer on this jsp
take a look at tomcat/work/../yourApp where all the jsp's should
be dropped as a java class.. then you should see where the null pointer came from.
ben
elyes sallem wrote:
Hello,
i
I don't remember any discussion about it.
musachy
On Wed, Jan 28, 2009 at 4:19 PM, Sergio Gelato
wrote:
> * Andy [2009-01-28 09:48:12 -0600]:
>>
>> fyi I had to add commons-fileupload to my classpath only after upgrading to
>> 2.1.6 from 2.0.14.. Before the upgrade it wasnt required.
>
> Same
* Andy [2009-01-28 09:48:12 -0600]:
>
> fyi I had to add commons-fileupload to my classpath only after upgrading to
> 2.1.6 from 2.0.14.. Before the upgrade it wasnt required.
Same here. If the change is intentional, then someone should update
http://struts.apache.org/2.1.6/docs/simple-
fyi I had to add commons-fileupload to my classpath only after upgrading to
2.1.6 from 2.0.14.. Before the upgrade it wasnt required.
> Date: Tue, 27 Jan 2009 23:11:40 -0500> From: newton.d...@yahoo.com> To:
> user@struts.apache.org> Subject: Re: Exception while upgrading from
dusty wrote:
You are likely using a full interceptor stack that includes the FileUpload
interceptor. You should be able to exclude that interceptor from your stack
to remove that dependency.
I don't think so; S2 will fail on startup if the default (or configured)
file upload bean can't be ins
You are likely using a full interceptor stack that includes the FileUpload
interceptor. You should be able to exclude that interceptor from your stack
to remove that dependency.
ManiKanta G-2 wrote:
>
>>
>> http://struts.apache.org/2.x/docs/file-upload.html
>>
>>
> Well I m not using any file
>
> http://struts.apache.org/2.x/docs/file-upload.html
>
>
Well I m not using any file upload... it is simple HelloWorld application.
ManiKanta
http://struts.apache.org/2.x/docs/file-upload.html
ManiKanta G wrote:
Hi,
Today I've upgraded my application from 2.0.11 to 2.1.6, and I've added only
the 5 basic libraries (commons-logging-1.0.4.jar, freemarker-2.3.13.jar,
ognl-2.6.11.jar, struts2-core-2.1.6.jar, xwork-2.1.2.jar) required for
the database. The point I was
> trying to make was to use the PRG pattern.
>
>
>
>
>> Date: Mon, 19 Jan 2009 03:27:57 -0800
>> From: ga...@prodia.co.uk
>> To: user@struts.apache.org
>> Subject: RE: exception handling
>>
>>
>> I must be
pache.org
> Subject: RE: exception handling
>
>
> I must be misunderstanding something, is that not what I am already doing my
> chaining to another action?
>
>
>
> Andy Hahn wrote:
> >
> > Regarding to the first responder - you could take this a step furt
; After Post).
>
>
>
>
>> Date: Sun, 18 Jan 2009 06:24:24 -0800
>> From: ga...@prodia.co.uk
>> To: user@struts.apache.org
>> Subject: Re: exception handling
>>
>>
>> I know this is slightly different from the way you are trying it but this
>
18 Jan 2009 06:24:24 -0800
> From: ga...@prodia.co.uk
> To: user@struts.apache.org
> Subject: Re: exception handling
>
>
> I know this is slightly different from the way you are trying it but this is
> the way I am currently doing it is:
>
> <global-exception-mappi
I know this is slightly different from the way you are trying it but this is
the way I am currently doing it is:
I have the same problem using Sun Java System Application Server 9.1_02
Any suggestion to solve this problem?
Torsten Krah wrote:
>
> Am Mittwoch, 13. August 2008 09:47:07 schrieb Nils-Helge Garli Hegvik:
>> Which server are you running?
>
> This does happen on JBoss 4.0.5 with Tomcat 5.5.20
Hi
No it does not work as exception is thrown. I can't understand how it
doesn't work as I have followed the example from site.
Cheers
Amin
On 18 Dec 2008, at 19:26, "Musachy Barroso" wrote:
Is it working even with the exception? This result is a little bit
different, as it take as param
Is it working even with the exception? This result is a little bit
different, as it take as parameters, not only its own parameters, but
parameters passed to the redirect, so OGNL will complain about it
because those fields are not defined in the result class.
musachy
On Thu, Dec 18, 2008 at 2:23
Hi
Thanks for your response:
Please find below my CreateContactAction class:
@SuppressWarnings("serial")
@Namespace(value="/")
@Results({
@Result(name="success", value="viewContact", params= {"actionName",
"viewContact","contactId","${contactId}", "contactType","$
{contactType}"}, type=Serv
OGNL tries all elements on the stack until it finds a match, so it
would probably try the result as well. Could you show the code of your
source and destination actions?
Nils-H
On Thu, Dec 18, 2008 at 12:15 AM, Amin Mohammed-Coleman
wrote:
> Hi
>
> The both actions have the relevant getters and
Hi
The both actions have the relevant getters and setters. It seems as
though the actionName is being ignored and the action that the result
thinks should go to is ServletActionRedirectResult.
Cheers
On 17 Dec 2008, at 22:35, Nils-Helge Garli Hegvik wrote:
Does the action you're redire
Does the action you're redirecting from (not to) have the relevant getters?
Nils-H
On Wed, Dec 17, 2008 at 11:26 PM, Amin Mohammed-Coleman
wrote:
> Hi
>
> The ServletActionRedirectResult doesn;t have a contactId setter as this is
> Struts class. The ViewContact action has the relevant setters.
Hi
The ServletActionRedirectResult doesn;t have a contactId setter as
this is Struts class. The ViewContact action has the relevant setters.
Cheers
On 17 Dec 2008, at 22:16, Oscar Alvarez wrote:
2008/12/17 Amin Mohammed-Coleman
Hi
Sorry for sending this again, but I was wondering if
2008/12/17 Amin Mohammed-Coleman
> Hi
>
> Sorry for sending this again, but I was wondering if someone might be able
> to help?
>
>
> Thanks
>
> Begin forwarded message:
>
> From: Amin Mohammed-Coleman
>> Date: 24 November 2008 16:50:50 GMT
>> To: user-h...@struts-apache.org
>> Subject: Excepti
Hi
I do apologise, I didn't mean to send it three times. My email
program was doing some funny things and I thought that the email was
not sent.
The exception is thrown and fails to work.
Sorry again!
On 28 Nov 2008, at 20:34, Dave Newton wrote:
Sorry to be sending this again but I wa
Hi
Yes I do have these in the ViewContact action
Cheers
Paweł Wielgus wrote:
>
> Hi Amin,
> do You have:
> - getContactId()
> - getContactType()
> public methods in this action?
>
> Best greetings,
> Paweł Wielgus.
>
> 2008/11/27 amin1977 <[EMAIL PROTECTED]>:
>>
>> Hi
>>
>> I am trying to
Hi Amin,
do You have:
- getContactId()
- getContactType()
public methods in this action?
Best greetings,
Paweł Wielgus.
2008/11/27 amin1977 <[EMAIL PROTECTED]>:
>
> Hi
>
> I am trying to redirect the success of an action to another action using the
> following:
>
> @Results({
> @Result(name="succ
Am Mittwoch, 13. August 2008 09:47:07 schrieb Nils-Helge Garli Hegvik:
> Which server are you running?
This does happen on JBoss 4.0.5 with Tomcat 5.5.20 (Liferay 5.x)
And this does happen too on Pluto 1.1.5 with Tomcat 6.0.13.
--
Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.
Siehe h
It might be related to these two issues:
https://issues.apache.org/struts/browse/WW-2509
https://issues.apache.org/struts/browse/WW-2523
Which server are you running?
Nils-H
On 8/12/08, Torsten Krah <[EMAIL PROTECTED]> wrote:
> Undeploying a struts2 webapp and deregister the portlets does resul
? That's
what I originally assumed would happen.
Thanks, Dave.
~Dan
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 22, 2008 3:47 PM
To: Struts Users Mailing List
Subject: Re: Exception like a missing JAR, but I think I have them all
--- "Allen,
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 22, 2008 3:47 PM
To: Struts Users Mailing List
Subject: Re: Exception like a missing JAR, but I think I have them all
--- "Allen, Daniel" <[EMAIL PROTECTED]> wrote:
> When I try to start up my Struts 2/Spring pro
--- "Allen, Daniel" <[EMAIL PROTECTED]> wrote:
> When I try to start up my Struts 2/Spring project, I get an exception
> about a missing class, which makes me think I have a missing JAR, but I
> can't find mention of anything that isn't already in my build. Could
> anyone take a look, perhaps?
>
>
hi all,
As far as concern with the .jar files
both the jars are there in the lib folderas moreover there is only one
application deployed in the container with which i m working.
can u just clear me about the point regarding opensymphony URI in web.xml.
--aum
On 3/21/08, manjunathmn <[EMAIL PR
Hi,
Please make sure that the you are placing the xwor2 jar in lib folder
and not in Referenced Lib package(if u r using MyEclipse IDE) and specifiy
the opensymphony URI in web.xml.
Thanks.
aum strut wrote:
>
> Hi All,
>
> i am running an application, everythingis working fineappli
I'm surprised the application is even serving requests with an exception
starting the filter, and since the cause seems to be a missing OGNL jar,
OGNL expressions presumably wouldn't be working anyhow.
Check that the error really is coming from the application you're
testing, not another one d
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
--- 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
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 "TestExamp
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
--- 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 per
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 when
Ok, check if xml file is in WebRoot/WEB-INF/classes/
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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 proje
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
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:
http://www.opensymphony.com/xwork/xwork-
--- 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
Dave Newton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Saturday, March 15, 2008 1:08 PM
Subject: Re: Exception in Validation
> --- aum strut <[EMAIL PROTECTED]> wrote:
> > TestExample.java. i have two files namely validators.xml
>
> Wh
--- 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.
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:
> 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
-
/ExceptionMappingInterceptor.html
For example, in my case, it is a global exception:
Hope it helps,
Jeremy
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 22, 2007 8:33 PM
To: Struts Users Mailing List
Subject: Re: Exception Handling keeping user input
pond
M--
- Original Message -
From: "Adam Hardy" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Saturday, December 22, 2007 2:32 PM
Subject: Re: Exception Handling keeping user input
Jeremy,
how do you control which result is chosen?
Adam
Jeremy JG
age -
From: "Adam Hardy" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Saturday, December 22, 2007 2:32 PM
Subject: Re: Exception Handling keeping user input
> Jeremy,
> how do you control which result is chosen?
>
> Adam
>
> Jeremy JGR. Grum
mbach [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 19, 2007 10:28 AM
To: Struts Users Mailing List
Subject: RE: Exception Handling keeping user input
Yes I think it's more what I had in mind. My three requests were:
1) Go back to the "add" page without losing user input
2)
I will post the results of my investigation here (and I hope I will have
something to post :))
Thanks!
Jeremy
-Original Message-
From: Gary Affonso [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 19, 2007 12:06 AM
To: Struts Users Mailing List
Subject: Re: Exception Handling keeping
(and I hope I will have
something to post :))
Thanks!
Jeremy
-Original Message-
From: Gary Affonso [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 19, 2007 12:06 AM
To: Struts Users Mailing List
Subject: Re: Exception Handling keeping user input
Jeremy JGR. Grumbach wrote:
>
1 - 100 of 257 matches
Mail list logo