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 Mike Lewis 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. danglingpointers

    how to write web.xml deployment descripter

    I had presumed you were using Tomcat. I do not know anything about Weblogic. Perhaps there is a forum in tek-tips about it?
  2. danglingpointers

    how to write web.xml deployment descripter

    Greetings nkmb, Setting up your web.xml file should be fairly simple in this instance as you only have a single servlet. Allowing that $CATALINA_HOME points to your Tomcat installation, put the web.xml file in the $CATALINA_HOME/YourProgram/WEB-INF directory. The web.xml file should look...
  3. danglingpointers

    Registering servlets

    After many arduous hours, I discovered that there was a typo in my web.xml file. The servlet-mapping tag had been improperly terminated and was throwing an error. After fixing the problem, all is working well. Many thanks for your assistance.
  4. danglingpointers

    Registering servlets

    I should make mention that it is only the controller servlets that are the problem. I have a jsp which accesses one of the \myProject\WEB-INF\classes\dao files and it works fine. So I have java and database connectivity, but I am unable to call the \myProject\WEB-INF\classes\controllers servlets.
  5. danglingpointers

    Registering servlets

    Ok, I uninstalled/reinstalled Tomcat 5.5.17, dumped the contents of my %CATALINA_HOME%\webapps\myProject directory and started fresh. I added the ..\webapps\myProject contents to the new installation and then started the server and tested it. Again, when I navigate to...
  6. danglingpointers

    Registering servlets

    Yes, I had listed its location in my previous post (%CATALINA_HOME%\webapps\myProject\index.html). Here is my web.xml that I have running in %CATALINA_HOME%\conf. Another interesting behavior is that whenever I add a web.xml file to %CATALINA_HOME%\webapps\myProject\WEB-INF, I can no longer...
  7. danglingpointers

    Registering servlets

    I am using the default web.xml file from %CATALINA_HOME%\conf that I have copied into %CATALINA_HOME%\webapps\myProject\WEB-INF\ so that all of the <welcome-file-list> entries are the default ones. I also have an index.html file located in %CATALINA_HOME%\webapps\myProject. Moreover, whenever...
  8. danglingpointers

    Registering servlets

    After making your suggested modifications, I ran into the other problem which I forgot to mention in my initial post. Whenever I add a servlet-mapping definition, I can no longer access "www.myhost:port/myProject". If I remove the servlet definition, then I can access...
  9. danglingpointers

    Registering servlets

    I have had Tomcat 4.1 up and running on my linux box for some time and now I am giving Tomcat 5.5 a try on windows and I seem to be missing some nuance. I have a standard servlet program for which I have created the following directory structure under...
  10. danglingpointers

    populating radio buttons in JSP

    rac2, That was the problem indeed. The "'VALUE_OF_rs.getString()'" wasn't part of the actual error code, but rather that statement evaluated to a single string which was part of the error code. My apologies for the confusion. Now all I have to do is find a way to enumerate all of the...
  11. danglingpointers

    populating radio buttons in JSP

    What I would like to do is populate the radio button selections with results from a database query. Here is what I have thus far: <% //begin JSP, call database %> <form> <table> <tr> <td><input type="radio" value="VAL1" name="button"></td> <td><input type="radio" value="VAL2"...
  12. danglingpointers

    generating table based on database resultset

    I would like to be able to use a single page that would be able to refresh a table based on the input into a text box and after clicking a button. Here is what I have thus far: <form> <input type="text" name="qstr">&nbsp&nbsp&nbsp&nbsp <input type="button" value="Search"...
  13. danglingpointers

    Help validating a form

    Ah, ok. That has to be the most simplistic one I have seen yet. I have found various ways to do these validation checks, but that is the only one which has worked thus far. Thanks for your assistance.
  14. danglingpointers

    Help validating a form

    I am having some problems with my validation code as well. Here we go: <form method=get action=display.jsp onsubmit="return form_validate(this)"> Called the function This one works. <script> function form_validate(thisform) { alert("you found me!"); return false; }; </script> This one...
  15. danglingpointers

    JSP Form Validation

    Sorry about that. Can I move the post myself or do I need a moderator to do that for me?
  16. danglingpointers

    JSP Form Validation

    And now I shall reveal my truly newb-self. I have a form which I want to validate its fields before I submit it to a database. I am having some problems with my javascript. function form_validate(thisform) { with(thisform){ if(FIELD_VALUE.equals(null)){ alert("Enter a value!"); } return...
  17. danglingpointers

    determine radio status using JSP

    Ah, that's right. It has been too long since I have done much Java programming. C++ all the way! Thanks for your help, everyone. I shall certainly be coming back here for any further inquiries. - Tim
  18. danglingpointers

    determine radio status using JSP

    I, as well, am having issues with some radio buttons. Here is my code: -- first JSP -- <html> <body bgcolor="#CCCC99"> <table> <form method=get action=display.jsp> <tr> <td>Name: <input type="text" name="usrname" size="15"></td> </tr> <tr> <td><input type="submit"...

Part and Inventory Search

Back
Top