RE: bean:message in bean:define tag

2003-09-01 Thread Nagendra Kumar O V S








  okay,
  u got to upgrade to struts1.1 to make that working.
  struts1.0 does't any solution ur problem
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Monday, September 
  01, 2003 06:22:50 PM
  To: 'Struts Users Mailing 
  List'; 'Nagendra Kumar O V 
  S'
  Subject: RE: 
  bean:message in bean:define tag
   Hi Nagendra,If we use this then error occurs , 
  message is:javax.servlet.ServletException: Body is supposed to be 
  empty forbean:define-Original Message-----From: 
  Nagendra Kumar O V S [mailto:[EMAIL PROTECTED]]Sent: 
  Monday, September 01, 2003 6:20 PMTo: [EMAIL PROTECTED]Subject: 
  Re: bean:message in bean:define tagHI,---Original 
  Message---From: Struts Users Mailing ListDate: Monday, 
  September 01, 2003 06:04:31 PMTo: [EMAIL PROTECTED]Subject: 
  bean:message in bean:define tagHi All,I am using the code 
  snippet given below to define a variable forwhich thevalue is 
  coming from property file by 
  key'home.mouseover.runbutton.caption'.But when i try to display 
  ths jsp containing this snippet , i getjavascript error as struts 
  doesn't compile 
  "key=home.mouseover.runbutton.caption/>" and assign 
  this stringliteral as itis to the defined variable.Please 
  let me know what can be done to assign the actual value 
  inpropertyfile to runcapt variable.jsp 
  pageproperty 
  file==home.mouseover.runbutton.caption = Run 
  Search=Thanks in advanceShailesh 
  Modi-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].IncrediMail 
  - Email has finally evolved - Click Here





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: bean:message in bean:define tag

2003-09-01 Thread Nagendra Kumar O V S








  HI,
   
  
      
  
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Monday, September 
  01, 2003 06:04:31 PM
  To: [EMAIL PROTECTED]
  Subject: bean:message 
  in bean:define tag
   Hi All,I am using the code snippet given below to 
  define a variable for which thevalue is coming from property file by 
  key'home.mouseover.runbutton.caption'.But when i try to display 
  ths jsp containing this snippet , i get javascript error as struts 
  doesn't compile 
  "key=home.mouseover.runbutton.caption/>" and assign 
  this string literal as itis to the defined variable.Please let 
  me know what can be done to assign the actual value in propertyfile to 
  runcapt variable.jsp pageproperty 
  file==home.mouseover.runbutton.caption = Run 
  Search=Thanks in advanceShailesh 
  Modi-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Purpose of Validation framework

2003-08-28 Thread Nagendra Kumar O V S








  validator framework aims at declarative type of giving the 
  validations in the validator.xml. it also does the server-side validations 
  for U. validator framework is v extensible ,u can create u own 
  validations!
   
  these r only few of good on validator. u will luv it as u use 
it
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Thursday, August 
  28, 2003 11:49:17 AM
  To: [EMAIL PROTECTED]
  Subject: Purpose of 
  Validation framework
   Hi,If the validation framework also provides only 
  _javascript_ validation, whatuse is it of actually 
  ?-Madhu 
  NairMember of Technical Staff,Persistent Systems Private 
  Limited,Pune 411016 INDIA.Tel: +91-20-5678900 Ext: 
  335-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: bean:write usage

2003-08-27 Thread Nagendra Kumar O V S








  hi,
  i really did't get ur Q.
  but if u want to avoid using name attribute,u can use nested tags 
  that takes the action form binded with the html:form
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Wednesday, August 
  27, 2003 08:51:00 PM
  To: Struts Users Mailing 
  List
  Subject: bean:write 
  usage
   Hi,I have a form where I display some "static" 
  fields ...the values of those fields are located in my 
  actionForm,if I use the bean:write tag I need to give the name of the 
  action form in myjsp fileIs it possible to avoid that 
  ?Regards,Michel Van 
  Asten-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



RE: J2EE IDE

2003-08-27 Thread Nagendra Kumar O V S








  +1 again for IDEA
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Wednesday, August 
  27, 2003 08:34:54 PM
  To: 'Struts Users Mailing 
  List'
  Subject: RE: J2EE 
  IDE
   +1 for IDEAeasy to start with as compared to 
  Eclipse,rest of all is also too Easy, very helpfulgreat features, 
  refactoring , shortcuts, keymaps, templatesPreforce external tools, 
  you dont have to leave IDEA to do any extra work,everything could be 
  configured in IDEAall of this and much moreleads to 
  productivityPanchasheel-Original Message-From: 
  Mainguy, Mike [mailto:[EMAIL PROTECTED]]Sent: 
  Wednesday, August 27, 2003 10:47 AMTo: 'Struts Users Mailing List'; 
  '[EMAIL PROTECTED]'Subject: 
  RE: J2EE IDEI would have said netbeans a year ago, but now I'm 
  an eclipse 2 (2.1) fan.Haven't tried any recent (last 6 months) IDEs 
  other than eclipse.-Original Message-From: Greg Reddin 
  [mailto:[EMAIL PROTECTED]] 
  Sent: Wednesday, August 27, 2003 5:09 AMTo: Struts Users Mailing 
  ListSubject: Re: J2EE IDE+1 on NetBeans although I've not used 
  Eclipse. I tend to stop looking when I find something that 
  works.However, I find that 90% of the time it's quicker for me to 
  just use vi and Ant. I use NetBeans for debugging though. And if I'm 
  forced to use Windows for my development I'll immediately install 
  NetBeans.GregMick Wever wrote:> Looks like another 
  IDE war coming on :-)> > You need to check out them out 
  yourself.> As you will no doubt soon see, > each of us have 
  different likes and requirements.> > NetBeans is known for 
  its outstanding > GUI (Form) editor and JSP editing.> It 
  also has excellent support for CVS and Ant integration.> While 
  Eclipse is very good at refactoring.> > I prefer to use 
  NetBeans as it suits more for the power user.> You can change just 
  about anything under its hood from within the IDE.> At my new job 
  they were all using JDeveloper, a commercial product, and> it only 
  took me 3 weeks to convert all of them to NetBeans.> NetBeans now 
  has some nice features in it's suggestion module> that will 
  automatically fix code for you, examples are:> - missing javadoc 
  tags,> - missing import statements,> - missing object 
  castings,> - and more...> I find it just heaven when an IDE 
  fixes your code for you before you have> even compiled it.> 
  I don't like Eclipse because it is not all written in java. It is> 
  written in a mixture of languages and therefore cannot run on all> 
  platforms. You also cannot use the different Look&Feels that are out 
  there> for java. > > Eclipse is also very short on 
  features compared to NetBeans.> This abundance of features can 
  (naturally) slow it down, make sure to turn> off all the features 
  you won't be using after you have given them a test> run.> 
  > Again, find out your requirements, and try them all out 
  :)> Mick.DISCLAIMER:This email message is for 
  the sole use of the intended recipient(s) and maycontain confidential 
  and privileged information. Any unauthorized review,use, disclosure or 
  distribution is prohibited. If you are not the intendedrecipient, 
  please contact the sender by reply email and destroy all copiesof the 
  original message and 
  attachments.-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED]This 
  message and its contents (to include attachments) are the property 
  ofKmart Corporation (Kmart) and may contain confidential and 
  proprietaryinformation. You are hereby notified that any disclosure, 
  copying, ordistribution of this message, or the taking of any action 
  based oninformation contained herein is strictly prohibited. 
  Unauthorized use ofinformation contained herein may subject you to 
  civil and criminalprosecution and penalties. If you are not the 
  intended recipient, you shoulddelete this message 
  immediately.-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED]-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Nested Tags

2003-08-27 Thread Nagendra Kumar O V S








  hi,
  jsp compiler doest the nesting of such type
  u need to define it as var and give it  to the bean:write like 
  this
  
      
  
   
  tempArray[0] = -- nagi
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Wednesday, August 
  27, 2003 08:17:08 PM
  To: Struts (E-mail)
  Subject: Nested 
  Tags
   Hi everyone,I have a problem using a Tag for the 
  property of another tag. Isn't that 
  possible?Example:tempArray[0] = " />;When I do that, I get 
  the following error:ERROR 2003-08-27 17:35:06,546 
  standish.charm.web.ErrorAction - Error details and stack trace: 
  javax.servlet.ServletException: No getter method for property 
   of bean dataat 
  org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:533)at 
  org.apache.jsp.data_jsp._jspService(data_jsp.java:415)at 
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:853)at 
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)at 
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)at 
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:853)at 
  org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)at 
  org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)at 
  org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)at 
  org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1759)at 
  org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)at 
  org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:760)at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:853)at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)at 
  standish.charm.web.FlowFilter.doFilter(Unknown Source)at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)at 
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)at 
  org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)at 
  org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)at 
  org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:551)at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)at 
  org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)at 
  org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)at 
  org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)at 
  org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)at 
  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)at 
  org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)at 
  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)at 
  org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)at 
  org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)at 
  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)at 
  org.apache.coyote

Re: Validator and DispatchAction

2003-08-27 Thread Nagendra Kumar O V S








  hi
  validator has nothing to do with Dispatch action.
  paste ur code here if possible to trace ur problem
   
  --nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Wednesday, August 
  27, 2003 08:00:18 PM
  To: [EMAIL PROTECTED]
  Subject: Validator and 
  DispatchAction
   Has anybody been successful using validator framework 
  withDispatchAction? Please let me know. I am getting 
  "NoSuchMethodFound"error. Please 
  reply.TIA,Venkat-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



[OT]cryptography

2003-08-26 Thread Nagendra Kumar O V S








   
   hi,
  whats the best algorithm to store credit card numbers in to the 
  database.?
  i am palnning to use PBE based, just to avoid the storage of 
  key.
  what r the pros & cons??
   
  TIA
   
  -nagi
   
  Nagendra Kumar O V S
  Member Technical Staff
  ikigo
  470-B, Road No. 36,
  Jubilee Hills,
  Hyderabad 500033
  +91-40-23544671
  +91-98482-41789





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Problems with: cannot find bean under name concesiones

2003-08-25 Thread Nagendra Kumar O V S








  hi,
  that should possibly be a problem with MS explorer 6.0 session 
  
  put that in to the request rather than session and try again... u can 
  get the culprit
   
  -- nagi
   
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Monday, August 
  25, 2003 03:23:38 PM
  To: [EMAIL PROTECTED]
  Subject: Problems with: 
  cannot find bean under name concesiones
   I obtain the folowing error to access a my JSP Page. Only 
  if i use Internet Explorer 6.0.2 in Windows 
  XP"javax.servlet.jsp.JspException: cannot find bean under name 
  concesiones"My JSP: 
   Seleccione Concesion 
 
  My ACTION:ArrayList concesiones = new 
  ArrayList();HttpSession sessionActual = 
  request.getSession();sessionActual.setAttribute("concesiones",(ArrayList) 
  concesiones);Any solution? Why only in Internet explorer 6, in 
  5.5 or Netscape 7 works!!





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: bnot able to display error messages

2003-08-25 Thread Nagendra Kumar O V S








  hi,
  pl check..
  do u have dashboard defined in the application resources??
  do u have the "input" attribute defined for the corresponding action 
  mapping??
   
  -- nagi
   
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Monday, August 
  25, 2003 03:16:58 PM
  To: Struts Users Mailing 
  List
  Subject: bnot able to 
  display error messages
   HiI have some problems displaying errors in the jsp 
  page.In the action class, I am have the following codecatch 
  (Exception exception) {errors.add("dashboard",new 
  ActionError("dashboard","errorfetching dashboard 
  valueobject"));saveErrors(request, errors);forwardValue = 
  mapping.findForward("failure");return forwardValue;}And in 
  the jsp page i am trying to print out the errors by 
  putting tag so that it displays all the errors 
  that aresaved.But the page is not displaying any errors.Please 
  helpRegdsMonojit





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Missing images & style sheet in welcome file

2003-08-25 Thread Nagendra Kumar O V S








  hi,
  have u looked in to the the final url after the page is 
  rendered.??
  have u tried using the  in ur jsp??
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Monday, August 
  25, 2003 12:12:56 PM
  To: 'Struts Users Mailing 
  List'
  Subject: Missing images 
  & style sheet in welcome file
   Hi,In my web application (using struts), I have 
  login.jsp as welcome file.I've defined the welcome file in web.xml 
  as 
  follows:/jsp/login.jspAnd 
  in login.jsp, I'm using relative path to load images and style 
  sheet.My directory structure is as 
  follows:---web||--css||--jsp||--images||--WEB-INFlogin.jsp 
  is located in /web/jsp folder.In login.jsp, I'm including style 
  sheet as follows:"../css/style.css" --> the style sheet is 
  located in /web/css folder.Now, when I browse 
  http://localhost:8080/myApp, login.jsp is displayed as welcome page, but 
  the style sheet is not found. Same is the case with images on login.jsp. 
  (this problem is occurring on Linux)But when I use http://localhost:8080/myApp/jsp/login.jsp, 
  then it is displaying everything perfectly.And 
  http://localhost:8080/myApp displays the login page correctly on 
  Windows.Any idea what could be the problem? 
Sriram





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Why write javascript in validation.xml file

2003-08-20 Thread Nagendra Kumar O V S








  hi madhu,
  validator framework is used for both client as well as server side 
  validations. _javascript_ for client side and java method class for the 
  server side. 
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Thursday, August 
  21, 2003 11:09:45 AM
  To: Struts Users Mailing 
  List
  Subject: Why write 
  _javascript_ in validation.xml file
   Hi,I am slightly confused on the use of the 
  validation.xml file. If you canspecify the java class to do the 
  validation, why is there an option ofentering _javascript_ also to do 
  the 
  validation?Regards,Madhu-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



[OT] ssl connection

2003-08-19 Thread Nagendra Kumar O V S








  hi,
  help me...
   
  i have configured SSL on weblogic 7.0 using the demo cert and its 
  working fine. now i need to make a connection to 3rd party credit card 
  validator URL from my session bean and get the response. how do i do this. 
  i have tried using HttpsURLConnection and its failing in the handshake. i 
  am not sure what's required. as i am already in the https, how can i make 
  a connection to another server. do we have provide the weblogic 
  credentials to the 3rd party. if yes, how
  i am using HttpURLconnection and it giving 
  java.io.IOException: Write Channel Closed, possible SSL handshaking 
  or trust failure
  any ideas??
   TIA
   
   
  Nagendra Kumar O V S
  Member Technical Staff
  ikigo
  470-B, Road No. 36,
  Jubilee Hills,
  Hyderabad 500033
  +91-40-23544671
  +91-98482-41789





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



[OT]SSL Connection

2003-08-18 Thread Nagendra Kumar O V S








   
   hi,
  can anyone help me on this?
  i have configured SSL on weblogic 7.0 using the demo cert and its 
  working fine. now i need to make a connection to 3rd party credit card 
  validator URL from my session bean and get the response. how do i do this. 
  i have tried using HttpsURLConnection and its failing in the handshake. i 
  am not sure what's required. as i am already in the https, how can i make 
  a connection to another server. do we have provide the weblogic 
  credentials to the 3rd party. if yes, how??
   
  TIA
  -- nagi
   
  Nagendra Kumar O V S
  Member Technical Staff
  ikigo
  470-B, Road No. 36,
  Jubilee Hills,
  Hyderabad 500033
  +91-40-23544671
  +91-98482-41789





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: / /OREF:CPT9BF02 Servlet Error: net.msl.stackdates.web.Carrier: java.lang.ClassCastException: net.msl.stackdates.web.Carrier

2003-08-14 Thread Nagendra Kumar O V S








  hi,
  the type attribute in the iterate should be Fully qualified Java 
  class name of the carrier(i.e, exposed by the id attribute)..
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, August 
  05, 2003 04:09:07 PM
  To: [EMAIL PROTECTED]
  Subject: / 
  /OREF:CPT9BF02 Servlet Error: net.msl.stackdates.web.Carrier: 
  java.lang.ClassCastException: net.msl.stackdates.web.Carrier
   I have a bean that's an arraylist that contains Carrier 
  objects. I'mtrying to access the name property on the Carrier object 
  but keepgetting the above error.I've tried nested:iterate but with 
  no luck - keep getting a nullpointer 
  exception."java.util.ArrayList" 
  scope="application">face="Verdana">BLAH...face="Verdana">BLAHHelp 
  will really be 
  appreciated...Tx-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: How to maintain data b/w pages?

2003-08-14 Thread Nagendra Kumar O V S








  hi,
  generally in the wizard kind, use session scope for the action_form , 
  u dont have to save them as the hidden fields.if any form element has a 
  value in the corresponding action form,struts will render that value. 
  
   
  u can multiple actionclasses but use only one action form in session 
  scope for all the wizard jsps
   
  -- nagi
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Wednesday, August 
  13, 2003 02:08:30 PM
  To: [EMAIL PROTECTED]
  Subject: How to 
  maintain data b/w pages?
   Hi,I have a wizard to add objects, each wizard screen 
  hasback/next/cancel/finish buttons.There is one ActionForm class, 
  and several action classes, correspondingto each screen. The action 
  classes extend LookupDispatchAction.My problem is that the data is 
  not maintained between the pages, i.e.enter data on a page, click 
  next, and then click back. The data enteredon the page is 
  lost.I could solve it partially by keeping the String data in 
  html:hiddentags in my jsp pages. But, how can I keep the data whose 
  get methodreturns an array of string or HashMap. html:hidden tags do 
  not work inthat case.Is there any other way to do 
  so?Thanks,Swati-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Simple (?) display problem

2003-08-14 Thread Nagendra Kumar O V S








  hello,
  have u tried using 
  
   
  -- nagi
   
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Wednesday, August 
  06, 2003 04:09:07 PM
  To: [EMAIL PROTECTED]
  Subject: Simple (?) 
  display problem
   I've build a wizard-style application which gathers the 
  information I wantfrom the client. The wizard goes through two 
  information-collecting stepsand validates the input. So far no 
  problem.What i've been trying to achive the past day is to display a 
  lastsummary-page where the information from the form is displayed as 
  text-only.Somehow I just can't seem to succeed with this simple 
  task.as a last step in the wizard my struts-config.xml forwards to 
  :This is the page I want to 
  display the Form properties previously entered. Iknow the values are 
  in the request because I can output them usingBut that 
  displays the value in a form-filed, I want it written out in plaintext 
  (no further reuse of the value is needed, this is the last step in 
  thewizard). How do I achieve this ? The name of the Form 
  isCreditcardDepositForm if that is needed in some way.//Linus 
  Nikander - [EMAIL PROTECTED]-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: problem

2003-08-14 Thread Nagendra Kumar O V S







hi,
  u r not v clear in ur question
  is userBean, the action form associated with the jsp page..?? if 
  yes.
  then
  should work for u
   
  the property "user" should also be in the action form, which holds 
  the value of the client selected in the drop down on the form submit
   
  -- nagi
   ---Original Message--- 
  From: Struts Users Mailing List
  Date: Monday, August 11, 2003 06:03:01 PM
  To: [EMAIL PROTECTED]
  Subject:   problem Hi, I have a problem handling nested beans.. For example... I have a userBean as given below private int userID; private String lastName; private String firstName; private ArrayList roleUser; Where the last field Arraylist is the arraylist of the objects of the beancalled roleUserBean. Again the roleUserBean has the following properties. private int roleid; private String desc; private String name; private ArrayList menuComponent; I have put the userBean in the session scope. Now I want to show all theelements in the ArrayList roleUser in a drop down. I am trying to use the tag. But it's giving me errors.What I am doing is:="session" type="java.util.ArrayList"/>  ="desc" />:Please help .. Thanks in advance. Prashant M Desai.-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Cannot find bean "XXX" in any scope - error

2003-08-14 Thread Nagendra Kumar O V S








  hi,
  the name of the bean is case-sensitive...
  
  "tayloringForm " as defined in the config file
   
  check it out
   
  --nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, August 
  05, 2003 04:47:14 PM
  To: Struts Users Mailing 
  List
  Subject: Cannot find 
  bean "XXX" in any scope - error
   Guys,Any help is appreciated in this regard -In 
  struts-config.xml, I have an action mapping as below -scope="request" 
  type="tayloring.ShowAllOpenFailuresAction" 
  validate="false">="/pages/tayloring/all_open_failures.jsp" 
  />and definition for form bean is as below 
  -ShowAllOpenFailuresAction 
  class, sets a property in the form 
  bean,((TayloringForm)form).setOpenFailures(openfailures); and fowards 
  to"success"In all_open_failures.jsp, i have the 
  following="OpenFailureDescriptor">name="OpenFailureDescriptor" 
  property="facilityID"/>When 
  i access this page via Tayloring/ShowAllOpenFailures action, i get 
  thefollowing error,org.apache.jasper.JasperException: Cannot find 
  bean TayloringForm in 
  anyscopeatorg.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)atorg.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)...Thanks,Arindam-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: {OT}Cannot find bean "XXX" in any scope - error

2003-08-14 Thread Nagendra Kumar O V S








  well he is Mahesh Revuri working in embedded systems
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, August 
  05, 2003 05:48:05 PM
  To: Struts Users Mailing 
  List
  Subject: Re: Cannot 
  find bean "XXX" in any scope - error
   thanks..it is working...BTW..what's his 
  name?Thanks,Arindam"Nagendra 
  Kumar O V S" To: <[EMAIL PROTECTED]> 
  <[EMAIL PROTECTED] cc: go.com> Subject: Re: Cannot find bean 
  "XXX" in any scope - error 08/05/2003 05:45 PM Please 
  respond to "Struts Users Mailing List" 
  hi, u don't have to declare any classes .. 
  the framework pick it up from the classpath ="tayloring.OpenFailureDescriptor"> is absolutely 
  correct & should work for u... BTW, FYI my brother-in-law is 
  working in ur company -- nagi ---Original 
  Message--- From: Struts Users Mailing List Date: Tuesday, 
  August 05, 2003 05:16:56 PM To: Struts Users Mailing List Subject: 
  Re: Cannot find bean "XXX" in any scope - error Thanks Nagi..the 
  error for Form bean is gone...but now the error is displayed for the 
  descriptor class..".Cannot find bean OpenFailureDescriptor in scope 
  request" Property openFailures in tayloringForm is a List which holds 
  OpenFailureDescriptor objects. i have tried changing the 
  logic:iterate as below ="OpenFailureDescriptor" scope="request" 
  type ="tayloring.OpenFailureDescriptor"> Should i declare 
  all the descriptor or value objects somewhere? Thanks, Arindam 
  "Nagendra Kumar O V S" To: <[EMAIL PROTECTED]> 
  <[EMAIL PROTECTED] cc: go.com> Subject: Re: Cannot find bean 
  "XXX" in any scope - error 08/05/2003 05:11 PM Please 
  respond to "Struts Users Mailing List" 
  hi, the name of the bean is 
  case-sensitive...  "tayloringForm 
  " as defined in the config file check it out 
  --nagi ---Original Message--- From: Struts 
  Users Mailing List Date: Tuesday, August 05, 2003 04:47:14 PM To: 
  Struts Users Mailing List Subject: Cannot find bean "XXX" in any scope 
  - error Guys, Any help is appreciated in this regard - In 
  struts-config.xml, I have an action mapping as below - scope="request" type="tayloring.ShowAllOpenFailuresAction" validate 
  ="false"> ="/pages/tayloring/all_open_failures.jsp" />  
  and definition for form bean is as below -  
   ShowAllOpenFailuresAction class, sets a 
  property in the form bean, 
  ((TayloringForm)form).setOpenFailures(openfailures); and fowards to 
  "success" In all_open_failures.jsp, i have the following 
  ="OpenFailureDescriptor"> name="OpenFailureDescriptor" property="facilityID" 
  />  When i 
  access this page via Tayloring/ShowAllOpenFailures action, i get the 
  following error, org.apache.jasper.JasperException: Cannot find 
  bean TayloringForm in any scope at 
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254) 
  at 
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) 
  ... Thanks, Arindam 
  - 
  To unsubscribe, e-mail: [EMAIL PROTECTED] 
  For additional commands, e-mail: [EMAIL PROTECTED] 
  . 
   
  IncrediMail - Email has finally evolved - Click Here 
  - 
  To unsubscribe, e-mail: [EMAIL PROTECTED] 
  For additional commands, e-mail: [EMAIL PROTECTED] 
  . 
  IncrediMail 
  - Email has finally evolved - Click 
  Here-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Displaying an incorrect email using email validator

2003-08-14 Thread Nagendra Kumar O V S








  hi,
  email error message requires only one variable  & i 
  guess so u should be using 
  -- nagi
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Monday, August 
  11, 2003 04:17:44 PM
  To: [EMAIL PROTECTED]
  Subject: Displaying an 
  incorrect email using email validator
   Hi everyone,I currently have a JSP page with a 
  textbox that holds email data which is to be validated using the 
  struts validator. Currently with other types of validations one can 
  view the output the value of the textbox using the name="xxx" 
  key="${var:xxx}" resource="false"> tag within the 
   tags inside the validation xml. The 
  problem I'm having here is that how is one able to view the value of 
  an email validation?Currently I try to use the following syntax to 
  view the output of any email value:This doesn't work 
  however. It works if I were to use it within the context of a 
  maxLength or minLength but not email. Why is this so and what is the 
  correct way of doing 
  it?ThanksJohn_MSN 
  8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Text Field property at run time!!!Urgent

2003-08-11 Thread Nagendra Kumar O V S








  HI,
  check out these in the struts docs (help on the indexed 
  properties)... 
   
  docs: faqs\indexedprops.html
   
  --nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Monday, August 
  11, 2003 12:25:58 PM
  To: Struts Users Mailing 
  List
  Subject: Text Field 
  property at run time!!!Urgent
   Hi All,I have a scenario in which the property of 
  my text box will be set at runtime. In my action form I have declared 
  all the property names that will beavailable in my jsp.The jsp 
  text box will have property name as txtField1 , txtField2 
  ,txtField3.The action form will have these properties 
  available.In my jsp i am doing it like this inside logic:iterate 
  and using bean:definefor "fieldname"but I am displayed a blank 
  jsp. Any solution to acheive this scenario.Thanks,Anurag 
  Garg-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: struts help required urgent

2003-08-10 Thread Nagendra Kumar O V S








  hi,
  u will need a request parameter for executing  a method on a 
  dispatch action class(not request attribute). so u can forward ur control 
  something like this
  return new 
  ActionForward(actionMapping.findForward("next_action").getPath()+?method=method_to_execute");
   
  and next_action is a forward defined in the config file 
  
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Friday, August 
  08, 2003 04:09:08 PM
  To: [EMAIL PROTECTED]
  Subject: struts help 
  required urgent
   Hi,I want to set an attribute in the request in an 
  action class and forward the same request to another action class, the 
  other Action class extends DispatchAction class, And I do not have any 
  execute method in the class, I am clubbing several actions in the class 
  and using different methods. How can I configure my struts-config.xml file 
  so that my previous action class can forward the request to the any method 
  of the new class which extends DispatchAction class.Thanks in 
  advanceRegardsTarunDISCLAIMER:This message 
  contains privileged and confidential information and is intended only for 
  the individual named.If you are not the intended recipient you should not 
  disseminate,distribute,store,print, copy or deliver this message.Please 
  notify the sender immediately by e-mail if you have received this e-mail 
  by mistake and delete this e-mail from your system.E-mail transmission 
  cannot be guaranteed to be secure or error-free as information could be 
  intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain 
  viruses.The sender therefore does not accept liability for any errors or 
  omissions in the contents of this message which arise as a result of 
  e-mail transmission. If verification is required please request a 
  hard-copy 
  version.-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Bean tag lib help

2003-08-08 Thread Nagendra Kumar O V S








  try
   
  
   
  -- nagi
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Wednesday, August 
  06, 2003 12:18:43 PM
  To: '[EMAIL PROTECTED]'
  Subject: Bean tag lib 
  help
   Hello,I got a question. My struts-bean tag 
  doesnot seem to work correctly.Everytime I use the Bean 
  tagEg I get a 
  java.lang.ClassCastExceptionat 
  org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:766)atorg.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:481)at 
  org.apache.jsp.files_jsp._jspService(files_jsp.java:149)The 
  Java code looks like 
  _jspx_th_html_form_0.setParent(_jspx_th_html_html_0);_jspx_th_html_form_0.setMethod("POST");_jspx_th_html_form_0.setAction("/files");149-> 
  int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();if 
  (_jspx_eval_html_form_0 !=javax.servlet.jsp.tagext.Tag.SKIP_BODY) 
  {do {out.write("\r\n ");/*  bean:define  
  */java.lang.Object processName = 
  null;org.apache.struts.taglib.bean.DefineTag 
  _jspx_th_bean_define_0= 
  (org.apache.struts.taglib.bean.DefineTag)_jspx_tagPool_bean_define_property_name_id.get(org.apache.struts.taglib.bean..DefineTag.class);Doea 
  anyone have any ideas how to fix it Vance 
  Heredia__This 
  email, including attachments, is intended only for the addresseeand 
  may be confidential, privileged and subject to copyright. If youhave 
  received this email in error, please advise the sender and deleteit. 
  If you are not the intended recipient of this email, you must notuse, 
  copy or disclose its content to anyone. You must not copy or 
  communicate to others content that is confidential or subject to 
  copyright, unless you have the consent of the content 
  owner.





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



RE: struts help required urgent

2003-08-08 Thread Nagendra Kumar O V S








   
  I agree with U
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Friday, August 
  08, 2003 04:27:23 PM
  To: Struts Users Mailing 
  List
  Subject: RE: struts 
  help required urgent
   You could start by posting your question with a 
  meaningful subject line.http://www.catb.org/~esr/faqs/smart-questions.htmlI 
  might add that many of the folks on this list simply will not reply to 
  anypost that has "urgent" in the subject 
  line.-Original Message-From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED]]Sent: 
  Friday, 8 August 2003 18:45To: [EMAIL PROTECTED]Subject: 
  struts help required urgentHi,I want to set an attribute 
  in the request in an action class and forwardthe same request to 
  another action class, the other Action class extendsDispatchAction 
  class, And I do not have any execute method in the class, Iam clubbing 
  several actions in the class and using different methods. Howcan I 
  configure my struts-config.xml file so that my previous action 
  classcan forward the request to the any method of the new class which 
  extendsDispatchAction class.Thanks in 
  advanceRegardsTarunDISCLAIMER:This message 
  contains privileged and confidential information and isintended only 
  for the individual named.If you are not the intended recipientyou 
  should not disseminate,distribute,store,print, copy or deliver 
  thismessage.Please notify the sender immediately by e-mail if you have 
  receivedthis e-mail by mistake and delete this e-mail from your 
  system.E-mailtransmission cannot be guaranteed to be secure or 
  error-free as informationcould be 
  intercepted,corrupted,lost,destroyed,arrive late or incomplete 
  orcontain viruses.The sender therefore does not accept liability for 
  anyerrors or omissions in the contents of this message which arise as 
  a resultof e-mail transmission. If verification is required please 
  request ahard-copy 
  version.-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED]-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Cannot find bean "XXX" in any scope - error

2003-08-07 Thread Nagendra Kumar O V S








  hi,
  u don't have to declare any classes .. the framework pick it up from 
  the classpath
   
  
   
  is absolutely correct & should work for u...
   
  BTW, FYI my brother-in-law is working in ur company
   
  -- nagi
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, August 
  05, 2003 05:16:56 PM
  To: Struts Users Mailing 
  List
  Subject: Re: Cannot 
  find bean "XXX" in any scope - error
   Thanks Nagi..the error for Form bean is gone...but now 
  the error isdisplayed for the descriptor class..".Cannot find 
  beanOpenFailureDescriptor in scope request"Property openFailures 
  in tayloringForm is a List which holdsOpenFailureDescriptor 
  objects.i have tried changing the logic:iterate as 
  below="OpenFailureDescriptor" scope="request" 
  type="tayloring.OpenFailureDescriptor">Should i declare all 
  the descriptor or value objects 
  somewhere?Thanks,Arindam"Nagendra 
  Kumar O V S" To: <[EMAIL PROTECTED]> 
  <[EMAIL PROTECTED] cc: go.com> Subject: Re: Cannot find bean 
  "XXX" in any scope - error 08/05/2003 05:11 PM Please 
  respond to "Struts Users Mailing List" 
  hi, the name of the bean is 
  case-sensitive...  "tayloringForm 
  " as defined in the config file check it out 
  --nagi ---Original Message--- From: Struts 
  Users Mailing List Date: Tuesday, August 05, 2003 04:47:14 PM To: 
  Struts Users Mailing List Subject: Cannot find bean "XXX" in any scope 
  - error Guys, Any help is appreciated in this regard - In 
  struts-config.xml, I have an action mapping as below - scope="request" type="tayloring.ShowAllOpenFailuresAction" validate 
  ="false"> ="/pages/tayloring/all_open_failures.jsp" />  
  and definition for form bean is as below -  
   ShowAllOpenFailuresAction class, sets a 
  property in the form bean, 
  ((TayloringForm)form).setOpenFailures(openfailures); and fowards to 
  "success" In all_open_failures.jsp, i have the following 
  ="OpenFailureDescriptor"> name="OpenFailureDescriptor" property="facilityID" 
  />  When i 
  access this page via Tayloring/ShowAllOpenFailures action, i get the 
  following error, org.apache.jasper.JasperException: Cannot find 
  bean TayloringForm in any scope at 
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254) 
  at 
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) 
  ... Thanks, Arindam 
  - 
  To unsubscribe, e-mail: [EMAIL PROTECTED] 
  For additional commands, e-mail: [EMAIL PROTECTED] 
  . 
  IncrediMail 
  - Email has finally evolved - Click 
  Here-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Html tag question

2003-08-05 Thread Nagendra Kumar O V S








  
   []-- 
  nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, August 
  05, 2003 05:34:45 PM
  To: [EMAIL PROTECTED]
  Subject: Html tag 
  question
   I have an array of Project objects that are stored within 
  a ActionForm class(say ShowFileDiffsForm).I have a getter and 
  setter on the ShowFileDiffsForm:Project[] getProjects()void 
  setProjects(Project[] projects)The Project object itself has the 
  attributes:int id;String nameMy question is how can I 
  build a logic:iterate tag to iterate over the arrayof project 
  objects.?Here is what I have so farindexId="index"> [name="index"/>]The 
  one thing that I don't know how to do is to write the name and 
  theproject id out for each iteration. ]Can anyone shed any 
  light on this?Marty B. 
  JonesSenior Software 
  EngineerDailyAccess.Com-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Sessions and ActionForm

2003-08-05 Thread Nagendra Kumar O V S








  1) first make sure u have the session scope in the config file - as a 
  check
  2) what version of MSIE are u working on. the latest versions of 
  MSIE(6.0) have session handing problems.. try to reproduce this on the 
  older versions of IE
   
  --nagi
   
   
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, August 
  05, 2003 06:28:09 PM
  To: 'Struts Users Mailing 
  List'
  Subject: Sessions and 
  ActionForm
   I have a registration wizard where I have a RegForm bean 
  on the sessionscope. Now if on the second page I decide to quite and I 
  close thebrowser (MS IE), and I open a new IE browser, and I go to 
  registration,the same form is there containing all the information 
  that I entered inthe previous session. 1) Doesn't a session 
  ends (invalidates) once I close the browser?2) What is the best way to 
  handle such situation of needing theregistration form always empty? 
  The only thing that comes to my mind ison the RegAction?method=init 
  remove the RegForm from the session andrecreate a new one instead, or 
  just call reset on the one that is thereon the session context. Will 
  that work?Thanks,Erze 
  -To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: force precompilation of JSPs

2003-08-05 Thread Nagendra Kumar O V S








  hi,
  yes, u can precompile all your jsp pages in to servlets using the app 
  server jsp compiler.. and give the corresponding servlet name and path in 
  the web.xml..
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, August 
  05, 2003 12:24:05 PM
  To: Struts Users Mailing 
  List
  Subject: force 
  precompilation of JSPs
   Hi,I am experiencing a slow down when I access a 
  JSP page for the first time after I deploy e web app.Is there a 
  way to force precompilation of these files as soon as the web app is 
  deployed 
  ?Thanks,ionel-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: / /OREF:CPT9BF02 Servlet Error: net.msl.stackdates.web.Carrier: java.lang.ClassCastException: net.msl.stackdates.web.Carrier

2003-08-05 Thread Nagendra Kumar O V S





  
  

   
  
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, August 
  05, 2003 04:15:54 PM
  To: [EMAIL PROTECTED]
  Subject: Re: / 
  /OREF:CPT9BF02 Servlet Error: net.msl.stackdates.web.Carrier: 
  java.lang.ClassCastException: net.msl.stackdates.web.Carrier
   
  hi,
  the type attribute in the iterate should be Fully qualified Java 
  class name of the carrier(i.e, exposed by the id attribute)..
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, August 
  05, 2003 04:09:07 PM
  To: [EMAIL PROTECTED]
  Subject: / 
  /OREF:CPT9BF02 Servlet Error: net.msl.stackdates.web.Carrier: 
  java.lang.ClassCastException: net.msl.stackdates.web.Carrier
   I have a bean that's an arraylist that contains Carrier 
  objects. I'mtrying to access the name property on the Carrier object 
  but keepgetting the above error.I've tried nested:iterate but with 
  no luck - keep getting a nullpointer 
  exception."java.util.ArrayList" 
  scope="application">face="Verdana">BLAH...face="Verdana">BLAHHelp 
  will really be 
  appreciated...Tx-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].
  

  


  
  
    IncrediMail - 
Email has finally evolved - Click 
Here



Re: Regarding STRUTS ActionForm

2003-08-04 Thread Nagendra Kumar O V S








  hello,
  1)The actionform(MyActionForm) is absolutely, though few tips
          a. try using String variables 
  AFAP, for elements u want to map html form elements and the action 
  form
          b. all such elements should 
  have the corresponding set/get methods for struts to properly populate the 
  form elements in to         
      ur action form
  2)All the members in MyActionForm should have the corresponding 
  set/get in the action form itself. and
  3)MyDepartment,MyProject should have the set/get methods defined for 
  the members within their own classes..
   
  -- nagi
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Monday, August 
  04, 2003 02:22:50 PM
  To: [EMAIL PROTECTED]
  Subject: Regarding 
  STRUTS ActionForm
   Can the ActionForm contain some other Message Objects as 
  attributes ? If sowhere should the getters and setters for the child 
  MO be coded ? Forexample in the below structure MyActionForm is the 
  ActionForm that containsthe user defined MO's MyDepartment and 
  MyProject. First of all isMyActionForm a valid ActionForm as per 
  STRUTS ? If so where should thegetter and setter for departmentNumber, 
  departmentName, projectNumber,projectName reside ? Should it be within 
  the MyActionForm or MyDepartmentand MyProject respectively 
  ?e.g : MyActionForm inherits ActionForm{int 
  employeeNumber;string employeeName;MyDepartment 
  department;MyProject project;}MyDepartment{int 
  departmentNumber;string 
  departmentName;|MyProject{int projectNumber;string 
  projectName;}ThanksSreekant G.TCS 
  AMBATTUR





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Using a key as an argument to bean:message

2003-08-01 Thread Nagendra Kumar O V S








  hi,
  u can't send the key as the argument to the bean:message, though u 
  might want to consider this
      
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Friday, August 
  01, 2003 05:00:41 PM
  To: Struts Users Mailing List 
  (E-mail)
  Subject: Using a key as 
  an argument to bean:message
   Hi,Has anyone got any ideas on how to use a 
  message key as an argument in abean:message call.e.g. 
  At the moment I am using a scriptlet 
  to access the message resources andassign the message for the argument 
  to a page variable. 
  e.g.<%org.apache.struts.util.MessageResources messages 
  =(org.apache.struts.util.MessageResources)request.getAttribute(org.apache.struts.Globals.MESSAGES_KEY);String 
  realLabel = 
  messages.getMessage("customer.label");%>This 
  works but is a bit messy. Note that both keys are actually dynamic 
  and come from nested beans on theActionForm - I can't just create a 
  fixed composite message in 
  myapplication.properties.thanks,Paul**Axios 
  Email Confidentiality FooterPrivileged/Confidential Information may be 
  contained in this message. If you are not the addressee indicated in this 
  message (or responsible for delivery of the message to such person), you 
  may not copy or deliver this message to anyone. In such case, you should 
  destroy this message, and notify us immediately. If you or your employer 
  does not consent to Internet email messages of this kind, please advise us 
  immediately. Opinions, conclusions and other information expressed in this 
  message are not given or endorsed by my Company or employer unless 
  otherwise indicated by an authorised representative independent of this 
  message.WARNING:While Axios Systems Ltd takes steps to prevent 
  computer viruses from being transmitted via electronic mail attachments we 
  cannot guarantee that attachments do not contain computer virus code. You 
  are therefore strongly advised to undertake anti virus checks prior to 
  accessing the attachment to this electronic mail. Axios Systems Ltd grants 
  no warranties regarding performance use or quality of any attachment and 
  undertakes no liability for loss or damage howsoever 
  caused.-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Direct ValueObject creation rather than ActionForm.

2003-07-31 Thread Nagendra Kumar O V S








  hello,
  ActionForm is tightly coupled with the form elements on the jsp 
  page.ActionForms helps us to get data to & from a jsp page.
  if u don't have any form elements(html elements) there is no 
  mandatory to use ActionForm and u can use a ValueObject to populate the 
  request data(if any) and then pass on to service layer
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Friday, August 
  01, 2003 10:38:31 AM
  To: [EMAIL PROTECTED]
  Subject: Direct 
  ValueObject creation rather than ActionForm.
   
  
  I have a idea here. Why we require ActionForm class if we can have ValueObject and that we can pass to the service 
  layer.
   
  Can we create the 
  instance of ValueObject class only rather than 
  ActionForm instance from the request 
  data?
   
  Thanks
   
   
   





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: html:select multiple pre select

2003-07-31 Thread Nagendra Kumar O V S








  hi.
  docs say
  
  multiple="true" IS selected - The corresponding property 
  should be an array of any supported data type. 
  so try populating the array (html:select property) with the required 
  elements to be selected before hand.
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Thursday, July 
  31, 2003 05:02:03 PM
  To: Struts Users Mailing 
  List
  Subject: html:select 
  multiple pre select
   I have a html:select with multiple="true" how can I get 
  this to have optionshighlighted when it loads? based on the elements 
  already stored for thisselect field.ThanksDaniel 
  Massie-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: hashmap in formbean

2003-07-31 Thread Nagendra Kumar O V S








  try this.
   
  
  -- nagi
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Thursday, July 
  31, 2003 04:48:20 PM
  To: Struts Users Mailing 
  List
  Subject: hashmap in 
  formbean
   Hi,Is it possible to pass a variable like the 
  following?I am having a HashMap in the formbean, 
  and I want to get an element from the map with key as thecontent of 
  var1.if i use the hardcoded value instead of var1, i am able to get 
  the 
  resultsThanks,PramodThis 
  electronic mail message is intended solely for the named recipients and 
  may containconfidential and proprietary business information of eFunds 
  Corporation and all its subsidiaries.If you are not a named recipient, 
  please notify the sender immediately. You may not disclose thecontents 
  to any other person; use this electronic mail message or its contents for 
  any otherpurpose; or further store or copy its contents in any 
  medium.-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Validator: Is validwhen available ?

2003-07-31 Thread Nagendra Kumar O V S








  hi,
  'validwhen' is available in the nightly builds...
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Thursday, July 
  31, 2003 02:08:30 PM
  To: [EMAIL PROTECTED]
  Subject: Validator: Is 
  validwhen available ?
   HiIn the Struts Validator User Guide (http://jakarta.apache.org/struts/userGuide/dev_validator.html)I 
  read under "Designing Complex Validations with validwhen" the 
  followingsentence:The new validwhen validation rule, 
  which will be included into the Strutsrelease immediately after the 
  1.1 release, is designed to handle these cases.Is the 
  validator with 'validwhen' sowhere available or do we have to waitfor 
  the next Struts 
  release?ThanksKoni-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



RE: SSLEXT

2003-07-30 Thread Nagendra Kumar O V S








  hi amit,
  yes, i tried with method=post  but still it appends...
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Thursday, July 
  31, 2003 10:48:42 AM
  To: [EMAIL PROTECTED]
  Subject: RE: 
  SSLEXT
   Does it appends the form parameter values even when 
  Method=POST?Regards,Amit.-Original 
  Message-From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED]] Sent: 
  Thursday, July 31, 2003 1:13 PMTo: [EMAIL PROTECTED]Subject: 
  SSLEXThi, SSLEXT really works great for me when i 
  switch from "http" to "https".Well when i am in https mode i submit a 
  form as post methods, howeverthe subsequent page is not secured. 
  Obviously the action redirects tohttp mode, that is ok with me but it 
  appends the form parameter valuesto the URL and it is visible in 
  clients browser address bar. I do notwant to see the form parameter 
  values in the Address bar. Does any one experience the same problem 
  and Any idea to solve this willbe greatly appreciated thanks 
  nagi  Nagendra Kumar O V SMember Technical 
  StaffIkigo India Private Ltd.470-B, Road No. 36,Jubilee 
  Hills,Hyderabad 500033Contact(O): 23544671Cell: 
  98482-41789  
  IncrediMail - Email has finally evolved - Click Here 
  -To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



SSLEXT

2003-07-30 Thread Nagendra Kumar O V S





  
  

  hi,
   
  SSLEXT really works great for me when i switch from "http" to 
  "https". Well when i am in https mode i submit a form as post methods, 
  however the subsequent page is not secured. Obviously the action redirects 
  to http mode, that is ok with me but it appends the form parameter values 
  to the URL and it is visible in clients browser address bar. I do not want 
  to see the form parameter values in the Address bar. 
  Does any one experience the same problem and Any idea to solve this 
  will be greatly appreciated 
  thanks nagi
   
       
      Nagendra Kumar O V S
  Member Technical Staff
  Ikigo India Private Ltd.
  470-B, Road No. 36,
  Jubilee Hills,
  Hyderabad 500033
  Contact(O): 23544671
  Cell: 98482-41789
  

  


  
  
    IncrediMail - 
Email has finally evolved - Click 
Here



SSLEXT

2003-07-30 Thread Nagendra Kumar O V S








  SSLEXT really works great for me when i switch from "http" to 
  "https". Well when i am in https mode i submit a form as post methods, 
  however the subsequent page is not secured. Obviously the action redirects 
  to http mode, that is ok with me but it appends the form parameter values 
  to the URL and it is visible in clients browser address bar. I do not want 
  to see the form parameter values in the Address bar. 
  Does any one experience the same problem and Any idea to solve this 
  will be greatly appreciated 
  thanks nagi
   
       
      Nagendra Kumar O V S
  Member Technical Staff
  Ikigo India Private Ltd.
  470-B, Road No. 36,
  Jubilee Hills,
  Hyderabad 500033
  Contact(O): 23544671
  Cell: 98482-41789





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Newbie :rendering hidden fields

2003-07-30 Thread Nagendra Kumar O V S








  hi,
   
   
  
  
  
  hope this helps
   
  --nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Wednesday, July 
  30, 2003 12:10:58 PM
  To: Struts Users Mailing 
  List
  Subject: Newbie 
  :rendering hidden fields
   How do you render an input hidden field inside a 
   tag ..??Actually here is what my code looks like 
  :-- Here I want to put my hidden field 
  like this---here)I want the value of 
  hidden field as another property of bean "mybean"(whichis used in 
   tag) suppose "anotherPropertyofmybean" .What to 
  do?Thansk,Jitesh-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: How to activate Reset method in ActionForm?

2003-07-28 Thread Nagendra Kumar O V S








  hi,
  u can't activate reset method from the actionform when 
  the form is submitted , reset is called automatically and then 
  the form elements are pupulated to the action form
   
  - nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Monday, July 28, 
  2003 02:49:35 PM
  To: [EMAIL PROTECTED]
  Subject: How to 
  activate Reset method in ActionForm?
   Hi,how do I activate the reset method in the 
  ActionForm.I have included the reset method in my ActionForm, but 
  it is notactivated.Also, I would like to know if the reset method 
  is read beforethe display of the jsp.Thanks.J G 
  Guru PrasadV sem, Information Technology,Bachelor of 
  Engineering,National Institute of Technology Karnataka, 
  Surathkal.( formerly KREC,Surathkal 
  )Get 
  your own "800" numberVoicemail, fax, email, and a lot morehttp://www.ureach.com/reg/tag-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Multiboxes getting selected by default

2003-07-28 Thread Nagendra Kumar O V S








  hi,
  checkbox with multibox typically uses 2 collections. an outer 
  collection over which u iterate., which is the superset of all the 
  required records u need to display...
  another collection is needed by the multibox tag... which is the set 
  of all records u need to get selected on the page load..
  when these both collections are equal , means to say that all ur 
  checkboxes are checked ..
  check it out...
   
  --nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Monday, July 28, 
  2003 02:38:12 PM
  To: [EMAIL PROTECTED]
  Subject: Multiboxes 
  getting selected by default
   Hi All,I'm showing a list of objects which have 
  checkboxes at the end so thata record can be selected for modification 
  or deletion. I'm usingmultiboxes for this purpose and i'm including 
  the record's id(primary key)as the value for the multibox. My 
  problem is that when the page is rendered, all the records aregetting 
  selected by default. What could be the reason for this situation??Any 
  help is appreciated.Regards,Pradeep 
  Bhargav=pradeepbhargavJCE CIVIL GROUPMatrixOne 
  IndiaScandent Group[EMAIL PROTECTED]__Do 
  you Yahoo!?Yahoo! SiteBuilder - Free, easy-to-use web site design 
  softwarehttp://sitebuilder.yahoo.com-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Multiple modules - Please help

2003-07-27 Thread Nagendra Kumar O V S








  hi,
  there is an SwitchAction available with struts, which can be used to 
  switch bet' modules. try it
  i have't implemented though
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Monday, July 28, 
  2003 10:47:39 AM
  To: [EMAIL PROTECTED]
  Subject: Multiple 
  modules - Please help
   Hello,I am trying to configure Struts with 
  multiple modules. I have got most of it working but I am stuck up at 
  one point. When the action classes forward to a JSP page, 
  everything works ok.But I get a 404 error if the action forwards to 
  another action..>Has anyone got the above 
  case working with multiple modules ?If yes, could you please send me 
  the sample working config file ?I also tried giving the modulename 
  prefix but I got a 400 error :-(.>Any help is a 
  blessing.Ajay-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



SSL+struts

2003-07-27 Thread Nagendra Kumar O V S








  SSLEXT really works great for me when i switch from "http" to 
  "https". Well when i am in https mode i submit a form as post methods, 
  however the subsequent page is not secured. Obviously the action redirects 
  to http mode, that is ok with me but it appends the form parameter values 
  to the URL and it is visible in clients browser address bar. I do not want 
  to see the form parameter values in the Address bar. 
  Does any one experience the same problem and Any idea to solve this 
  will be greatly appreciated 
   
   
  thanks nagi
       
      Nagendra Kumar O V S
  Member Technical Staff
  Ikigo India Private Ltd.
  470-B, Road No. 36,
  Jubilee Hills,
  Hyderabad 500033
  Contact(O): 23544671
  Cell: 98482-41789





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: sslext

2003-07-25 Thread Nagendra Kumar O V S








  hi
  thnx for the input.
  i did try with the pageScheme tag.. it did't make any diff
  then next trial was to direct to https from creditcard page rather 
  than http.. i observe that the paramerters are't anymore on the 
  querystring.(strange) so to say, can't i submit a https form and then 
  forward to http page??
   
  - nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Friday, July 25, 
  2003 05:31:11 PM
  To: Struts Users Mailing 
  List
  Subject: Re: 
  sslext
   My page is not SSL, but my form does a https submit, and 
  then it forwards on to "itself" - after submitting, the page IS https 
  - and then I get only jsessionid in the line.I have 
  aIn my page 
  right above theThis drove me 
  nuts...Regards, a.m.Nagendra Kumar O V S 
  wrote:> hi,> session is well established while login and 
  i am using SSL for the > creditcard page> > i forgot 
  to mention, it appends along with jsessionid(obviously)..> i feel i 
  am missing something here in the configuration> > when i 
  submit from the creditcard page, it comes back to the http > 
  protocol with jsessionid and all the creditcard details appended to 
  > the querystring.> and i am using > > any guess??> > 
  TIA> -- nagi> > /---Original 
  Message---/> > /*From:*/ Struts Users Mailing List 
  > <mailto:[EMAIL PROTECTED]>> 
  /*Date:*/ Friday, July 25, 2003 04:59:07 PM> /*To:*/ Struts Users 
  Mailing List <mailto:[EMAIL PROTECTED]>> 
  /*Subject:*/ Re: sslext> > Do you have a session established 
  before you do this? Try doing your> request.getSession(true); 
  before executing the sslext pages...>> 
  a.m.>>> Nagendra Kumar O V S wrote:>> 
  >> > hi,> > i am using struts1.1 with sslext 
  .> >> > everything seems to be working fine , but one 
  problem i observe is> > that, when the url is redirected , all 
  the request parameters show up> > in the query string. how can i 
  avoid it> >> > TAI> > --nagi> 
  >> > *Nagendra Kumar O V S*> > Member Technical 
  Staff> > /Ikigo India Private Ltd./> > /470-B, Road 
  No. 36,/> > /Jubilee Hills,/> > /Hyderabad 
  500033/> > Contact(O): 23544671> > Cell: 
  98482-41789> >> >> >> >> 
  > > > 
  <http://www.incredimail.com/redir.asp?ad_id=309&lang=9 
  > <http://www.incredimail.com/redir.asp?ad_id=309&lang=9>> 
  /IncrediMail/> > - *Email has finally evolved* - *_Click 
  Here_*> > <http://www.incredimail.com/redir.asp?ad_id=309&lang=9 
  > <http://www.incredimail.com/redir.asp?ad_id=309&lang=9>>>>>>>> 
  -> 
  To unsubscribe, e-mail: [EMAIL PROTECTED] 
  > <mailto:[EMAIL PROTECTED]>> 
  For additional commands, e-mail: [EMAIL PROTECTED] 
  > <mailto:[EMAIL PROTECTED]>>>> 
  .>> > >> 
  > <http://www.incredimail.com/redir.asp?ad_id=309&lang=9> 
  /IncrediMail/ > - *Email has finally evolved* - *_Click Here_* 
  > <http://www.incredimail.com/redir.asp?ad_id=309&lang=9> 
  -To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: sslext

2003-07-25 Thread Nagendra Kumar O V S








  hi,
  session is well established while login and i am using SSL for the 
  creditcard page
   
  i forgot to mention, it appends along with 
  jsessionid(obviously)..
  i feel i am missing something here in the configuration
   
  when i submit from the creditcard page, it comes back to the http 
  protocol with jsessionid and all the creditcard details appended to the 
  querystring.
  and i am using 
   
  any guess??
   
  TIA
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Friday, July 25, 
  2003 04:59:07 PM
  To: Struts Users Mailing 
  List
  Subject: Re: 
  sslext
   Do you have a session established before you do this? Try 
  doing your request.getSession(true); before executing the sslext 
  pages...a.m.Nagendra Kumar O V S wrote:> 
  > hi,> i am using struts1.1 with sslext .> > 
  everything seems to be working fine , but one problem i observe is 
  > that, when the url is redirected , all the request parameters 
  show up > in the query string. how can i avoid it> > 
      TAI> --nagi> > *Nagendra Kumar O V S*> Member 
  Technical Staff> /Ikigo India Private Ltd./> /470-B, Road 
  No. 36,/> /Jubilee Hills,/> /Hyderabad 500033/> 
  Contact(O): 23544671> Cell: 98482-41789>> > 
  >> 
  > <http://www.incredimail.com/redir.asp?ad_id=309&lang=9> 
  /IncrediMail/ > - *Email has finally evolved* - *_Click Here_* 
  > <http://www.incredimail.com/redir.asp?ad_id=309&lang=9> 
  -To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



sslext

2003-07-25 Thread Nagendra Kumar O V S







 
  hi,
  i am using struts1.1 with sslext .
   
  everything seems to be working fine , but one problem i observe is 
  that, when the url is redirected , all the request parameters show up in 
  the query string. how can i avoid it
   
  TAI
  --nagi
   
  Nagendra Kumar O V S
  Member Technical Staff
  Ikigo India Private Ltd.
  470-B, Road No. 36,
  Jubilee Hills,
  Hyderabad 500033
  Contact(O): 23544671
  Cell: 98482-41789





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Nested Bean Problem

2003-07-24 Thread Nagendra Kumar O V S








  hi,
  why do u want to get the size of the collection...?
  u can use indexId attribute which gives the index of the 
  iterator
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Friday, July 25, 
  2003 09:57:28 AM
  To: [EMAIL PROTECTED]
  Subject: Nested Bean 
  Problem
   Hi,I have a problem handling nested beans..For 
  example...I have a userBean as given belowprivate int 
  userID;private String lastName;private String 
  firstName;private ArrayList roleUser;Where the last field 
  Arraylist is the arraylist of the objects of the beancalled 
  roleUserBean.Again the roleUserBean has the following 
  properties.private int roleid;private String desc;private 
  String name;private ArrayList menuComponent;The last property 
  menuComponent is the arrayList of objects of the beancalled 
  menuComponentBean.Now the menuComponentBean containsprivate 
  int menuID;private String menuName;private String 
  description;I have put the userBean in the session scope. Now 
  I want to know how manyobjects are there in the menuComponentBean 
  (size of the ArrayListmenuComponentBean). I am not able to get that. 
  Please help.Thanks in advance.Prashant M 
  Desai.-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED]-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Form Bean Not Called Why ?

2003-07-24 Thread Nagendra Kumar O V S








  hi,
  do u have the file name declared as "FormFile" in ur action 
  form?...
   
   
  -- nagi
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Thursday, July 
  24, 2003 03:57:55 PM
  To: [EMAIL PROTECTED]
  Subject: Form Bean Not 
  Called Why ?
   I am trying to upload a file using commons-fileupload 
  API, but as soon asdo I addenctype="multipart/form-data"to my 
  form in JSP, the form bean is not called anymore.can someone there 
  help me find the problem with this...???Regards,Puneet 
  AgarwalTata Consultancy Services,C-56, Phase - II, NOIDA 
  201305 (India)Phone: +91-120-2461001, 2, 7, 8, 9, 12, 13 (Ext. 
  1031)FAX              : +91-120-246 
  1521Struts ... Action ... Struts in Action ... Action in Struts 
  ...-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



RE: drop-down list help

2003-07-23 Thread Nagendra Kumar O V S








  if u r using struts 1.1... LabelValue bean should be available to 
  u...
  i feel , u got to debug and find that problem rather than using a new 
  javabean
   
  trust me , i have used the labelvaluebean many times ... it works 
  very well for me
   
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Wednesday, July 
  23, 2003 04:25:49 PM
  To: 'Struts Users Mailing 
  List'
  Subject: RE: drop-down 
  list help
   hi,i'm using struts 1.1 and so i'm trying to use 
  lablevaluebean.u can create a simple javabean with two variables, 
  with set,get methods and use itit is as easy- so in my bean, i 
  should have get and set methods for CountryID and CountryName.And how 
  should I refer them in  tag?correct?sriram-Original 
  Message-From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED]] Sent: 
  Wednesday, July 23, 2003 4:22 PMTo: [EMAIL PROTECTED]Subject: 
  RE: drop-down list helpHI,well, if ur using 
  struts1.0, LabelValueBean is no supported..u can still get that class 
  from the struts1.1 jar and use it...(or)u can create a simple 
  javabean with two variables, with set,get methods and use itit is as 
  easy-- nagi---Original Message---From: 
  Struts Users Mailing <mailto:[EMAIL PROTECTED]> 
  ListDate: Wednesday, July 23, 2003 04:09:00 PMTo: 'Struts Users 
  Mailing <mailto:[EMAIL PROTECTED]> 
  List'Subject: RE: drop-down list helpSwaroop,You are 
  right. I have commented LabelValueBean statements and I got the displayed 
  with a blank dropdown list.My bean method is now as 
  follows:public Collection getCountries() {ArrayList countries = 
  new ArrayList();//countries.add(new LabelValueBean("Australia", 
  "1000"));//countries.add(new LabelValueBean("New Zealand", 
  "1001"));//countries.add(new LabelValueBean("India", 
  "1003"));return countries;}How to get data into this if I 
  don't use LabelValueBean. What have you used? Can you post your code for 
  DropDownCollections.java please?Sriram-Original 
  Message-From: Swaroop George [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] 
  Sent: Wednesday, July 23, 2003 3:34 PMTo: Struts Users Mailing 
  ListSubject: RE: drop-down list helpI don't think u r 
  proceeding the right way.. When u removed property what has happened is u 
  have eliminated the getCountries method call.. and thus u r able to see ur 
  3rd print statement. U need to have the property cauz the collection u 
  need is an attribute of the DropDownCollections class, not the 
  DropDownCollections class itself..(which is why its saying Cannot create 
  iterator for DropDownCollections)..Internally it creates an 
  iterator out of the collection returned which its not able to create cauz 
  there is no collection returned at all.. I doubt ur new LabelValueBean is 
  throwing an error. Please do remove the exception handling from ur 
  class..-Original Message-From: sriram [mailto:[EMAIL PROTECTED] 
  <mailto:[EMAIL PROTECTED]> ] 
  Sent: Wednesday, July 23, 2003 3:21 PMTo: 'Struts Users Mailing 
  List'Subject: RE: drop-down list helpSwaroop,I have 
  made a change to .I removed 'property' --> (If 
  not specified, the bean identified by name is given a new reference 
  identified by id.)Then my println statements are working till Step 
  3. So, I presume the previous problem is solved.There's some 
  problem now with .Trying to debug 
  that:15:23:26,419 ERROR [Engine] 
  ApplicationDispatcher[/mobilemail_1_0]Servlet.service() for 
  servlet jsp threw exceptionorg.apache.jasper.JasperException: Cannot 
  create iterator for [EMAIL PROTECTED]Probably I need to 
  use  instead of 
  Sriram-Original 
  Message-From: Swaroop George [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] 
  Sent: Wednesday, July 23, 2003 3:12 PMTo: Struts Users Mailing 
  ListSubject: RE: drop-down list helpYes I know that there 
  is something wrong in bean:define. As the next step remove the try {} 
  catch{} block in the getCountries method. Let it show up where exactly its 
  failing..-Original Message-From: sriram [mailto:[EMAIL PROTECTED] 
  <mailto:[EMAIL PROTECTED]> ] 
  Sent: Wednesday, July 23, 2003 3:00 PMTo: 'Struts Users Mailing 
  List'Subject: RE: drop-down list help:-(Same error! I 
  modified the function as follows:public Collection getCountries() 
  {ArrayList countries = new ArrayList();try{countries.add(new 
  LabelValueBean("Australia&q

RE: drop-down list help

2003-07-23 Thread Nagendra Kumar O V S
textValve.invoke(StandardContextValve.java:191) 
  at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) 
  at 
  org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) 
  at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) 
  at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 
  atorg.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 
  at 
  org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) 
  at 
  org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) 
  at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) 
  at 
  org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatc!herValve.java:171) 
  at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) 
  at 
  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) 
  at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) 
  at 
  org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509) 
  at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) 
  at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 
  atorg.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 
  at 
  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) 
  at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) 
  at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 
  at 
  org.apache.catalina.core.ContainerBase.invoke!(ContainerBase.java:995) 
  atorg.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)at 
  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594) 
  at 
  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392) 
  at 
  org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) 
  at 
  org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool..java:619) 
  at java.lang.Thread.run(Thread.java:536) In stack trace, it's 
  showing an error at line 199 of userview_jsp.java. This line has the 
  following code:if (_jspx_th_bean_define_0.doEndTag() 
  ==javax.servlet.jsp.tagext.Tag.SKIP_PAGE)Further down the 
  stack trace (not pasted above), it's showing error at line 2073 of the 
      same file and the code in that line is: } catch (Throwable t) {out = 
  _jspx_out;if (out != null && out.getBufferSize() != 
  0)out.clearBuffer();if (pageContext != null) 
  pageContext.handlePageException(t); --> line 2073  }Can 
  you get any idea about why it's giving that error from the above 
  information? Pl. inform.Sriram-Original 
  Message-From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED]] Sent: 
  Wednesday, July 23, 2003 1:27 PMTo: [EMAIL PROTECTED]Subject: 
  RE: drop-down list helphi,i guess u r not following 
  the java-bean rulesprivate ArrayList countries = new 
  ArrayList();public ArrayList getCountries() {// here u can 
  populate the arraylist... as u did earlierreturn 
  countries;}public void setCountries(ArrayList countries) 
  {this.countries = countries;}this is what the java bean 
  signature should look like-- nagi---Original 
  Message---From: Struts Users Mailing <mailto:[EMAIL PROTECTED]> 
  ListDate: Wednesday, July 23, 2003 12:54:20 PMTo: 'Struts Users 
  Mailing <mailto:[EMAIL PROTECTED]> 
  List'Subject: RE: drop-down list helpSwaroop,I am 
  trying to implement the way you have mentioned for populating drop 
  downs.I'm getting the following 
  exception:javax.servlet.ServletException: Exception thrown by 
  getter for property countries of bean dropdownHere's the code 
  that I'm using:Bean Class:package com.xxx;public class 
  DropDownCollections {private ArrayList countries = new 
  ArrayList();public Collection getCountries() {//ArrayList 
  list = new ArrayList();try{countries.add(new 
  LabelValueBean("Australia", "1000")); countries.add(new 
  LabelValueBean("New Zealand", "1001")); countries.add(new 
  LabelValueBean("India", "1003")); } catch (Exceptionex) { 
  ex.printStackTrace(); } return countries; }public void 
  set

RE: drop-down list help

2003-07-23 Thread Nagendra Kumar O V S








  hi,
  i guess u r not following the java-bean rules
   
      private ArrayList countries = new 
  ArrayList();
   
      public ArrayList getCountries() {
          // here u can populate the 
  arraylist... as u did 
  earlier    return 
  countries;
      }
   
      public void setCountries(ArrayList countries) 
  {    this.countries = 
  countries;    }
  this is what the java bean signature should look like
   
   -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Wednesday, July 
  23, 2003 12:54:20 PM
  To: 'Struts Users Mailing 
  List'
  Subject: RE: drop-down 
  list help
   Swaroop,I am trying to implement the way you have 
  mentioned for populating drop downs.I'm getting the following 
  exception:javax.servlet.ServletException: Exception thrown by 
  getter for property countries of bean dropdownHere's the code 
  that I'm using:Bean Class:package com.xxx;public class 
  DropDownCollections {private ArrayList countries = new 
  ArrayList();public Collection getCountries() {//ArrayList 
  list = new ArrayList();try{countries.add(new 
  LabelValueBean("Australia", "1000"));countries.add(new 
  LabelValueBean("New Zealand", "1001"));countries.add(new 
  LabelValueBean("India", "1003"));} catch (Exception ex) 
  {ex.printStackTrace();}return countries;}public 
  void setCountries(Collection options) {// No op, here to satisfy 
  bean-ness.}}Any possible solution? Please 
  inform.Sriram-Original Message-From: Swaroop 
  George [mailto:[EMAIL PROTECTED]] 
  Sent: Tuesday, July 22, 2003 6:36 PMTo: Struts Users Mailing 
  ListSubject: RE: drop-down list help Hi this is 
  a part of the page I developed.. (Ofcourse a commercialapplication..) 
  I have a class called DropDownCollections.java Now in the class I have a 
  method getMonths() which will return me a collection of months..I 
  am using the months collection to populate the options..You can 
  actually use an html:select instead of a nested:selectThe 
  getMonths() returns a set of beans having two attributes key and value.. 
  Key will be the month numbers 1,2,3,4.. While value will be month names 
  Jan, Feb,.. While the dropdown is rendered the month name will be shown.. 
  When the page is submitted the month num(key) will be set to the property 
  'month'Hope it helps..Swaroop-Original 
  Message-From: Rick Col [mailto:[EMAIL PROTECTED]] 
  Sent: Tuesday, July 22, 2003 6:24 PMTo: Struts Users Mailing 
  ListSubject: drop-down list helpHi, guys:I am a struts 
  newbie. I have spent sevaral days tryingbuild a struts page with 
  several drop-down lists invain. I am wondering there are any struts 
  drop downlists examples out there. I appreciate your help. 
  regards,__Do you 
  Yahoo!?SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED]-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED]





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: logic:iterate tag fails on large dataset, succeeds on smallone?

2003-07-22 Thread Nagendra Kumar O V S








  hi,
  this happens only when struts is unable to load the resources from 
  the bundle. make sure u have everything in place and restart web 
  application or server.
  also u may want to try getting that prompt.username from the bundle 
  using 
  in ur jsp to actually check if struts or validator is the 
  culprit.
   
  -- nagi
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, July 22, 
  2003 03:15:09 PM
  To: Struts Users Mailing 
  List
  Subject: Re: 
  logic:iterate tag fails on large dataset, succeeds on 
smallone?
   Hi,I am using struts validator in the logon.jsp of my 
  application. If I don'tenter the username & click on submit the 
  message displayed is "null isrequired". Instead it should be "Username 
  is required".The part of the code in the validator-rules.xml is 
  correct. I have givenmsg="errors.required"Also I have given 
  "errors.required={0} is required." &"prompt.username=Username" in 
  the ApplicationResources.properties file.Still it is giving the same 
  alert as "null is required" instead of"Username" is 
  required.The corresponding part in the validation.xml 
  isdepends="required, 
  minlength,maxlength">resource="false"/>resource="false"/>maxlength16minlength3Has 
  anybody experienced this problem earlier 
  ?prashant.-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



RE: web-app_2_2.dtd not found

2003-07-22 Thread Nagendra Kumar O V S








  hi,
  i have used jboss with the tomcat version and works well.
  i guess the problem would be, it is unable to find the struts.jar in 
  the class path
  so, try setting the classpath to struts.jar explicitly in ur jboss 
  startup file
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, July 22, 
  2003 02:49:10 PM
  To: 'Struts Users Mailing 
  List'
  Subject: RE: 
  web-app_2_2.dtd not found
   I am using jboss 3.0.7 and using the default servelet 
  container of jboss (jetty).-Original 
  Message-From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED]] Sent: 
  Tuesday, July 22, 2003 1:39 PMTo: [EMAIL PROTECTED]Subject: 
  Re: web-app_2_2.dtd not foundhi,what version of Jboss 
  and servlet container r u using?-- nagi---Original 
  Message---From: Struts Users Mailing <mailto:[EMAIL PROTECTED]> 
  ListDate: Tuesday, July 22, 2003 12:25:16 PMTo: 'Struts Users 
  Mailing <mailto:[EMAIL PROTECTED]> 
  List'Subject: web-app_2_2.dtd not foundWhen I'm trying to 
  deploy an application that uses Struts 1.1 on JBoss, I'm getting the 
  following error:java.io.FileNotFoundException: JAR entry 
  org/apache/struts/resources/web-app_2_2.dtd not foundAny possible 
  solution for 
  this?<http://www.incredimail.com/redir.asp?ad_id=309&lang=9> 
  IncrediMail - Email has finally evolved - <http://www.incredimail.com/redir.asp?ad_id=309&lang=9> 
  Click Here 





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: web-app_2_2.dtd not found

2003-07-22 Thread Nagendra Kumar O V S








  hi,
  what version of Jboss and servlet container r u using?
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, July 22, 
  2003 12:25:16 PM
  To: 'Struts Users Mailing 
  List'
  Subject: 
  web-app_2_2.dtd not found
   When I'm trying to deploy an application that uses Struts 
  1.1 on JBoss, I'm getting the following 
  error:java.io.FileNotFoundException: JAR entry 
  org/apache/struts/resources/web-app_2_2.dtd not foundAny possible 
  solution for this?





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



RE: error..!(Thnks Swaroop George)

2003-07-22 Thread Nagendra Kumar O V S








  ooops, i am sorry it is session scope.. i overlooked
   
  yes,virupaksha.. i am indian working in Hyderabad
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, July 22, 
  2003 12:36:11 PM
  To: Struts Users Mailing 
  List
  Subject: RE: 
  error..!(Thnks Swaroop George)
   HiI agree with nagendra..try 
  outinstead of 
  scope=request...ThanksPrashanthvirupaksha hosamath 
  <[EMAIL PROTECTED]> 
  wrote:Dear Nagendra,Still same error no change...!Still I 
  am not getting where will be the problem..?Hey Nagendra..? r u 
  indian..? where ur working..?I m indian working in 
  Malysia..thanks 4 
  mail,Regds,virupakshaNagendra Kumar O V S 
  wrote:FLAVOR00-NONE---;hey,u have saved ur 
  dataObject to the request with the name "list" .so ur jsp should look 
  something like thisShow 
  check it out!!-- nagi---Original 
  Message---From: Struts Users Mailing ListDate: Tuesday, 
  July 22, 2003 11:37:18 AMTo: [EMAIL PROTECTED]Cc: [EMAIL PROTECTED]Subject: 
  RE: error..!(Thnks Swaroop George)Dear Swaroop,Thanks 
  for ur response..!I just want to retrive data from the database 
  using bean Dept.java,I m not using any formbean here.just 
  instantiating Dept bean in ListDepartmentAction.java and displaying using 
  tag in jsp called DeptListing.jsp. Action mapping has done in 
  struts-config.xml.but still, i m getting same error. can u help me 
  out..?Model : Dept.java(to just retrive data from the 
  database.)Controller : ListDepartmentsAction.java(Instantiate class 
  Dept )View : DeptListing.jsp(iterate over bean and display)for 
  ur ref. i m sending code again pls. find..im getting same 
  errorThank you once again..please reply 
  meRegards,virupakshastruts-config-DeptListing.jsp-Show 
  ListDepartmentsAction.java--package 
  app;import javax.servlet.http.HttpServletRequest;import 
  javax.servlet.http.HttpServletRequest;import 
  org.apache.struts.action.Action;import 
  org.apache.struts.action.ActionForward;import 
  org.apache.struts.action.ActionMapping;public class 
  ListDepartmentsAction extends Action{public ActionForward 
  perform(ActionMapping mapping,ActionForm form,HttpServletRequest 
  request,HttpServletResponse response) throws Exception{Dept dept = new 
  Dept();request.getSession().setAttribute("list",dept.getDepartments);return 
  mapping.findForward("listing");}}-error--exception 
  javax.servlet.ServletException: Cannot find bean departments in scope 
  null at 
  org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:457) 
  at org.apache.jsp.DeptListing$jsp._jspService(DeptListing$jsp.java:187) at 
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at 
  org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202) 
  at 
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) 
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) 
  at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) 
  at 
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) 
  atorg.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 
  at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) 
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) 
  at 
  org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201) 
  at 
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 
  at 
  org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) 
  at 
  org.a

RE: error..!(Thnks Swaroop George)

2003-07-21 Thread Nagendra Kumar O V S








  hey,
  u have saved ur dataObject to the request with the name "list" 
.
  so ur jsp should look something like this
   
  <%@ taglib uri="strutslogic" prefix="logic" %><%@ taglib 
  uri="strutsbean" prefix="bean" %><%@ taglib uri="strutshtml" 
  prefix="html" %> 
   Show 
   
  
  check it out!!
   
  -- nagi
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, July 22, 
  2003 11:37:18 AM
  To: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Subject: RE: 
  error..!(Thnks Swaroop George)
   Dear Swaroop,Thanks for ur response..!I 
  just want to retrive data from the database using bean Dept.java,I m 
  not using any formbean here.just instantiating Dept bean in 
  ListDepartmentAction.java and displaying using  tag 
  in jsp called DeptListing.jsp. Action mapping has done in 
  struts-config.xml.but still, i m getting same error. can u help me 
  out..?Model : Dept.java(to just retrive data from the 
  database.)Controller : ListDepartmentsAction.java(Instantiate class 
  Dept )View : DeptListing.jsp(iterate over bean and display)for 
  ur ref. i m sending code again pls. find..im getting same 
  errorThank you once again..please reply 
  meRegards,virupakshastruts-config-DeptListing.jsp-<%@ 
  taglib uri="strutslogic" prefix="logic" %><%@ taglib 
  uri="strutsbean" prefix="bean" %><%@ taglib uri="strutshtml" 
  prefix="html" %>  Show 
   
  ListDepartmentsAction.java--package 
  app;import javax.servlet.http.HttpServletRequest;import 
  javax.servlet.http.HttpServletRequest;import 
  org.apache.struts.action.Action;import 
  org.apache.struts.action.ActionForward;import 
  org.apache.struts.action.ActionMapping;public class 
  ListDepartmentsAction extends Action{public ActionForward 
  perform(ActionMapping mapping,ActionForm form,HttpServletRequest 
  request,HttpServletResponse response) throws Exception{Dept dept = new 
  Dept();request.getSession().setAttribute("list",dept.getDepartments);return 
  mapping.findForward("listing");}}-error--exception 
  javax.servlet.ServletException: Cannot find bean departments in scope 
  null at 
  org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:457) 
  at org.apache.jsp.DeptListing$jsp._jspService(DeptListing$jsp.java:187) at 
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at 
  org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202) 
  at 
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) 
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) 
  at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) 
  at 
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) 
  atorg.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 
  at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) 
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) 
  at 
  org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201) 
  at 
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 
  at 
  org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) 
  at 
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) 
  at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) 
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) 
  at 
  org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) 
  at 
  org.apache.catalina.core.StandardHostValve.invoke(StandardHostValv

Re: Nested Bean Problem

2003-07-21 Thread Nagendra Kumar O V S








  hi,
  here goes the piece of code
   
  
      
  
      
  
      
  
      
          
  
          
  
          
  
          
              
  
  
              
  
  
              
  
          
      
  
   
  hoep this helps
   
  -- nagi
   
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, July 22, 
  2003 09:45:44 AM
  To: Struts Users Mailing 
  List
  Subject: Nested Bean 
  Problem
   Hi,I have a problem handling nested 
  beans..For example...I have a userBean as given belowprivate 
  int userID;private String lastName;private String 
  firstName;private ArrayList roleUser;Where the last field 
  Arraylist is the arraylist of the objects of the beancalled 
  roleUserBean.Again the roleUserBean has the following 
  properties.private int roleid;private String desc;private 
  String name;private ArrayList menuComponent;The last property 
  menuComponent is the arrayList of objects of the beancalled 
  menuComponentBean.Now the menuComponentBean containsprivate 
  int menuID;private String menuName;private String 
  description;I have put the userBean in the session scope. But 
  I don't know how can Idrill down from the userBean to one of the 
  menuName. I want to display themenu dynamically getting the menu items 
  from the userBean.How can I use the  tag to get 
  all the menuNames from theuserBean? Or is there any other efficient 
  way in which I can get themenuNames to be displayed in my JSP(view) 
  part.Thanks in advance.Prashant M 
  Desai.-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



validator sequence execution

2003-07-21 Thread Nagendra Kumar O V S








  hI,
  i have something like this my validation.xml
      
      
      
      
      
      
      
  mask    
  ^\d{1}*(.\d{1,2})?$    
      
      
  min    
  1.00    
      
      
  max    
  99.99    
      
  
  but the execution order in my jsp is
     return validateMask(form) 
  && validateRequired(form) && validateInteger(form) 
  && validateFloat(form) && validateIntRange(form) 
  && validateFloatRange(form); 
  it is validating "mask" at the first place though i have mentioned it 
  in the last. is it the way the validator works or can i mention the 
  sequence elsewhere
       
      TIA
  --nagi
   
  Nagendra Kumar O V S
  Member Technical Staff
  Ikigo India Private Ltd.
  470-B, Road No. 36,
  Jubilee Hills,
  Hyderabad 500033
  Contact(O): 23544671
  Cell: 98482-41789





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Problem while using validator framework

2003-07-17 Thread Nagendra Kumar O V S








  hi,
  "validwhen" is not defined in ur validator-rules..
   
  and i guess u have gone thro' the 1.1 release docs.. which talks 
  about implementing the validwhen validator in the next release..
  as of now it does't have validwhen rule
   
  -- nagi
   
   
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Thursday, July 
  17, 2003 02:27:52 PM
  To: Struts Users Mailing List 
  (E-mail)
  Subject: Problem while 
  using validator framework
   Hello everybody,I am trying to run a small 
  application which validates a field.But when i run the appilcation, i 
  am getting the following error" Validator - -No ValidatorAction called 
  validwhen found for field method"The following is my struts.config 
  filetype="OrderAction"name="orderForm"input="/order.jsp"scope="request">  
  value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>The following is my 
  validation.xmltest 
  (*this* != 
  null)i 
  am using weblogic 6.1.pls advise .Prashant 
  S.-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Backen Error Messages

2003-07-17 Thread Nagendra Kumar O V S








  struts always gets the action error from app resources.
  lets assume u have
  error.sample={0} 
  in ur application resources 
   
  and 
   
  errors.add("error", new ActionError("error.sample","<%= 
  back_end_message %>"));
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Thursday, July 
  17, 2003 02:27:23 PM
  To: Struts Users Mailing 
  List
  Subject: Backen Error 
  Messages
   Hi to all,in struts I only know the error-construct 
  from actionClass:errors.add("error", new 
  ActionError("foo.message3"));But i don´t want to show a message 
  formApplicationRessources.properties-File.I get error messages 
  from a Backen-System and I want to show these Messageson the 
  jsp-Site.How can I fill the errors-Object with these 
  values.Greetings,Manuel 
  Lenz-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Acces form name in the jsp

2003-07-17 Thread Nagendra Kumar O V S








  hi,
   
  u can use "nested" taglib which will not require "name" attribute, it 
  takes the form_name associated with the 
   
   
  ...
  
   
  -- nagi
   
   
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Thursday, July 
  17, 2003 01:23:32 PM
  To: [EMAIL PROTECTED]
  Subject: Acces form 
  name in the jsp
   HiI want to know if there is any way to obtain the 
  form name associated toa JSP without put it form the 
  strut-config.Because, if the name of the form change on the 
  strut-config; i have tochange the name of the form in all of my 
  JSP's.Example of the problem:...value="true">.Thanks.-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: difficult problem, preventing population

2003-07-15 Thread Nagendra Kumar O V S








   
  hi,
  struts does support for transaction tokens , pl check the struts docs 
  for the api & implementation
   
  -- nagi
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Wednesday, July 
  16, 2003 07:24:58 AM
  To: [EMAIL PROTECTED]
  Subject: difficult 
  problem, preventing population
   I have the following scenario occuring.I have a 
  form with several fields on it (the fields are sourced to a collection 
  in an ActionForm).I have a button that allows the removal of fields 
  from the form (items from the collection).If a user removes a 
  field from the form and then double submits/clicks back and reloads 
  then anexception is thrown from BeanUtils.populate() because it 
  attempts to take details from the (nowremoved field) and populate 
  it into the object that is stored in the position it was located in 
  thecollection. Obviously since the collection is now smaller this 
  results in anIndexOutOfBoundsException.Is there any way to 
  examine the transaction token from the form prior to the form bean 
  beingpopulated and then avoid population of the form bean if the token 
  is not valid?Help with this problem would be greatly 
  appreciated.Rob-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Where to build dropdown lists?

2003-07-15 Thread Nagendra Kumar O V S








  hi,
  u can set the collection object as the request  attribute 
  for the first time in the action class.
  so as long u use the same request , u will not need to repopulate the 
  list again.
   
  reset is not the right place to populate ur dropdowns
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, July 15, 
  2003 02:22:41 PM
  To: [EMAIL PROTECTED]
  Subject: Where to build 
  dropdown lists?
   Sorry if this is a stupid question, but any help is much 
  appreciated!I have some drop down lists that I populate in my 
  action class, which means I call myPage.do each time. This was working 
  nicely, until I tried adding some validation. If this fails the action 
  class is not called and then when the page tries to find the bean 
  containing the list for the drop down it does not exist! Previously we 
  built the lists in the reset function in the form class, but I was wanting 
  to move all the code out of here with the idea of using the dyna 
  forms.So I was wanting to know, is my only option to build my 
  dropdowns as part of my reset functions?Thanks for any 
  helpIV-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: How to use

2003-07-15 Thread Nagendra Kumar O V S








  hi,
  u can use 
  for ex. u have action form 
  private Date date1;
   
  if u want to format that using bean:write
  
  this renders the date using that format(simpledate format)
  if u want this format from application resouces , use formatkey which 
  will get the value from the resources.
   
   
  --nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, July 15, 
  2003 02:57:30 PM
  To: [EMAIL PROTECTED]
  Subject: How to use 
  
   Hi ,Can anybody let me know how to use "bean:write" 
  for formatting the text.What is the difference between format / 
  formaKey in Bean:write attributes ?What are all the valid message 
  format texts that I can use in ApplicationResourse. Kishore Kumar 
  KCovansys India Pvt Ltd*:- [EMAIL PROTECTED]*:- 
  91-44-22628080-6877-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: table dispaly

2003-07-14 Thread Nagendra Kumar O V S








  hi,
  well, i can't give a sample code at this point of time.. i can give a 
  overview of ur requirement..
  1. create a javabean(with id of the row,col1,col2 col3.) . with 
  all setter and getter methods... - ( JBean)
  2. populate each row with each JBean. 
  3. store this each bean in an collection object and set this to the 
  request object or action form or ...
  4. now in ur jsp page u have iterate thro' this collection object and 
  populate ur table with the values
  5. make the id of the row to be the value of the checkbox
  6. so when the use checks the box to be deleted , u can capture that 
  and try to delete them
   
  hope this helps u
   
  --nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Monday, July 14, 
  2003 12:26:07 PM
  To: [EMAIL PROTECTED]
  Subject: table 
  dispaly
   Hi,I have a table like screen :Column A 
  Column B Column C ...(Check Box) (lable) (lable)The only 
  editable field is checkbox that is used for deleting rowsin the 
  table.One can imagine typical mailinteface(yahoo/hotmail)How I can 
  achieve this?I'm confused about displaying as well ascapturing output 
  for delete action.Can anyone send me sample code for this type of 
  page includingform bean..or any guideline! I think this type of 
  situation is common..please helpUrgent help 
  required.-AB___Click 
  below to experience Sooraj R Barjatya's latest offering'Main Prem Ki 
  Diwani Hoon' starring Hrithik, Abhishek& Kareena http://www.mpkdh.com-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Populating form from request parameters in JSP

2003-07-11 Thread Nagendra Kumar O V S








  hi,
  your two jsp pages have  different  action forms associated 
  with them. so u cant expect the second jsp page to autopupulate the 
  previous request parameters. u have to go thro' the struts thing(action 
  class) which will then autopopulate ur new action form and then the jsp 
  page associated will show the values..
   
  if both ur jsp pages share a single action form(which is in session) 
  then the second jsp page will automatically show the values
   
  hope its clear now
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Friday, July 11, 
  2003 12:33:32 PM
  To: [EMAIL PROTECTED]
  Subject: Populating 
  form from request parameters in JSP
   Hello,I know this question has probably been 
  asked several times. But,possibly a Struts developer can explain 
  because I am confused.Generally, my action classes receive posted 
  data, query the database, put the query result as request attribute 
  and then forward to the next JSP.However, I find that form 
  properties in the next JSP dont getauto-populated from the request 
  parameters. So, I define a newaction class (associated with the next 
  form), and use it simplyfor forwarding. And then I can see the form 
  properties auto-populated.So, why is this extra step (or extra 
  action class) needed ?Or am doing something wrong here 
  ?Please 
  clarify,Ajay-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED]. 





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



RE: Validate method going in infinite Loop

2003-07-10 Thread Nagendra Kumar O V S





  
  

   
   
  hi,
  well then..
  do not perform any validations in the validate method. (leave it 
  empty).
  do this email validation in the action class. so if ur email is 
  invalid add that to errors and also get other data from db and then 
  forward to jsp.
  so this will display both ur error and other db data
   
  make sure u create the errors object as usual and u shoud save those 
  errors to the request object using
  saveErrors(errors,request)
   
  --nagi
   
   
  ---Original Message---
   
  
  From: Pankaj Borgaonkar
  Date: Thursday, July 
  10, 2003 12:45:24 PM
  To: Struts Users Mailing 
  List; Nagendra Kumar O V 
  S
  Subject: RE: Validate 
  method going in infinite Loop
   
  Thanks Nagendra
   
  But on the 
  JSP page I want to show both the errors as well as the data ( 
  form bean variable which are populated in the performAction() method of 
  action class. )
  i.e. in 
  validate method if email address is invalid then I am adding the errors 
  and forwarding to JSP page, this page will show the errors only but not 
  the formbean values 
  as it has not 
  gone into the performAction(). So I need to show the errors also and the 
  data also from database. This data is not used for validating the email 
  address but it is used for showing some  suggested email 
  addresses.
   
  Please reply 
  
  Pankaj 
  
   
  

-Original Message-From: Nagendra 
Kumar O V S [mailto:[EMAIL PROTECTED] Sent: Thursday, July 
10, 2003 12:43 PMTo: 
[EMAIL PROTECTED]Subject: Re: Validate method 
going in infinite Loop

  
  

  hi pankaj,
   
  type="com.onstar.myonstar.process.web.controller.EmailCreationAction" 
  name="emailCreationForm" 
  validate="true"scope="request"input="/emailcreation.mo"> 
  path="/jsp/virtualadvisor/emailcreation/va_pr_emailsetup_main.jsp"redirect="false"/> 
  ** this action mapping goes into a infinite loop , becos, if 
  u find an error ur calling emailcreation.mo(input parameter). that 
  is it is calling itself. and hence infinte loop. everytime u call 
  emailcreation.mo , validate method will be called.
   
   
  type="com.onstar.myonstar.process.web.controller.EmailCreationAction" 
  name="emailCreationForm" 
  validate="true"scope="request"input="/jsp/virtualadvisor/emailcreation/va_pr_emailsetup_main.jsp">path="/jsp/virtualadvisor/emailcreation/va_pr_emailsetup_main.jsp"redirect="false"/>** 
  this seems to be ok , becos ur forwarding the controll to 
  /jsp/virtualadvisor/emailcreation/va_pr_emailsetup_main.jsp(input 
  parameter) and the jsp page should display ur error. and if u want 
  to get data from db(for validation) , get it from validate method 
  only. ur control will never go action class unless all the 
  validations are success..
   
  --nagi
   
   
  ---Original 
  Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Thursday, 
  July 10, 2003 12:11:05 PM
  To: [EMAIL PROTECTED]
  Subject: 
  Validate method going in infinite Loop
   Hi All,I am validating email address 
  entered by user, using in validate methodof formBean. If the 
  email address is invalid I am adding the errors. Struts 
  Config entries:type="com.onstar.myonstar.process.web.controller.EmailCreationAction" 
  name="emailCreationForm" 
  validate="true"scope="request"input="/jsp/virtualadvisor/emailcreation/va_pr_emailsetup_main.jsp">path="/jsp/virtualadvisor/emailcreation/va_pr_emailsetup_main.jsp"redirect="false"/>ORtype="com.onstar.myonstar.process.web.controller.EmailCreationAction" 
  name="emailCreationForm" 
  validate="true"scope="request"input="/emailcreation.mo"> 
  path="/jsp/virtualadvisor/emailcreation/va_pr_emailsetup_main.jsp"redirect="false"/>Second 
  one is going into the loop and first one is not getting 
  thevalues from database as the request is goin

Re: Validate method going in infinite Loop

2003-07-10 Thread Nagendra Kumar O V S








  hi pankaj,
   
  type="com.onstar.myonstar.process.web.controller.EmailCreationAction" 
  name="emailCreationForm" 
  validate="true"scope="request"input="/emailcreation.mo"> 
  path="/jsp/virtualadvisor/emailcreation/va_pr_emailsetup_main.jsp"redirect="false"/> 
  ** this action mapping goes into a infinite loop , becos, if u find 
  an error ur calling emailcreation.mo(input parameter). that is it is 
  calling itself. and hence infinte loop. everytime u call emailcreation.mo 
  , validate method will be called.
   
   
  type="com.onstar.myonstar.process.web.controller.EmailCreationAction" 
  name="emailCreationForm" 
  validate="true"scope="request"input="/jsp/virtualadvisor/emailcreation/va_pr_emailsetup_main.jsp">path="/jsp/virtualadvisor/emailcreation/va_pr_emailsetup_main.jsp"redirect="false"/>** 
  this seems to be ok , becos ur forwarding the controll to 
  /jsp/virtualadvisor/emailcreation/va_pr_emailsetup_main.jsp(input 
  parameter) and the jsp page should display ur error. and if u want to get 
  data from db(for validation) , get it from validate method only. ur 
  control will never go action class unless all the validations are 
  success..
   
  --nagi
   
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Thursday, July 
  10, 2003 12:11:05 PM
  To: [EMAIL PROTECTED]
  Subject: Validate 
  method going in infinite Loop
   Hi All,I am validating email address entered by 
  user, using in validate methodof formBean. If the email address is 
  invalid I am adding the errors. Struts Config 
  entries:type="com.onstar.myonstar.process.web.controller.EmailCreationAction" 
  name="emailCreationForm" 
  validate="true"scope="request"input="/jsp/virtualadvisor/emailcreation/va_pr_emailsetup_main.jsp">path="/jsp/virtualadvisor/emailcreation/va_pr_emailsetup_main.jsp"redirect="false"/>ORtype="com.onstar.myonstar.process.web.controller.EmailCreationAction" 
  name="emailCreationForm" 
  validate="true"scope="request"input="/emailcreation.mo"> 
  path="/jsp/virtualadvisor/emailcreation/va_pr_emailsetup_main.jsp"redirect="false"/>Second 
  one is going into the loop and first one is not getting thevalues from 
  database as the request is going to JSP not to action classi.e the 
  formbean values are not populate.How can I overcome this 
  problem.Thanks in Advance RegardsPankaj 
  BorgaonkarWipro 
  Technologies**DisclaimerInformation 
  contained in this E-MAIL being proprietary to Wipro Limited is 
  'privileged' and 'confidential' and intended for use only by the 
  individualor entity to which it is addressed. You are notified that 
  any use, copying or dissemination of the information contained in the 
  E-MAIL in any manner whatsoever is strictly 
  prohibited.***





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



RE: What should be in validate() method when using struts validator package

2003-07-09 Thread Nagendra Kumar O V S








  HI again
  this pdf gives u good start to the validator framework
  http://www.manning.com/husted/chap12.pdf
   
  also u can deploy the struts-validator.war that comes with the struts 
  release and go thro' the jsps, validator.xml, validator-rules.xml
   
  --nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Thursday, July 
  10, 2003 12:10:40 PM
  To: 'Struts Users Mailing 
  List'
  Subject: RE: What 
  should be in validate() method when using struts validator 
  package
   Can you please explain how to use validator for client 
  side validations? Any sample code on the web (links would be 
  helpful).ThanksSriram-Original 
  Message-From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED]] Sent: 
  Thursday, July 10, 2003 11:59 AMTo: [EMAIL PROTECTED]Subject: 
  Re: What should be in validate() method when using struts validator 
  packagehi,struts validator provides both client side 
  as well as server side validations.if u want to use the serverside 
  validations , u have to extend the validatorForm instead of ActionForm and 
  remove the validate() method all together.but, in my application, i am 
  using validator for client side validations and on the server side i still 
  use plain vanilla Action forms and validation method (for validations) for 
  my own business requirements.so its a matter of 
  choice.--nagi---Original Message---From: 
  Struts Users Mailing <mailto:[EMAIL PROTECTED]> 
  ListDate: Thursday, July 10, 2003 11:42:11 AMTo: 'Struts Users 
  Mailing <mailto:[EMAIL PROTECTED]> 
  List'Subject: What should be in validate() method when using struts 
  validator packageWhat should be in validate() method when we use 
  Struts Validator package?Should it be an empty method?My 
  current validate() method (without using Struts Validator) is as 
  follows:(What should it be if I implement validations in 
  validator-rules.xml and validations.xml)? Pl. suggest.public 
  ActionErrors validate(ActionMapping 
  mapping,javax.servlet.http.HttpServletRequest request) {// 
  maintenance forms do new, update and delete, but also searches and create 
  new for// fkey resolvers. Only new and update actually need 
  validation.if (!lrAction_.equals("New") && 
  !lrAction_.equals("Update")) return null;ActionErrors errs = new 
  ActionErrors();SupportValues support = new 
  SupportValues();try 
  {support.setContactName(contactName_);} catch 
  (IllegalArgumentException ex) {errs.add(FLD_CONTACT_NAME,new 
  ActionError("supportviewform.error_contact_name",ex.getMessage()));}try 
  {support.setContactDetail(contactDetail_);} catch 
  (IllegalArgumentException ex) {errs.add(FLD_CONTACT_DETAIL,new 
  ActionError("supportviewform.error_contact_detail",ex.getMessage()));}try 
  {support.setPhoneNo(phoneNo_);} catch (IllegalArgumentException 
  ex) {errs.add(FLD_PHONE_NO,new 
  ActionError("supportviewform.error_phone_no",ex.getMessage()));}try 
  {support.setEmailAddr(emailAddr_);} catch 
  (IllegalArgumentException ex) {errs.add(FLD_EMAIL_ADDR,new 
  ActionError("supportviewform.error_email_addr",ex.getMessage()));}try 
  {support.setSubject(subject_);} catch (IllegalArgumentException 
  ex) {errs.add(FLD_SUBJECT,new 
  ActionError("supportviewform.error_subject",ex.getMessage()));}try 
  {support.setMessage(message_);} catch (IllegalArgumentException 
  ex) {errs.add(FLD_MESSAGE,new 
  ActionError("supportviewform.error_message",ex.getMessage()));} if 
  (errs.empty()) return null;// preserve selected values in the 
  form, so on error don't lose them 
  all.preserveSelectedValues(request);return errs;} // end 
  of 
  validate<http://www.incredimail.com/redir.asp?ad_id=309&lang=9> 
  IncrediMail - Email has finally evolved - <http://www.incredimail.com/redir.asp?ad_id=309&lang=9> 
  Click Here 





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: problem in Logout Action and No cache using struts

2003-07-09 Thread Nagendra Kumar O V S








  have u tried 
      
  in ur struts config
   
  --nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Thursday, July 
  10, 2003 11:37:14 AM
  To: Struts Users Mailing List 
  \(E-mail\)
  Subject: problem in 
  Logout Action and No cache using struts
   Hi All,well iam working on a application using struts 
  all works fine.but iam not able to solve one problem.My 
  application should behave like a wizard.i don't want to user just go 
  backon clicking browser buttonBut still no able to do that And 
  after application complete itsfunctionality i want that user will 
  logout from system and not able toaccess whole applicationbut 
  still i am trying to implement it by using "pragma" "no-cache" etc. 
  someMETA_ENV but not able to do that some people suggesting me to make 
  sessionfor logout but i don't want to use session for my 
  application.Can struts play any major role in that because 
  ultimately ActionForms areproviding data to web pageCan 
  anybody help me or any 
  suggestionthanksSachin-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: What should be in validate() method when using struts validator package

2003-07-09 Thread Nagendra Kumar O V S








  hi,
  struts validator provides both client side as well as server side 
  validations.
  if u want to use the serverside validations , u have to extend the 
  validatorForm instead of ActionForm and remove the validate() method all 
  together.
  but, in my application, i am using validator for client side 
  validations and on the server side i still use plain vanilla Action forms 
  and validation method (for validations) for my own business 
  requirements.
  so its a matter of choice.
   
  --nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Thursday, July 
  10, 2003 11:42:11 AM
  To: 'Struts Users Mailing 
  List'
  Subject: What should be 
  in validate() method when using struts validator package
   What should be in validate() method when we use Struts 
  Validator package?Should it be an empty method?My current 
  validate() method (without using Struts Validator) is as follows:(What 
  should it be if I implement validations in validator-rules.xml and 
  validations.xml)? Pl. suggest.public ActionErrors 
  validate(ActionMapping mapping,javax.servlet.http.HttpServletRequest 
  request) {// maintenance forms do new, update and delete, but also 
  searches and create new for// fkey resolvers. Only new and update 
  actually need validation.if (!lrAction_.equals("New") && 
  !lrAction_.equals("Update")) return null;ActionErrors errs = new 
  ActionErrors();SupportValues support = new 
  SupportValues();try 
  {support.setContactName(contactName_);} catch 
  (IllegalArgumentException ex) {errs.add(FLD_CONTACT_NAME,new 
  ActionError("supportviewform.error_contact_name",ex.getMessage()));}try 
  {support.setContactDetail(contactDetail_);} catch 
  (IllegalArgumentException ex) {errs.add(FLD_CONTACT_DETAIL,new 
  ActionError("supportviewform.error_contact_detail",ex.getMessage()));}try 
  {support.setPhoneNo(phoneNo_);} catch (IllegalArgumentException 
  ex) {errs.add(FLD_PHONE_NO,new 
  ActionError("supportviewform.error_phone_no",ex.getMessage()));}try 
  {support.setEmailAddr(emailAddr_);} catch 
  (IllegalArgumentException ex) {errs.add(FLD_EMAIL_ADDR,new 
  ActionError("supportviewform.error_email_addr",ex.getMessage()));}try 
  {support.setSubject(subject_);} catch (IllegalArgumentException 
  ex) {errs.add(FLD_SUBJECT,new 
  ActionError("supportviewform.error_subject",ex.getMessage()));}try 
  {support.setMessage(message_);} catch (IllegalArgumentException 
  ex) {errs.add(FLD_MESSAGE,new 
  ActionError("supportviewform.error_message",ex.getMessage()));} if 
  (errs.empty()) return null;// preserve selected values in the 
  form, so on error don't lose them 
  all.preserveSelectedValues(request);return errs;} // end 
  of validate





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Cancel button not working?

2003-07-09 Thread Nagendra Kumar O V S








  i am using struts1.1 final and i don't find any probs with the cancel 
  button
   
  --nagi
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Wednesday, July 
  09, 2003 05:46:35 PM
  To: [EMAIL PROTECTED]
  Subject: Re: Cancel 
  button not working?
   I am trying this on Struts 1.1 final. Will this make any 
  difference..>>> [EMAIL PROTECTED] 07/08/03 05:11PM 
  >>>Odd, I can't reproduce that in 1.1-rc1. Unless 
  you'reextending something which might override 
  theisCancelled(HttpServletRequest) method, or thehtml:cancel tag 
  is not contained within an html:formtag, I can't think of anything 
  else.m--- Sashi Ravipati <[EMAIL PROTECTED]> 
  wrote:> This is how I have my cancel tag.> > 
  > > > > 
  >>> [EMAIL PROTECTED] 
  07/08/03 02:27PM  The complete content of your 
  html:cancel tag is> probably key to solving this problem.> 
  > m> > --- Sashi Ravipati <[EMAIL PROTECTED]> 
  wrote:> > > > isCancelled(request) is always returning 
  false> > (Even when cancel button> > is 
  clicked)> > > > Need some help...> > 
  > > Thanks> > > > > > >>> 
  [EMAIL PROTECTED] 
  07/08/03 09:10AM  > I have a  in 
  my jsp page. and in my> > action I have> > > 
  > if(isCancelled(request)){> > return 
  mapping.findForward("index"); > > }> > > > 
  > > But it is not working. What am I doing wrong here.> 
  I> > am using Struts 1.1> > final> > 
  > > Thanks> > > > > 
  __> Do you Yahoo!?> SBC 
  Yahoo! DSL - Now only $29.95 per month!> http://sbc.yahoo.com> 
  >-> 
  To unsubscribe, e-mail:> [EMAIL PROTECTED]> 
  For additional commands, e-mail:> [EMAIL PROTECTED]> 
  __Do you Yahoo!?SBC 
  Yahoo! DSL - Now only $29.95 per month!http://sbc.yahoo.com-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED]





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Refreshing screens

2003-07-08 Thread Nagendra Kumar O V S








  hi,
  1. first thing u need to do is turn off the client caching by setting 
  nocache=true in the controller element of the struts-config file
  2. if this does't solve ur problem, pl check if ur updating the 
  records in the scope after updating to the datasource.
   
  -- nagi
   
   
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Wednesday, July 
  09, 2003 11:58:21 AM
  To: 'Struts Users Mailing 
  List'
  Subject: Refreshing 
  screens
   HiThis is a question about the best practice 
  followed when refreshingscreens to reflect new data in the 
  database.1. View 1 has a 'search' button.2. The searched 
  records are displayed with a hyperlink for editingthem.3. The edit 
  page opens a new JSP. After editing the first page isshown 
  again.4. The edited values will not be reflected until the 'search' 
  buttonis clicked another time in the first page. The records are in 
  the scope inthe presentation tier.What is the popular practice 
  for this ? It is something like yahoomail that doesn't refresh the 
  screenautomatically.Do I call the same 'search' action every 
  time I edit a record sothat the user need not click the button 
  ?Mohan-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: NewBie: Wizard screens

2003-07-07 Thread Nagendra Kumar O V S








  hi,
  usually when u want to use wizard screens, as in your case, u 
  can share a single form-bean across multiple jsp pages , by giving the 
  same name for the action form in the action mapping and set the scope to 
  session.
   this way all the wizard jsp pages will use a single 
  form-bean(which is in session) , so u will have no probs..
   
  hope this helps u
   
  --nagi.
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, July 08, 
  2003 10:18:19 AM
  To: [EMAIL PROTECTED]
  Subject: NewBie: Wizard 
  screens
   Hello ,I have to design a wizard screens in which the 
  flow goes from one Jsp to other using naviagation. In each naviagtion 
  there is some business processing which is required.I have a table 
  which I have populated in the Jsp2, which has one column as checkboxes. I 
  have used multibox for the same. User can select any of the checkboxes and 
  based on the selection i need to pick the record for further processing in 
  the subsequent screens.I have populated is using a iterate tag over a 
  Arraylist which was populated in the Action and form bean associated with 
  JSP1.Now what i dont get is where will the check box be set ( as 
  the getter and setter for the data in the table is in Formbean1) and how 
  will I get the values of the checkboxes in the next screen. The Formbean 
  and Action class for the JSP2(where the table is shown) is currently 
  dummy.Thanks in advance 
  Sussu-Do you 
  Yahoo!?SBC Yahoo! DSL - Now only $29.95 per month!





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Form bean is not stored in request

2003-07-07 Thread Nagendra Kumar O V S








  hi,
  change the scope to session , just to track down the problem.
  also make sure u have properly defined the form-bean == suchen 
  to SuchenForm  in the config
  remove attribute "attribute" in the action mapping if not 
needed
   
   
  -nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Monday, July 07, 
  2003 03:09:19 PM
  To: Struts Users Mailing 
  List
  Subject: Re: Form bean 
  is not stored in request
   Hello again,it is actually struts that seems to 
  be expecting the form bean in therequest, under name given in 
  'attribute' in the mapping for the action. Atleast, the log-file tells 
  me that struts looks there for the form bean andcreates a new one if 
  it can't find it.Okay, here is the action mapping for 
  this:attribute="suchen"input="/index.jsp"name="suchen"path="/suchen"scope="request"type="de.zmnh.struts.action.SuchenAction" 
  />And this is the form bean (I did not copy the imports 
  btw):public class SuchenForm extends ActionForm {// 
  - 
  InstanceVariablesprivate org.apache.log4j.Logger log 
  =org.apache.log4j.Logger.getLogger(this.getClass().getName());private 
  TreeMap fields;private TreeMap params;private Integer 
  cnt;private boolean archivAnzeigen;private ArrayList 
  auswahl;// 
  - 
  Methodspublic SuchenForm(){fields = new TreeMap();params = 
  new TreeMap();cnt = new Integer(1);}/** * Method 
  validate* @param ActionMapping mapping* @param HttpServletRequest 
  request* @return ActionErrors*/public ActionErrors 
  validate(ActionMapping mapping,HttpServletRequest request) 
  {ActionErrors err = new ActionErrors();Integer temp = 
  (Integer)request.getSession().getAttribute("cnt");if(temp!=null 
  && 
  (temp.intValue()>cnt.intValue())){cnt=temp;}if(request.getParameter("mehr")!=null){LoggerSupport.logDebug("Counter: 
  "+cnt.intValue(),log);LoggerSupport.logDebug("Mehr Felder Button 
  gedrückt",log);cnt = new 
  Integer(cnt.intValue()+1);LoggerSupport.logDebug("Counter: 
  "+cnt.intValue(),log);}else 
  if(request.getParameter("weniger")!=null){LoggerSupport.logDebug("Counter: 
  "+cnt.intValue(),log);LoggerSupport.logDebug("weniger Felder Button 
  gedrückt",log);LoggerSupport.logDebug("Counter: 
  "+cnt.intValue(),log);} return err;}/** * Method 
  reset* @param ActionMapping mapping* @param HttpServletRequest 
  request*/public void reset(ActionMapping mapping, 
  HttpServletRequest request) 
  {this.archivAnzeigen=false;}/*** Returns the 
  field.* @return String*/public Object getField(String key) 
  {if(fields == null)return "";else 
  if(fields.get(key)==null)return "";return 
  this.fields.get(key);}public void setField(String key, String 
  value){this.fields.put(key,value);}/*** Returns the 
  fields.* @return String[]*/public TreeMap getFields() 
  {return fields;}/*** Returns the parameter.* 
  @return String*/public Object getParameter(String key) 
  {if(params == null)return "";else 
  if(params.get(key)==null)return "";return 
  this.params.get(key);}public void setParameter(String key, 
  String value){this.params.put(key,value);}/*** Returns 
  the params.* @return String[]*/public TreeMap getParams() 
  {return params;}/*** Sets the parameter.* @param 
  parameter The parameter to set*//*** Returns the 
  cnt.* @return int*/public Integer getCnt() {return 
  cnt;}/*** Feldauswahl*/public Collection 
  getSearchFields(){if(auswahl==null){auswahl = new 
  ArrayList();Properties search = new 
  Properties();try{FileInputStream in = 
  newFileInputStream(InventarKonfiguration.getHandle().getInvpropPath());search.load(in);}catch(Exception 
  e){LoggerSupport.logFatal(e,log);}int i=1;String 
  temp;while((temp=search.getProperty("search"+i))!=null){LoggerSupport.logDebug("Nächstes 
  Element für SearchFields Coll.:"+temp,log);SearchOption temp2=new 
  SearchOption(temp,search.getProperty("value"+i));auswahl.add(temp2);i++;}}return 
  auswahl;}/*** Returns the archivAnzeigen.* @return 
  boolean*/public boolean isArchivAnzeigen() {return 
  archivAnzeigen;}/*** Sets the archivAnzeigen.* @param 
  archivAnzeigen The archivAnzeigen to set*/public void 
  setArchivAnzeigen(boolean archivAnzeigen) {this.archivAnzeigen = 
  archivAnzeigen;}}Thanks for the 
  help.Greetings,Nadja-Nadja 
  SenoucciUniversitaet HamburgZentrum für Molekulare 
  NeurobiologieService-Gruppe EDVFalkenried 9420251 
  HamburgGermanyTel.:040 - 428 - 03 - 6619Fax.:040 - 428 - 03 - 
  6621-

Re: Form bean is not stored in request

2003-07-07 Thread Nagendra Kumar O V S








  can u paste the "action form class" code and the "struts-config 
  action mapping" here
   
  -nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Monday, July 07, 
  2003 02:45:34 PM
  To: [EMAIL PROTECTED]
  Subject: Form bean is 
  not stored in request
   Hello everyone,I have this weird little problem 
  and I don't know how to fix it. I have aform (actually I have many 
  forms but the others work just fine) and a formbean and action class 
  for it. Now when the form gets processed (afterhitting 'submit') its 
  form bean should get stored in the request. But itisn't for some 
  reason. When the action class now tries to access this formbean, it 
  can't find it in the request and creates a new one - whichresults in 
  exceptions since it doesn't have the data the form beanshould've 
  had.Any ideas why? I've checked the action mapping, it is set to 
  request andthere is an attribute defined for the form bean. I know the 
  form does notget stored in the request since that would usually be 
  logged in my logfile (it gets logged for all the other forms, anyway) 
  but there is no suchentry for it. I would include code with this email 
  but I have no ideawhere the error might be and I don't want to post 
  all of the code of thosetwo classes, the form and the action mapping 
  for it, since that would beway too much code, I fear... If you could 
  tell me what you need to look tofind out where the error is, I'll send 
  it in - and I'd greatly appreciateany kind of help. This error is 
  slowly driving me 
  crazy...Greetings,Nadja-Nadja 
  SenoucciUniversitaet HamburgZentrum für Molekulare 
  NeurobiologieService-Gruppe EDVFalkenried 9420251 
  HamburgGermanyTel.:040 - 428 - 03 - 6619Fax.:040 - 428 - 03 - 
  6621-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: variable passing.

2003-07-04 Thread Nagendra Kumar O V S







hi,try this.. indexId="ctr" scope="request"> 
   
hope this helps..--nagi---Original Message--- 
  From: Struts Users Mailing List
  Date: Friday, July 04, 2003 01:55:34 AM
  To: [EMAIL PROTECTED]
  Subject: variable passing. indexId="ctr" scope="request">   property="cat"/>I have a form "FormBean" and their I have a collection of other form and that collection is named "feeCat". I am iterating over it and displaying rows in a table in my jsp. Now on clicking one of this row I am going to "/foo.do" action. This action takes control to a different jsp with a diferent form bean.Now I want to pass the id of the row selected to the new jsp with a fresh form. How can I pass on this information. scope is request only.Thank you. :)Imran.Imran___Click below to experience Sooraj R Barjatya's latest offering'Main Prem Ki Diwani Hoon' starring Hrithik, Abhishek  & Kareena http://www.mpkdh.com-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Fw: date validation

2003-06-30 Thread Nagendra Kumar O V S





  
  

  
   
  HI,
  can i validate a date field to be less than or greater than the 
  current date using validator plug-in
  can anyone post the code here..
   
  TIA
  --nagi
   
  Nagendra Kumar O V S
  Member Technical Staff
  Ikigo India Private Ltd.
  470-B, Road No. 36,
  Jubilee Hills,
  Hyderabad 500033
  Contact(O): 23544671
  Cell: 98482-41789
  

  


  
  
    IncrediMail - 
Email has finally evolved - Click 
Here



date validation

2003-06-27 Thread Nagendra Kumar O V S








  HI,
  can i validate a date field to be less than or greater than the 
  current date using validator plug-in
  can anyone post the code here..
   
  TIA
  --nagi
   
  Nagendra Kumar O V S
  Member Technical Staff
  Ikigo India Private Ltd.
  470-B, Road No. 36,
  Jubilee Hills,
  Hyderabad 500033
  Contact(O): 23544671
  Cell: 98482-41789





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



RE: submitting back to opener page

2003-06-26 Thread Nagendra Kumar O V S








  hi,
  window.opener.document.forms[0].submit();does't work for me, says 
  "object does't support this property" i am using IE5.0
  window.opener.document.location.href="" works for me ,but i 
  want to submit the form to get the other form elements
   
  any clues?
   
  TIA
   
  -nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Thursday, June 
  26, 2003 12:22:34 PM
  To: 'Struts Users Mailing 
  List'
  Subject: RE: submitting 
  back to opener page
   If you want to submit the form in the original page, you 
  can try 
  _javascript_like:window.opener.document.forms[0].submit();If you 
  need to first set some values from the child 
  window:window.opener.document.forms[0].elements["field name"].value 
  =HTH-jaafarps: Matt will 
  probably correct me to forms[0]["field name"] above.-Original 
  Message-From: Andrew Hill [mailto:[EMAIL PROTECTED]]Sent: 
  Thursday, June 26, 2003 2:22 AMTo: Struts Users Mailing 
  ListSubject: RE: submitting back to opener pageMy app had 
  a similar requirement so what I did was have the popup submitdirectly 
  to the action and then the action returned a forward to a 
  page(displayed in the popup) that had _javascript_ to invoke a refresh 
  method inthe opener window and then to close its own (popup) 
      window.-Original Message-From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED]]Sent: 
  Thursday, 26 June 2003 14:13To: [EMAIL PROTECTED]Subject: 
  submitting back to opener pagehi,i have a jsp with a 
  button which opens up a new pop-up window. wheni say submit on the 
  pop-up window , i want to close the pop-up window and goto the action 
  class(do the needful) and now i want to refresh the openerpage(main 
  jsp).can i do this, if yes how??any 
  ideas...--nagiNagendra Kumar O V SMember Technical 
  StaffIkigo India Private Ltd.470-B, Road No. 36,Jubilee 
  Hills,Hyderabad 500033Contact(O): 23544671Cell: 
  98482-41789IncrediMail 
  - Email has finally evolved - Click 
  Here-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



submitting back to opener page

2003-06-25 Thread Nagendra Kumar O V S







hi,
  i have a jsp with a button which opens up a new pop-up window. when i 
  say submit on the pop-up window , i want to close the pop-up window 
  and go to the action class(do the needful) and now i want to refresh 
  the opener page(main jsp).
  can i do this, if yes how??
  any ideas...
   
  --nagi
   
  Nagendra Kumar O V S
  Member Technical Staff
  Ikigo India Private Ltd.
  470-B, Road No. 36,
  Jubilee Hills,
  Hyderabad 500033
  Contact(O): 23544671
  Cell: 98482-41789





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: - add parameters

2003-06-25 Thread Nagendra Kumar O V S








  HI,
  u will have to populate the map( with name,value pairs) and set this 
  map to ur action form, in the jsp give the name & property of the 
  map
  
  here taskForm is the action form to which params is set .this params 
  is 
  Map params = new HashMap();
  params.put("req1","reqvalue1");
  
  params.put("req2","reqvalue2");
  
  params.put("req3","reqvalue3");
  "params" is set to the corresponding action form
   
  -nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Wednesday, June 
  25, 2003 01:45:50 PM
  To: Struts Users Mailing 
  List
  Subject: 
  - add parameters
   Hi allI see that when using  
  tag I can add parameters to be passed onto the destination / action 
  too.So far I only needed a single parameter "id" but now I need one 
  more.I see that one can use java.util.Map to pass a list of parameters 
  via alink.The thing is how and where do I populate this 
  Map.The link I click on just basically goes through a action mapping 
  thatredirects to a desired jsp page.Could someone show me a 
  snippet regarding this 
  please.Thanks--Alen-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: refresh

2003-06-24 Thread Nagendra Kumar O V S








  HI,
  check out the "Tokens" concept with the struts documentation. which 
  solves ur problem
   
  -- nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Wednesday, June 
  25, 2003 07:41:28 AM
  To: [EMAIL PROTECTED]
  Subject: 
  refresh
   i have a time-in time-out application and i have a 
  timelogForm that captures the employee id and password. the saving of 
  in and out works fine. after saving the values to the database (im 
  using ejb by the way) im setting the employeeid and password in the 
  form to null so when the action returns to the same page the 
  employeeid and password textboxes are empty. but the bug is whenever i 
  refresh the browser, using the refresh button of the browser, the form 
  is like resubmitting its contents eventhough i have set the employee id 
  and password to null. so i have now double entries in the database for 
  the employee's time in. how can i resolve this bug?-- Frances 
  Aleah Z. De GuzmanSA/ProgrammerIngenium Technology, Inc.http://www.ingenium.com.phDisclaimer 
  :This message is intended only for the named recipient. If you are not 
  theintended recipient you are notified that disclosing, copying, 
  distributingor taking any action in reliance on the contents of this 
  information isstrictly 
  prohibited.-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Validator

2003-06-22 Thread Nagendra Kumar O V S








  hi,
  i agree with you , but i guess there is a bug in the validator. 

  since i have observed the same kind of problem with my 
  application.
   
  -nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Monday, June 23, 
  2003 10:34:15 AM
  To: Struts Users Mailing 
  List
  Subject: Re: 
  Validator
   Common-Validators Framework does not check Validation 
  file against DTD in run-time at all. I wonder, how removing DTD 
  declaration can help to change something in this case.- Original 
  Message - From: Nagendra Kumar O V S To: [EMAIL PROTECTED] 
  Sent: Sunday, June 22, 2003 9:42 PMSubject: RE: 
  ValidatorHI keith,comment your dtd declarations in both ur 
  validator.xml & validator-rules.xml and try.this should work 
  for u..-nagi---Original Message---From: 
  Struts Users Mailing ListDate: Friday, June 20, 2003 11:14:53 
  PMTo: 'Struts Users Mailing List'Subject: RE: 
  ValidatorThanks for the input.I'm pretty sure I've got all 
  that though. This validator stuff is drivingme insane! I wish my boss 
  would just let me use the validate method of theActionForms.- 
  Keith-Original Message-From: Sergey Smirnov [mailto:[EMAIL PROTECTED]]Sent: Friday, 
  June 20, 2003 12:52 PMTo: Struts Users Mailing ListSubject: Re: 
  ValidatorCommon mistake is: You forgot something or misspelt 
  something. Week ago Isent condition set you need to satisfy to make 
  common validator working. Itis bellow.For example, we have a 
  very simple jsp form andwant to use standard server-side validator 
  'required' for one form field.Actually, it might vary, but to do so 
  you have:1) Resource (.properties) file with keys/values for 
  standard validators (atleast - errors.required)2) struts-config 
  file should contain the reference to this resource file 
  formessage-resources node3) struts-config plug-in node should 
  containclassName="org.apache.struts.validator.ValidatorPlugIn"4) 
  this plugin should have set-property with name pathnames that 
  correspondsto validator files (such as /WEB-INF/validator-rules.xml 
  and/WEB-INF/validation.xml)5) validation.xml should contain form 
  with name corresponds to form-beanname6) the form should have a 
  field with property that corresponds to field namewe want to 
  validate7) this field should have a 'depends' attribute that 
  corresponds tovalidator name mentioned in /WEB-INF/validator-rules.xml 
  (in our case - withname 'required')8) this field should have an 
  arg0 node which attribute key corresponds toexisting key in resource 
  file9) form bean should inherit 
  org.apache.struts.validator.ValidatorForm class10) form bean validate 
  should call validate method of super class11) 'input' attribute of 
  action should reference to jsp page with validatedform12) jsp page 
  should contains  (or its 
  substitute)Regards,Sergey 
  Smirnov-Exadel Struts 
  Studio - IDE for Strutshttp://www.exadel.com/strutsStudio-- 
  Original Message - From: "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]>To: "Struts 
  (E-mail)" <[EMAIL PROTECTED]>Sent: 
  Friday, June 20, 2003 9:25 AMSubject: Validator> 
  Hey,> I'm trying to put validation into my application using the 
  validatorplugin.> However it doesn't seem like it's doing 
  anything at all. I know it's avery> general question, but what 
  are some things I should look for? Are thereany> common 
  mistakes in setting up that I should check for?>> I'm not 
  sure if it's a related issue or not, but I have to specify 
  thename> attribute for each field of my forms. You're not 
  supposed to have to> specify the name right? What do you think I 
  did wrong?>> Thanks in advance.>>> - 
  Keith>> 
  -IncrediMail 
  - Email has finally evolved - Click Here





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



RE: Validator

2003-06-22 Thread Nagendra Kumar O V S








  HI keith,
  comment your dtd declarations in both ur validator.xml & 
  validator-rules.xml and try.
   
  this should work for u..
   
  -nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Friday, June 20, 
  2003 11:14:53 PM
  To: 'Struts Users Mailing 
  List'
  Subject: RE: 
  Validator
   Thanks for the input.I'm pretty sure I've got all 
  that though. This validator stuff is drivingme insane! I wish my boss 
  would just let me use the validate method of theActionForms.- 
  Keith-Original Message-From: Sergey Smirnov [mailto:[EMAIL PROTECTED]]Sent: Friday, 
  June 20, 2003 12:52 PMTo: Struts Users Mailing ListSubject: Re: 
  ValidatorCommon mistake is: You forgot something or misspelt 
  something. Week ago Isent condition set you need to satisfy to make 
  common validator working. Itis bellow.For example, we have a 
  very simple jsp form andwant to use standard server-side validator 
  'required' for one form field.Actually, it might vary, but to do so 
  you have:1) Resource (.properties) file with keys/values for 
  standard validators (atleast - errors.required)2) struts-config 
  file should contain the reference to this resource file 
  formessage-resources node3) struts-config plug-in node should 
  containclassName="org.apache.struts.validator.ValidatorPlugIn"4) 
  this plugin should have set-property with name pathnames that 
  correspondsto validator files (such as /WEB-INF/validator-rules.xml 
  and/WEB-INF/validation.xml)5) validation.xml should contain form 
  with name corresponds to form-beanname6) the form should have a 
  field with property that corresponds to field namewe want to 
  validate7) this field should have a 'depends' attribute that 
  corresponds tovalidator name mentioned in /WEB-INF/validator-rules.xml 
  (in our case - withname 'required')8) this field should have an 
  arg0 node which attribute key corresponds toexisting key in resource 
  file9) form bean should inherit 
  org.apache.struts.validator.ValidatorForm class10) form bean validate 
  should call validate method of super class11) 'input' attribute of 
  action should reference to jsp page with validatedform12) jsp page 
  should contains  (or its 
  substitute)Regards,Sergey 
  Smirnov-Exadel Struts 
  Studio - IDE for Strutshttp://www.exadel.com/strutsStudio-- 
  Original Message - From: "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]>To: "Struts 
  (E-mail)" <[EMAIL PROTECTED]>Sent: 
  Friday, June 20, 2003 9:25 AMSubject: Validator> 
  Hey,> I'm trying to put validation into my application using the 
  validatorplugin.> However it doesn't seem like it's doing 
  anything at all. I know it's avery> general question, but what 
  are some things I should look for? Are thereany> common 
  mistakes in setting up that I should check for?>> I'm not 
  sure if it's a related issue or not, but I have to specify 
  thename> attribute for each field of my forms. You're not 
  supposed to have to> specify the name right? What do you think I 
  did wrong?>> Thanks in advance.>>> - 
  Keith>> 
  -> 
  To unsubscribe, e-mail: [EMAIL PROTECTED]> 
  For additional commands, e-mail: [EMAIL PROTECTED]>-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED]-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Logic:iterate

2003-06-19 Thread Nagendra Kumar O V S








  HI,
  where is ur "list" coming from??
   
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Friday, June 20, 
  2003 11:22:39 AM
  To: Struts Users Mailing 
  List
  Subject: 
  Logic:iterate
   Hello AllCan somebody pls explain how to use 
  I am using following 
  codeWhat I understood from the 
  documents is myCollection element will be create whenin doStartTag of 
  logic:iterate. And it will be stored in pageContext so that WriteTag 
  will access it. But I got the error that "myCollectionElement" is not 
  found in any scopeCan somebody pls explain this. or correct me if 
  I am wrong.Thanks in advanceShashank S. Dixit Senior 
  Software Engineer Datamatics Ltd. Contact: 28291253 ext 133 
  Mobile: 9820930075 Be brave against all odds. Never give 
  up.





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Struts validator, validating dates with pattern.

2003-06-18 Thread Nagendra Kumar O V S








   
  hi,
   use this syntax
      
    
  datePatternStrict  
  dd/MM/  
  
   
  -nagi
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Wednesday, June 
  18, 2003 04:13:45 PM
  To: [EMAIL PROTECTED]
  Subject: Struts 
  validator, validating dates with pattern.
   Hi.I'm using Struts 1.1 RC1 and wants to validate 
  a date in an input field asrequired and date. The part in 
  validation.xml describing the validation is :datePatterndd.MM.The 
  required field triggers, but regardless of value in the date field, 
  thedate validation does not trigger an error message. In the 
  applicationresources file, the errors.date field is 
  populated.Any help is greatly appreciated !Best 
  RegardsEirik Kjølsrud, 
  Norway-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED]. 





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



validator mask expression language

2003-06-11 Thread Nagendra Kumar O V S








  hi,
  where can i get help on the mask validator regular _expression_ 
  language
   
  --nagi
  Nagendra Kumar O V S
  Member Technical Staff
  Ikigo India Private Ltd.
  470-B, Road No. 36,
  Jubilee Hills,
  Hyderabad 500033
  Contact(O): 23544671
  Cell: 98482-41789





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



welcome file in web.xml

2003-06-10 Thread Nagendra Kumar O V S








  hi,
   can i use this in web.xml
   
        
  jsp/login.do?action="">  
  TIA
  --nagi
  Nagendra Kumar O V S
  Member Technical Staff
  Ikigo India Private Ltd.
  470-B, Road No. 36,
  Jubilee Hills,
  Hyderabad 500033
  Contact(O): 23544671
  Cell: 98482-41789





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: debugging in struts

2003-06-10 Thread Nagendra Kumar O V S








  hi,
  u have two init params(debug & detail) defined in the web.xml 
  which defines the debug and detail level of logging.
  these logs the file using log4j configuration
  i am not sure , if ur kind of detailed errors come here, try out by 
  giving a high "detail" level
   
        
  action    
  org.apache.struts.action.ActionServlet    
    
  config  
  /WEB-INF/struts-config.xml    
      
    
  debug  
  2    
      
    
  detail  
  1    
      
  2  
  
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, June 10, 
  2003 12:30:22 PM
  To: Struts Users Mailing 
  List
  Subject: debugging in 
  struts
   hi,I am not talking of any debugging tools but is 
  there any way in whichstruts api is more verbose. Like some 
  configuration paramFor eg I was using  it was not 
  printing any errors, eventhough validation framework was returning the 
  errors. I found that thethe value of msg attribute for validator tag 
  was wrong. But it was notgiving me any errors.How to detect such 
  errors ?TIAAshwani





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: doubt with dropdown list box

2003-06-06 Thread Nagendra Kumar O V S








   
  hi,
   works best with a collection of 
  dataobjects.
  use 
  
  
  
   
  here arrList  could be arraylist of name value pairs, 
  something like
  ArrayList  arrList = new ArrayList();
  arrList.put(new LabelValueBean("label","value"));
  arrList.put(new LabelValueBean("label1","value2"));
  arrList.put(new LabelValueBean("label2","value2"));
   
  LabelValueBean class is provided by struts
   
  AFAI hashtable does't fit in here. 
  u will have to iterate thro' the hashtable , if u want to still use 
  the hashmap
  or go by arraylist to make things easier
   
  --nagendra
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Friday, June 06, 
  2003 05:23:19 PM
  To: [EMAIL PROTECTED]
  Subject: doubt with 
  dropdown list box
   hi,I'm a newbie to STRUTS.I have a doubt in 
  pre-populating a dropdown listbox in Struts ..whileloading the JSP 
  itslef the listbox has to be populated.I have a JavaBean wich has a 
  method called getDetailsinHt() which isreturning hashtableits 
  something like this- ht.put((new Long(LoginId )),sDetails);sDetails is 
  a String array - String[] sDetails = new String[4];this string array 
  contains first,middle and last namesHow canI do this.I havebeen doing 
  this since hours but in vain..:(someody plez help me.The code 
  is like this:Test{public Test{}public long 
  id;public String name[];public long getId() {return 
  (id);}public void setId(long id) {this.id = 
  id;}public String[] getNames() {return 
  this.name;}public void setName(String[] name) {this.name = 
  name;}public Hashtable getDetailsinHt(){Hashtable ht=new 
  Hashtable();String[] sDetails = new String[4];sDetails[0] = 
  "Name";sDetails[1] = "Name";sDetails[2] = "Name";ht.put((new 
  Long(LoginId )),sDetails);return ht;}}in my 
  ActionForm I'm writing theget andset methods likepublic Hashtable 
  getUserId() {return userId;public void setUserId(Hashtable 
  userId) {this.userId= userId;}public Hashtable 
  getList(){UserList iab=new UserList();try{Hashtable 
  users=iab.getUserList(0);}catch(Exception e){}return 
  users;}and in my JSPI'm giving astype="java.util.Hashtable"/>labelProperty="name"/>but 
  I'm not able to populate the list box.here I guess I'm 
  doingsomething wrong with the-- property="id" 
  labelProperty="name"/>Can somebodt plez tellme where I'm 
  wrong??Thanx-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED]. 





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



out-of-memory exp

2003-06-04 Thread Nagendra Kumar O V S








  hi,
  i am using struts 1.1 with ejb on weblogic7.1
   
  i  frequently get this error while working with the web 
  application
   
 
  <101017> 
  <[ServletContext(id=4550717,name=cwbweb,context-path=/cwbweb)] Root 
  cause of 
  ServletExceptionjava.lang.OutOfMemoryError    
  <>
  no idea why this comes
   
  any help TIA
   
  --nagi
   
  Nagendra Kumar O V S
  Member Technical Staff
  Ikigo India Private Ltd.
  470-B, Road No. 36,
  Jubilee Hills,
  Hyderabad 500033
  Contact(O): 23544671
  Cell: 98482-41789





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: Question about buttons

2003-06-03 Thread Nagendra Kumar O V S








  hi,
   
  u can obviously give any no of submit buttons  with the property 
  name in the action form. and u can get the value and go accordingly
   
  another intersting feature in struts is that , if u extend ur action 
  class with DispatchAction (instead of Action) u can implement n number of 
  execute methods, with a value based on the request parameter.
  pl go thro' struts docs u have all the answers to ur questions
   
  --nagi
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, June 03, 
  2003 06:07:12 PM
  To: [EMAIL PROTECTED]
  Subject: Question about 
  buttons
   Hello everyone,if I want to have a button in my 
  form that would be a second submit button,can I give it it's own 
  action-class? I guess not, but I thought I'd ask.Also, how can I check 
  in my form bean which button has been pressed?The reason why I am 
  asking all of this: I want to have a third button in myform, next to 
  the general submit and cancel buttons. If that button ispressed, some 
  extra info is being displayed but the data in the form shouldbe 
  validated. I thought, it'd be nicer to use a button for this than 
  anormal 
  link...Greetings,Nadja-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: bean-write

2003-06-03 Thread Nagendra Kumar O V S








  hi,
  first, i don't understand why u put  in the 
   , i guess for the value. but if the form has a value 
  prepopulated (for UID), struts will get the value in to the text field 
  automatically.
  second, as far as possible pl. follow the javabean convention for 
  naming ur form variables
   
  --nagi
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, June 03, 
  2003 03:07:17 AM
  To: [EMAIL PROTECTED]
  Subject: 
  bean-write
   my form-bean is 
  "com.ubs.directory.yp.formbeans.SubmitLogin"the property is 
  UIDwith get and setsString getUID()void setUID()I 
  am getting errors[6/2/03 17:20:06:190 EDT] 6f1fc760 WebGroup E 
  SRVE0026E: [ServletError]-[Cannot find bean SubmitLogin in any 
  scope]:javax.servlet.jsp.JspException: Cannot find bean SubmitLogin in 
  any scopeUser ID 
  :name="SubmitLogin" 
  property="UID"/>Password 
  : value="Clear Form" 
  property="clear"/>-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



Re: HTTP Status 500

2003-06-01 Thread Nagendra Kumar O V S








   
  hi,
  make sure u have put ur .tld files and struts.jar files in proper 
  locations
   
  -nagi
   
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Sunday, June 01, 
  2003 05:52:39 PM
  To: Struts Users Mailing 
  List
  Subject: HTTP Status 
  500
   I've got this error when I try to see may index 
  page.Anyone knows why?HTTP Status 500 
  -type 
  Exception reportmessagedescription The server encountered 
  an internal error () that preventedit from fulfilling this 
  request.exceptionorg.apache.jasper.JasperException: 
  /index.jsp(4,0) Unable to load 
  classhtmlatorg.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)atorg.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428)atorg.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:219)at 
  org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:717)at 
  org.apache.jasper.compiler.Parser.parseElements(Parser.java:809)at 
  org.apache.jasper.compiler.Parser.parse(Parser.java:122)atorg.apache.jasper.compiler.ParserController.parse(ParserController.java:199)atorg.apache.jasper.compiler.ParserController.parse(ParserController.java:153)at 
  org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:223)at 
  org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)atorg.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)atorg.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)atorg.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)at 
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:853)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)atorg.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)atorg.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)atorg.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)atorg.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)atorg.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)atorg.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)atorg.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)atorg.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)atorg.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)atorg.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)atorg.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)atorg.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)atorg.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)atorg.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)atorg.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)atorg.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)atorg.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)atorg.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)atorg.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)atorg.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)at 
  org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)at 
  java.lang.Thread.run(Thread.java:536)Apache 
  Tomcat/4.1.18-LE-jdk14-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED]. 





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



RE: dynamic text boxes

2003-05-30 Thread Nagendra Kumar O V S








  hello mark,
  but, i cant use  , becos i cant map 
  them in the action form
  i want this property also be dynamic and also get the value in the 
  action form, can be thro' request.getParameter...
  how can i override the struts behaviour of not checking the 
  corresponding get/set method of the property while rendering the 
  html:text. or is their anyway.
   
  TIA
   
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Thursday, May 29, 
  2003 08:52:09 PM
  To: 'Struts Users Mailing 
  List'; 'Nagendra Kumar O V 
  S'
  Subject: RE: dynamic 
  text boxes
   Use  to create the text boxes and 
  request.getParamaterNames()in your 
  Action.Mark-Original Message-----From: Nagendra 
  Kumar O V S [mailto:[EMAIL PROTECTED]] Sent: 
  Thursday, May 29, 2003 10:53 AMTo: [EMAIL PROTECTED]Subject: 
  dynamic text boxeshi,i need to display n number of 
  textboxes on the jsp, the number which isknown only at runtime.now 
  how do i map those text boxes to the action form.i can't use a array , 
  becos i need to retreive them with the unique id..any 
  ideas.TIA-nagiNagendra Kumar O V SMember Technical 
  StaffIkigo India Private Ltd.470-B, Road No. 36,Jubilee 
  Hills,Hyderabad 500033Contact(O): 23544671Cell: 
  98482-41789<http://www.incredimail.com/redir.asp?ad_id=309&lang=9> 
  IncrediMail -Email has finally evolved -<http://www.incredimail.com/redir.asp?ad_id=309&lang=9> 
  Click Here 





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



dynamic text boxes

2003-05-30 Thread Nagendra Kumar O V S








   
  hi,
  i need todisplay n number of textboxes on the 
  jsp, the number which is known only at runtime.
  now how do i map those text boxes to the action form.
  i can't use a array , becos i need to retreive them with the 
  unique id..
   
  any ideas.
  TIA
  -nagi
  Nagendra Kumar O V S
  Member Technical Staff
  Ikigo India Private Ltd.
  470-B, Road No. 36,
  Jubilee Hills,
  Hyderabad 500033
  Contact(O): 23544671
  Cell: 98482-41789





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here