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 Chriss Miller 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. vulcand4

    How does mysql_pconnect do its stuff?

    Here's what I found out... First of all, I was using a mysql_pconnect because I wanted to avoid the expense of getting a new connection each time my php script was activated. pconnect allows me to get one connection and then just keep it available each time the connection is needed. My...
  2. vulcand4

    How does mysql_pconnect do its stuff?

    I am using mysql_pconnect to get a connection to my mysql database. I use it instead of regular mysql_connect because of the number of connections I have to make. I get the connection at the beginning of my script and use it numerous times before the script is done. I thought that...
  3. vulcand4

    -Xmx maximum on 32 bit machine

    What is the maximum value I can specify in the -Xmx JVM parameter on a 32bit machine? I have 4 gig of RAM on the machine, but I get the following if I specify more than -Xmx1024m: Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the...
  4. vulcand4

    web app Context xml file in tomcat 6

    I am attempting to deploy a web app to my tomcat 6 instance. I have created my war file which contains my app.xml context file (in the META-INF directory). When I deploy the war (move it into the webapps directory), the app.xml file does not automatically get copied to the...
  5. vulcand4

    bad ELF interpreter: No such file or directory

    I accidentally erased my glibc RPM and now I get the following when I try to attempt any commands: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory I can't even ftp or ssh to the server. Any suggestions?
  6. vulcand4

    help using indexed property in logic:equal tag

    Found the answer at: http://struts.apache.org/1.x/struts-taglib/indexedprops.html The part I used is below:
  7. vulcand4

    help using indexed property in logic:equal tag

    I am trying to use a "logic:equal" tag in my jsp. <logic:equal value="" name="SimpleListSettingsForm" property="totalsIndexed[?]" scope="request"> If I put a hardcoded value in the index (denoted by the "?") it works fine, but I have this code in a loop (logic:iterate)and the index needs to...
  8. vulcand4

    How to return focus back to my main window after a pop window opened?

    I think the problem is that a servlet (which is what Struts is using under the hood) will only send one response back to the client. Because you're writing to the response output stream which is going to a new client window, there is no way to get the parent window to receive an additional...
  9. vulcand4

    org.apache.struts.taglib.html.BEAN

    It's possible that you need to use an <html-el:form... tag instead of <form. I think the html-el tags only work if they're nested inside of an <html-el:form...> </html-el:form> tag set -G
  10. vulcand4

    attribute has no value

    It looks like you're nesting some double quotation marks which makes the textarea.maxchar look like it's outside the quotes. That would make it look as if it's an attribute instead of the value of an attribute. try either escaping your internal quotes with a backslash or using apostrophes...
  11. vulcand4

    can you have a composition in an ActionForm ?

    The "property" attribute in your <html:text... tag will try to map to a getter method within your form called getCcNumber(). The following should get you what you're looking for: ... <td> <html:text property="ccNumber" ... in the form class... public String getCcNumber() { return...
  12. vulcand4

    Calling action from HREF

    It is possible to reference an action via HREF. You only need to make sure the path specified is correct for your application. Using "/" at the front of your path will cause the browser to attempt to get/post to the root document directory for your domain.
  13. vulcand4

    load-on-startup

    I believe the log4j.properties file isn't loaded until the first time you use a Category or Logger within your application. The <load-on-startup> parameter will be loaded right away by your servlet container.
  14. vulcand4

    Action Not Being Called When Unchanged Form Submitted

    Your "previous" button and your "edit_step3" button both use the same property value. Does your action differentiate between the two correctly? Your "previous" button submits forms[1] in the onclick event. Is the html:submit tag for that button inside of forms[1]? It's possible that the...
  15. vulcand4

    How to return focus back to my main window after a pop window opened?

    How is your main window set up that the results of your action show up in a different window? Are you using a "target" attribute on your form or something different? -G
  16. vulcand4

    how do I determine which submit button was clicked?

    What I was really looking for was some sort of status or property of the form field (submit button) to let me know that it was clicked. I ended up setting a boolean var at the beginning of the HTML page and initted it to false. Then the onclick event of the button in question set the var to...
  17. vulcand4

    how do I determine which submit button was clicked?

    I need to know on the client side, before the form is submitted. I need to check which button was clicked, then do a confirm and have the option of cancelling submission based on the results of the confirm. -G
  18. vulcand4

    how do I determine which submit button was clicked?

    Anyone know a way to determine which submit button was clicked (assuming there is more than one)? I need to determine which button caused an html form to submit. I was thinking of putting the code in the onsubmit() event handler of the form itself, but I don't know how to determine which...
  19. vulcand4

    Random problem with: No action instance for path...

    Are you accessing the "projects" action from multiple points in your application? Is it possible that you're trying to access it one way from point a and a different way from point b? It would be interesting to see your struts-config.xml file (at least the section referring to your action in...
  20. vulcand4

    Struts Validation not being called at all

    Does the action definition in your struts-config.xml file have "validate=true"? e.g. <action path="/test" name="someForm" validate="true" ... > ... </action> -G

Part and Inventory Search

Back
Top