RE: problem in xml validation

2015-02-17 Thread Martin Gainty


 Date: Tue, 17 Feb 2015 21:07:03 +0530
 Subject: Re: problem in xml validation
 From: yaragallamur...@gmail.com
 To: user@struts.apache.org
 
 No dave. It is because in the same Action class i have a validate method.
 So in this method if validation fails it is showing inpu jsp with the
 errors.
 
 *Thanks and Regards,*
 Muralidhar Yaragalla.

MGwhere is the action java class that dave asked for?
MGif you have any backing beans..display those as well?
MGwhere is web.xml?
MGwhere is struts.xml?
MGwhere is the jsp you expect to display?

 
 *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/*
 
 On Tue, Feb 17, 2015 at 9:03 PM, Dave Newton davelnew...@gmail.com wrote:
 
  ... If you want any help, you need to provide actionable information.
 
  My first guesses are that you're either missing an `input` definition, or
  its JSP page isn't where you think it is.
 
  On Tue, Feb 17, 2015 at 10:05 AM, Yaragalla Muralidhar 
  yaragallamur...@gmail.com wrote:
 
   Hi,
   I have written AddTestAction.class and placed
   AddTestAction-validation.xml file in the same package. but the field
   validations are not happening. i have written int validators. Instead
   showing validation errors the browser is displaying page not found.  if i
   remove validation xml file everthing is working fine. what could be the
   problem?
  
   do i need to paste the code?
  
   *Thanks and Regards,*
   Muralidhar Yaragalla.
  
   *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/*
  
 
 
 
  --
  e: davelnew...@gmail.com
  m: 908-380-8699
  s: davelnewton_skype
  t: @dave_newton https://twitter.com/dave_newton
  b: Bucky Bits http://buckybits.blogspot.com/
  g: davelnewton https://github.com/davelnewton
  so: Dave Newton http://stackoverflow.com/users/438992/dave-newton
 
  

Re: problem in xml validation

2015-02-17 Thread Dave Newton
... If you want any help, you need to provide actionable information.

My first guesses are that you're either missing an `input` definition, or
its JSP page isn't where you think it is.

On Tue, Feb 17, 2015 at 10:05 AM, Yaragalla Muralidhar 
yaragallamur...@gmail.com wrote:

 Hi,
 I have written AddTestAction.class and placed
 AddTestAction-validation.xml file in the same package. but the field
 validations are not happening. i have written int validators. Instead
 showing validation errors the browser is displaying page not found.  if i
 remove validation xml file everthing is working fine. what could be the
 problem?

 do i need to paste the code?

 *Thanks and Regards,*
 Muralidhar Yaragalla.

 *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/*




-- 
e: davelnew...@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton https://twitter.com/dave_newton
b: Bucky Bits http://buckybits.blogspot.com/
g: davelnewton https://github.com/davelnewton
so: Dave Newton http://stackoverflow.com/users/438992/dave-newton


Re: problem in xml validation

2015-02-17 Thread Yaragalla Muralidhar
No dave. It is because in the same Action class i have a validate method.
So in this method if validation fails it is showing inpu jsp with the
errors.

*Thanks and Regards,*
Muralidhar Yaragalla.

*http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/*

On Tue, Feb 17, 2015 at 9:03 PM, Dave Newton davelnew...@gmail.com wrote:

 ... If you want any help, you need to provide actionable information.

 My first guesses are that you're either missing an `input` definition, or
 its JSP page isn't where you think it is.

 On Tue, Feb 17, 2015 at 10:05 AM, Yaragalla Muralidhar 
 yaragallamur...@gmail.com wrote:

  Hi,
  I have written AddTestAction.class and placed
  AddTestAction-validation.xml file in the same package. but the field
  validations are not happening. i have written int validators. Instead
  showing validation errors the browser is displaying page not found.  if i
  remove validation xml file everthing is working fine. what could be the
  problem?
 
  do i need to paste the code?
 
  *Thanks and Regards,*
  Muralidhar Yaragalla.
 
  *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/*
 



 --
 e: davelnew...@gmail.com
 m: 908-380-8699
 s: davelnewton_skype
 t: @dave_newton https://twitter.com/dave_newton
 b: Bucky Bits http://buckybits.blogspot.com/
 g: davelnewton https://github.com/davelnewton
 so: Dave Newton http://stackoverflow.com/users/438992/dave-newton