Yes that's true...it would be nice if I could do it with a file though. I guess what I'm really after is a third party (?) compiler that wil compile java source natively. But I suppose that defeats the purpose of Java....oh well!
That works OK if I have java.exe on my machine, but when I want to take this program to someone elses machine who does not have java, they can't run it. I don't really want to take java.exe, myapp.jar, run.bat, etc to get it going. I really want my app to just run from a single file, on any...
Hi,
I have written myself a small app with a main(String[] args) method in VisualAge for Java. I would like to be able to use this little app on any pc from a DOS command line. It seems the only export option is to export to a jar file. How do I convert this jar file into a self running exe...
Hi,
What I am trying to do is pop up a username/password box to authenticate, and if the authentication fails, then redirect to another page. I am happy with the authentication, it works fine, but I have no idea how to intercept the 401 screen that occurs if authentication fails. This is what I...
Hi,
I was wondering how to get the entire url from the request. I have been using request.getServletPath() and getQueryString(), but that only gets me so much as the path after the domain name. How can I get the domain name as well?
Thanks in anticipation.
Yes it was being made dynamically. I actually worked out how to gte around it, by using the hex codes for capital letters (ie B=%42), but now I have a new problem. The href tag seems to be limited to 255 characters. My body gets cut short once the entire href tag (ie from...
Hi,
I am having difficulty getting uppercase in the subject of my mailto link (or any of it really).
I am trying to do:
<a href="mailto:john.doe@email.com?subject=CAPS">email</a>
When it opens the outlook screen it is all in lower case?
I have tried using the javascript escape()...
Yes, I am using IE5.5 at the moment. I considered changing the file extension, but that would confuse the people who are using this app if they have to change extensions all the time. In IE, is there then no way of forcing that prompt? That seems a little stupid!
Hi,
I am writing a web site with JSP's and java servlets running on WebSphere. I am trying to set up a ling to a file that will ALWAYS prompt the user if they would like to open or save the file. At the moment, if the link is a .xls file, for example, it will open the file in Excel. Is there...
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.