Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!

vasanth raman

Greenhorn
+ Follow
since Aug 13, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by vasanth raman

how to write a test case for this method
public class Firstjava {
public void multiply(int x, int y) {
System.out.println("x"+x+"y"+y);
}


}
9 years ago
how to write a junit test for this method

public void method(String s1,Sample s,Vector vv)
{
str=s1;
s=s3;
vec=vv
}
9 years ago
how to add jruby plugins in eclipse ide
client send the request from jsp page i want to get the request url and display it in java swing
client is webpage client click the submit button on webpage i want receive that request in java swing
client send the request from jsp page and receive the request display in java swing
how to forward the request from a client to a swing application using jsp and servlets
10 years ago
JSP
any one tell java new current technologies
10 years ago
how to deploy sprint application in glassfish
10 years ago
this is my code i received the str value but it can't assign to file object

<%
String str=request.getAttribute(path);
out.println(str);
%>
<input type=file name=browse value="<%=path%>">
10 years ago
JSP
<input type="File" name="Browse" value="<%=path%>">
this is possible in jsp
10 years ago
JSP
<html>
<head>
</head>
<script type="text/javascript">
function play()
{
var file=document.upload.vpath.value;
alert(file);
}
</script>
<body>
<form name="upload">
<input type="file" name="vpath">    <input type="button" value="play" onclick="play()">
</form>
</body>
</html>

this code perfectly work in windowsxp but not working in vista it shows the fackepath in java script
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">;
<html xmlns="http://www.w3.org/1999/xhtml"; dir="ltr" lang="en">
<head>
<title>Testing the FakePath String</title>
</head>
<body>
<form id="Form1" action="" method="post">
<input type="file" /><input type="button" onclick="alert(this.previousSibling.value);" value="select file and press the button" />
</form>
</body>
</html>


it shows the fakepath
10 years ago
JSP
Thanks
10 years ago
i designed one media player in javafx. i want to call that in jsp how ?
10 years ago