User Profile
Collapse
-
You can't do that for security reason the browser doesn't give you access to the client machine (caution, if your client is Linux or Mac you don't have any c:). The only way I see ti do do something like that is to use a signed applet in the JSP. -
It looks like you have a product of SPI Dynamics installed on your server, the bug is in this product. I don't know what it does (It is about security I think)....Leave a comment:
-
In a HttpServlet in any method doXxxx you can call
resp.addHeader( java.lang.Strin g name, java.lang.Strin g value)
(resp is the HttpServletResp onse)...Leave a comment:
-
I'm not sure of what you want to do: Do you want the exe running on the server (that's where the JSP is running), or on the client (your JSP is now HTML)?...Leave a comment:
-
You can use two submit button in the same page, if they are in the same form, they will do the same action (the action of the form) but you'll get in the Query string the name=value of the one clicked,
or you put 2 forms on your page with 2 actions and 1 button submit in each....Leave a comment:
-
If it is a select multiple it should be a listbox and not a combobox.
use
Code:form.select.options[i].selected = true;
Leave a comment:
-
-
sometyhing like this
Code:try { tConn = xxxx.getDataSource().getConnection(); tConn.setAutoCommit(false); tCall = tConn.prepareCall("{CALL MY_PROC(?,?)}"); tCall.setInt(1, my1stVar); tCall.setInt(2, my2dVar); ResultSet tRs = tCall.executeQuery(); if (tRs.next()) { /* do something
Leave a comment:
-
In the HEAD section of the caller
Code:<script LANGUAGE="JavaScript"> var p; function wop () { p = window.open("C:\\test.html","toto"); } </script>
Code:<script LANGUAGE="JavaScript"> if (opener) alert ("opener.p = " + opener.p); &
Leave a comment:
-
Create the structure of your jar in a directory MyDirToJar ie
Code:<target name="jar" depends="xxx" description="Create binary distribution after xxx"> <!-- Create application JAR file --> <mkdir dir="MyJarDir" /> <jar jarfile="MyJarDir/MyJarFile.jar" basedir="MyDirToJar" /> </target>
Leave a comment:
-
What do you mean in "in jsp"? Or you mean in the browser, in this case see
Code sample...Leave a comment:
-
You can use a file as a flag: When you start test the existence of the file, if not create it and start your app, whe your app is finish, delete the file. Sorry no sample code....Leave a comment:
-
-
run.exec is not synchronous, it returns before the end of your script.bat
I don't know, maybe your prog ends before the bat?...Leave a comment:
-
Code:<html> <head> </head> <body> <form action="test.php" method="PUT" name="myform"> <input type="text" name="help_title" size="50" value=<?print $help_title?>> <textarea cols="50" rows="15" name="help_content"><?print $help_content?></textarea>
Leave a comment:
-
Java can't do anything more than Javascript, except if you use a signed applet and JNILeave a comment:
-
You mean a timer that will run over more that 1 HTML page ? If yes, use a frame page with 2 frames (maybe invisible) and put your timer in one and the pages of the quizz in the other...Leave a comment:
-
Did you try to use a onchange="myfor m.submit();" instead ?
All values will be in the request, then you can give it back in the form.
<INPUT type="text" name="help_titl e" size="50" value="OldText" >Leave a comment:
-
Code:<html> <head> <META HTTP-EQUIV="Refresh" CONTENT="n"> ...
Leave a comment:
No activity results to display
Show More
Leave a comment: