how can i write an include file in my page..???
the script is like this
String mycode ="<%@ include file= ../../../usr/local/tomcat4/webapps/myfolder/myfile.jsp%>";
File aFile = new File(dir,"index.php");
FileWriter fw=new FileWriter(aFile);
PrintWriter pw=new PrintWriter(fw);
when i open file index.php it will call include file myfile.jsp.
right now i've got errors on the mycode.
how can i resolve it??