Writing data to file from a Servlet


Web tier: servlets, JSP, Web frameworks: Writing data to file from a Servlet

  1. Writing data to file from a Servlet (2 messages)

    Hi All,

    I have a servlet, running in the DMZ, that needs to create a file in a directory which sits inside the intranet firewall.

    My idea was to use another servlet running in the intranet and have the servlet in the DMZ make a request to the servlet.

    Any issues with this idea? Also any ideas will be welcome.


  2. Sounds like a good idea to let your servlet the resides outside the firewall to contact (and make som form of verification) the other servlet which resides inside the firewall and then pass arguments to let the second servlet create the file.

    I'm a newcomer to J2EE but I would go that way...

  3. I have been told that there are problems with the firewall finding the servlet inside the firewall. Does annyone have any examples that I could use?