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...
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.
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.
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...
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...
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?
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.
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?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.