I have the following code in my html page:
<INPUT TYPE="submit" VALUE="Upload"
onClick="if (submenu1.style.display == 'none') submenu1.style.display = ''; else submenu1.style.display = 'none';">
<span id="submenu1" style="display:absolute">...
I am new to applets. Is it possible to run an applet from a servlet. Basically what I have is a servlet that uploads files and I want to have an applet running in a separate thread that displays the upload status. Once the upload is complete, I want to be able to kill the applet. Thanks for...
Is there a way to convert multi-page tiffs to jpeg?
I have a servlet that displays images that are stored on the server. The problem is that they are in .tiff format which Java does not handle. I have created a method using the JAI API to encode the tiff as a jpeg..This works fine except for...
I have a servlet that uploads files to the server. I want to be able to show the status or at least some sort of message until the file is done. Has anyone done anything like this? Thanks for any help.
I need to call an applet from my servlet when a user clicks a link..I am putting the .class file in the same folder as my servlet classes. in the html that i have
codebase = "."
code = "mypackage.mypackage2.myApplet.class"
this is how JBuilder created it. The problem...
I have a servlet that can upload files. While the file is uploading, i have a seperate thread that simply pops up a frame that says uploading...etc. The problem Im having is that I cant get the focus to stay on the frame so it ends up sitting behind the htm page. I've tried...
Is there anyway to set the enctype of a form with javascript? I have tried
document.formName.ENCTYPE = multipart....
and
document.formName.ENCTYPE.value = multipart......
it just keeps the default setting.
I have tried using the /manager servlet to re-deploy my servlet opposed to restarting tomcat. I get the OK message but the directory still contains my old templates and class files.
I have a search screen in my servlet to search by name. This search is done on three different dbs using three different connections, retrieving three different ResultSets. No problem there. The problem lies in the fact that thousands of records are possible so I set it up to do paging (10...
I have a servlet running on Tomcat 4.0 which the users can get to from our intranet running on IIS. I know using Windows API calls, you can retreive usernames from IIS, Is there a way to get the username when they come to my servlet? I do not want to use Windows API and I do not want to use a...
The following code returns a resultset which i am putting into Vectors and then sending them to a velocity template. The problem i am having is that each element is being padded to the sql server field length of 40 and also adding brackets at the beginning and end. For example...
I am trying to pass form values from a search page "search.asp" to a results frameset page "reprtDetail.asp". The top frame contains a static htm page with the column headers for the search so that if many results are returned, the user can still see the headers. The bottom...
I am trying to pass form values from a search page "search.asp" to a results frameset page "reprtDetail.asp". The top frame contains a static htm page with the column headers for the search so that if many results are returned, the user can still see the headers. The bottom...
I have a search page and I want to pass the parameters from it to a results page which then does the recordset asp code to get the results..The problem is that i want the results page to be the bottom frame of a frames page and have the column headers in a top frame so they are always visible...
Is it possible to do a union on a table from as400 and one from sql server?
I have the following:
preparedStatement = as400.prepareStatement("select distinct claimnbr as CLAIM_NUMBER, claimname AS CLAIMANT_NAME, claimsts as CLAIM_STATUS, t1.srcsystem as SOURCE_SYSTEM, polnpo as...
I am passing a paramter to a servlet through the url. The parameter has spaces (i.e. parameter=My%20Parameter%20has%20spaces is passed in the url)
When i do a request.parameter(parameter) it only returns the first word (i.e. My). How do i get the whole thing?
Thanks
On my form when the user goes to add or edit an item, the focus is set to the first input box.This is fine but the problem is that it moves the screen so that the first input box is at the very bottom of the screen. Is there a way to set the focus to the input box and also position the screen to...
this function receives the row number from a looped recordset. I want to set a hidden form variable to the row number when they click a radio button next to the result row
function editRow(row)
{
var i = row
document.forms[0].edit.disabled = false;
document.forms[0].recordNo.value=i;
}...
I just wrote an app which runs fine on IE and Netscape except for one rather odd problem with Netscape. My login page does not show up at all...Here is the code for the page. Please let me know what you think..Thanks.
<html>
<head>
<meta http-equiv="Content-Type"...
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.