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: *

  • Users: nybz
  • Order by date
  1. nybz

    server not running the updated class file

    After changing, compiling and refreshing a java file -when the server is started and the code executed - the class file that is being executed is not my new one, but the earlier version from an imported jar file. I can find the newly created class file, so I can confirm that it is being created...
  2. nybz

    Slow servlet output - performance needed

    My servlet loads a StringBuffer sb and outputs the results via <out.println(sb.toString())> where out is the return from response.getWriter(). The performance on that single output line is terrible. Any help on how to optimize the throughput would be greatly appreciated.
  3. nybz

    launch excel file via servlet

    It Works - Thank You. No file creation/output needed. Now, if only I can get the user back into the query tool servlet so they can submit follow-up queries it would be great ;o)
  4. nybz

    launch excel file via servlet

    Thanks Venur. The contentType is basically text/html for all the other user interaction. I inserted your line just after the xls file creation - as the last line before exiting the servlet. The excel file did not launch. Did I miss something?
  5. nybz

    launch excel file via servlet

    I am building a simple query tool servlet which writes the results set out to a .xls file. How do I launch the .xls file from the servlet (so that the user sees the query results). This is in a Windows environment.
  6. nybz

    Status 404 - HTML, not available

    Sorry for not confirming your assumptions. Correct - TOMCAT_HOME is C:tomcat, and no files have been modified (server.xml or any configs). Tried the copy & test - still errs. Cookies & all temp internet files deleted - to clear cache - to no avail. It seems that "http://localhost:8080" is...
  7. nybz

    Status 404 - HTML, not available

    more - I copied the myForm.html file to C:\tomcat\webapps\ROOT which executed fine as http://localhost:8080/myForm.html
  8. nybz

    Status 404 - HTML, not available

    webapps/examples/WEB-INF/classes&lib under classes/com/samples/model&web myForm.html is the only file under examples WEB-INF has a web.xml file All other directories are empty The error msg is Tomcat generated, so I know I get that far
  9. nybz

    Status 404 - HTML, not available

    Thanks sedj. It is still not working - still get the same error. The browser path shows 'examples' instead of 'webapps'. Will try other paths tonight if you think it's path related. Could it have something to do with permissions? The form loads fine when selected from Windows Explorer, just...
  10. nybz

    Status 404 - HTML, not available

    I am a newbie and just installed Tomcat 5.0.28 on my home Windows XP machine. I am getting the HTTP Status 404 -/webapps/myForm.html error: "the requested resource (/webapps/myForm.html) is not available. The HTML file is in "C:/tomcat/webapps/examples/myForm.html". The URL in the browser window...
  11. nybz

    remote executable

    Thanks sedj - you rock. Acknowledged about the risk...
  12. nybz

    remote executable

    The OS is Windows 2000. The idea is to provide an admin with a Web browser an HTML page where they have a link that accesses a servlet (remotely). The servlets job would be to open a CMD.exe on the server (machine) itself with some parameter - like running a batch file. Hence, running the...
  13. nybz

    remote executable

    I there a way to have a servlet fire an executable on a remote box? I want the user to push a "go" button on an html form which comes to the servlet - which in turn initiates a job on a remote machine (such as cmd.exe). If this is possible, please help me with the key points - mainly, getting...
  14. nybz

    Spawn a new page for form submit response

    Thank you Jeff, I didn't know that a form had a target attribute. Thanks Again!!
  15. nybz

    Spawn a new page for form submit response

    I would like for the user to press a 'submit' to view information supporting the current page. The form inputs are submitted to a Java servlet. How do I present the information in a new page?
  16. nybz

    Select option firing without a submit

    I would like the user to 'drive' the next page load by selecting an option - without having to press a submit button. I think the 'onChange' attribute makes sense, but I don't know how to implement. The target is a Java servlet.
  17. nybz

    How do I extract multiple selectd values from the request object?

    Excellent - Thank you Manarth !! And, I have earmarked the tutorial.
  18. nybz

    How do I extract multiple selectd values from the request object?

    hi manarth - i am sending it to a java servlet. thank you for your interest.
  19. nybz

    How do I extract multiple selectd values from the request object?

    I have set up a <select> with multiple options enabled. Once submitted how do I retrieve the values? Do they come in as an array or comma delimited string or what?

Part and Inventory Search

Back
Top