Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. piampri

    Can't call submit() on <html:form> tag

    Yes I did !! Thanks so much. Your initial suggestion worked. I'm not sure whether I had a typo or something the first time, but on attemtping it again, dynamic submission of the form worked. Thanks so much.
  2. piampri

    Can't call submit() on <html:form> tag

    Suppose I don't have any submit buttons for that matter in the form. Can't I call submit still ?
  3. piampri

    Can't call submit() on <html:form> tag

    Hi, I'm trying to manually submit an HTML form using the following : document.myform.submit() for a Struts form. Does anyone know if there is a problem submitting on these tags ? I get an error indicating that the function is not recognized in Javascript.
  4. piampri

    Struts Validation not being called at all

    Hello, I am trying to validate two fields in a JSP using the Struts Validator plugin. When I hit the "Submit" button nothing happens. I get the feeling that the action is being processed, but because the fields are empty, an error should pop up. This is my JSP : <%@ taglib...
  5. piampri

    Struts Validation not being called at all !!!

    Hello, I am trying to validate two fields in a JSP using the Struts Validator plugin. When I hit the "Submit" button nothing happens. I get the feeling that the action is being processed, but because the fields are empty, an error should pop up. This is my JSP : <%@ taglib...
  6. piampri

    Cannot obtain connection: driverURL = jdbc:weblogic:pool

    Hello, My code is spitting out this error when trying to obtain a connection from the connection pool. I know that the datasource and connection pools have both been configured correctly. Does anyone know why this is occurring ? It's going through the code but appears to have problems...
  7. piampri

    Setting properties outside of a build file

    Hello, Here's a fragment of the beginning of a build file which I have been looking at and can't seem to figure out : <project name="Self" basedir="." default="build"> <!-- ANT tasks --> <property name="propertyFile" value="${basedir}/${properties}"/> <property...
  8. piampri

    Struts - different web apps using same resources

    Have you thought about modularizing the application. That is having many mini modules within the main web application. I think that that may be the only solution for you. Other than that I think you may have to duplicate all the necessary resources in another .war file.
  9. piampri

    ValidatorActionForm

    Everything seems to be correct up until the last or third point. Why are u validating the action ? The validation is meant for the form bean attributes/fields. Revised should be the following: <form name="myForm"> <field property="filedDateFrom"...
  10. piampri

    New to Struts

    It doesn't appear that the structure of your program is incorrect. Is your SubmitForm extending ActionForm etc... Could you provide the code for this as well ?
  11. piampri

    mixing code for different screens

    Hi, I believe that you have two choices when deciding where to do validation. 1. You can do your validation within the ActionForm subclass by placing your validation code within the "validate" method and when the ActionForm bean is populated by ActionServlet the method will be called at that...
  12. piampri

    struts html:select tag

    Hi, Where are u iterating? I see the error, however I am assuming that you must be using the <html:logic> tag somewhere and it is there that the code is throwing the error. Can you provide this part please ?
  13. piampri

    Action mappings defined with ForwardAction class not working correctly

    Hello, I am new to Struts and recently I tried an exercise which had me modularize a simple Struts application into two modules. In one of the module's Struts Config files I defined the following action mapping: <action path="/viewSearch" type="org.apache.struts.actions.ForwardAction"...

Part and Inventory Search

Back
Top