• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 252
  • Last Modified:

how to save a http file to server

let say i want to save http://www.experts-exchange.com/Web/Web_Languages/JSP/askQuestion.jsp
to c:\askQuestion.jsp using jsp
1 Solution
Can you use JSTL ?
<%@ page import="java.io.*"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:import  url="http://www.experts-exchange.com/Web/Web_Languages/JSP/Q_21892028.html" var="page" />
   FileWriter fw = new FileWriter(new File("c:\\askQuestion.jsp"));
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now