anuj patel

Greenhorn
+ Follow
since Jan 02, 2008
Merit badge: grant badges
For More
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 anuj patel


You can use the OpenXml4j,Docx4j or Apache POI API to read the word document and covert it into html.
Hi,

This document Spring Framework contains all details about spring(IoC,AOP.

Thanks & Regards,
Anuj
Hi,

You can try with the following code from your DAO.

hope this might help you,

Thanks,
Anuj
Hi,

Please mention that how are you writing the filecontent to FileOutputStream

Thanks & Regards,
Anuj Patel
Hi

Hi

you can also submit the page on form load using the javascript
write this code in your second jsp

function submitJSP()
{
document.FrmUser.Submit();
}

Thanks & Regards,
Anuj Patel
15 years ago
JSP
Hi,

Have U define the folder structure for your application?
And for uploading the file U have to write all required code(Reading the file from the source & write it to destination) in the controller.

Thanks and Regards,
Anuj
Hi try this
logout.jsp

<html>
<%@ page session="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>

<c:redirect url="/jsp/index.jsp"/>

<head>
<META Http-Equiv="Cache-Control" Content="no-cache">
<META Http-Equiv="Pragma" Content="no-cache">
<META Http-Equiv="Expires" Content="0">

</head>
<body>

</body>
</html>
15 years ago
JSP
use the javascript to disable the back button of the browser
15 years ago
JSP
here I have abstract class & method
tell me here what is heppening?


abstract class Abs
{
public abstract void makeTea ();

}

public class Test
{
public Test()
{

Abs abs=new Abs()
{
public void makeTea ()
{
System.out.println("This is from makeTea method");
}
};
abs.makeTea();
}
public static void main(String[] args)
{
new Test();
}
}
Here i created the object of the abstract class.
can anyone explain me how java compiler allow this?
Thanks for answering in advance...........


abstract class Abs
{
public abstract void makeTea ();
public static Abs getInstance ()
{
//return new Abs()
Abs abs=new Abs()
{
public void makeTea ()
{
System.out.println("This is from makeTea method");
}
};
return abs;
}
}

public class Test
{
public Test()
{
//Abs abs=Abs.getInstance();
Abs abs=new Abs()
{
public void makeTea ()
{
System.out.println("This is from makeTea method");
}
};
abs.makeTea();
}
public static void main(String[] args)
{
new Test();
}
}