Hi,
Actually iam calling servlet from jsp and in servlet some files are created and for each file creation the file name is sent to java class method. And in the same java class one more method is there that method will return the filename . So that method am calling from the same jsp where i had called servlet. So servlet sents the filename to java method1. And from same jsp am calling another method in same java class method.
But am not getting filename to jsp.
Example :
i have jsp name = index.jsp
servlet name=process.java
java class name= message.java
java method1= setFilename (
String name)
java method2=getFilename()
First index.jsp will process.java and it calls the getFilename() for every minute to get the filename. Internally servlet process.java will call the java method1 i.e; setFilename() and sets the filename. Iam getting the filename to java class.But am not getting the filename to jsp.
Can You Help me...