Danke Lothar,
I think I should got my answer using
getServletContext().log(...) .This does the job.
I still have to check whether it creates files or not. But atleast it
has started printing statements to the log.
regards,
Cherian
--~--~-~--~~~---~--~~
You receiv
Ryan schrieb:
> I am workng on windows.
> Now the problem is that all system.out.println statements written in
> classes that extend remoteserviceservlet are not printed in the logs
> i.e. stdout file.
Logging with System.out.println is bad style. Inside a servlet
you better use getServletContex
I'm having Windows while developing too, and i definitely have all the
messages printed to log files.
1. First, start c:\programme\tomcat 6.0\bin\tomcat6w.exe and check
logging options.
2. Check your files: you should have a file: catalina.2008-09-16.log
in tomcat 6.0\logs directory where you sho
thanks alex,
I am workng on windows.
Now the problem is that all system.out.println statements written in
classes that extend remoteserviceservlet are not printed in the logs
i.e. stdout file.
Any system.out.println statements written in classes that do not
extend remoteserviceservlet are printed
Tomcat is keeping it's log-files in "tomcat 6.0\logs" or "/tomcat6/
logs". Look for preferences to know what file that is, but basically
you can just take the file with the last "changed"-date. Normally
you'll find all Exceptions- or "System.out.print"-output-messages
there.
P.S. Is Linux your de
Ryan schrieb:
>
> I am talking about server side code here, because the client would
> anyway not support writing files.
Doesn't prevent people from trying ;-)
> Problem is how do I view this stack trace of the error .
> Where can I view the stack trace.
> Any pointers to how to view the stack
On Wed, Sep 17, 2008 at 1:13 PM, Ryan <[EMAIL PROTECTED]> wrote:
>
>
> Thanks Lothar,
>
> I am talking about server side code here, because the client would
> anyway not support writing files.
> Problem is how do I view this stack trace of the error .
> Where can I view the stack trace.
> Any poin
Thanks Lothar,
I am talking about server side code here, because the client would
anyway not support writing files.
Problem is how do I view this stack trace of the error .
Where can I view the stack trace.
Any pointers to how to view the stack trace.
regards,
Cherian
--~--~-~--~~-
Ryan schrieb:
> I have this particular problem.
> I am creating a file.It is working in hosted mode means the file is
> getting created. But when i deploy my project on tomcat and try to run
> the application the file is not getting created
If we are talking about the application that run in the
Hi everybody,
I have this particular problem.
I am creating a file.It is working in hosted mode means the file is
getting created. But when i deploy my project on tomcat and try to run
the application the file is not getting created
This is my code.
try{
File file1 = new File("C:\\logE.txt");
Fi
10 matches
Mail list logo