Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9610

Re: Code changes in the JSP Dynpage or any java class are not reflected at runtime.

$
0
0

Pankaj,

 

So did you check in NWA?

 

For the code-

Import the below in you java file-

 

import java.io.File;

import java.io.FileOutputStream;

import java.io.FileWriter;

import java.io.PrintStream;

 

Declare global variable in your class-

public PrintStream logger = null;

 

and finally use below in proper try catch

try {

    logger = new PrintStream(new FileOutputStream(new File("logfile.txt")));

    }

    catch(Exception e)

    {}

 

Regards,

Atul


Viewing all articles
Browse latest Browse all 9610

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>