I have to develop a java program which will run everyday at 6pm everyday. This program does some updation of the database. how to do this. Operating system is windows. it is a desktop application. Thanks.
I cannot set the target=_blank because it is not a link but its a button to generate the xml. The button submits the request to a servlet which generates the xml. I have set the content type as application/xml and content disposition as attachment for the response headers. But when I open the file from the dialog box it opens the file in the same browser window. I want to open it in a pop up.
There are 3 options in dialog box save,open and cancel. When I select save its working fine, but when I select open in the dialog box it opens the file in the same browser window as my webpage. I want to open this file in a new Window.
I have a web page where a user clicks on a link to generate xml file. I am generating this xml file inside a servlet and then writing it to the ServletOutputStream. This shows me a dialog box asking me to save or open the file. The save is working fine but when I open the file the xml file is opening in the same window. What I want is to open the file in a new window.
I was asked this question in an interview.....Probably they want some solution like how it is implemented in the String class....the also asked a question like how can we find the length of a String without using any inbuilt methods......
Hi my question is how can we find a particular string in another string without using any inbuilt String class methods. for eg. string "cofee" inside "please give me a cup of cofee". Thanks