yes checked the http headers
content-disposition is attachment ... how to over ride it on the tomcat server any configuration we can make to change it to inline.. i suppose which might open it with out the dialog box.
i need to time out if reading input from connection takes more than specified time eg more than 30 secs i would like to time out thanks in advance ..
public class URLConnectionReader { public static void main(String[] args) throws Exception { URL yahoo = new URL("http://www.yahoo.com/"); URLConnection yc = yahoo.openConnection(); BufferedReader in = new BufferedReader( new InputStreamReader( yc.getInputStream())); String inputLine;
while ((inputLine = in.readLine()) != null) System.out.println(inputLine); in.close(); } }
i have to place property files specific to application in WEB-INF/conf folder and retrive those files in the application if i use System.getProperty("java.class.path") its not listing the path ..how to call the propertyfiles placed in WEB_INF folder into the application .. thanks in advance
src.txt is having TITLE after running above build dest.txt is still having TITLE its not being replaced with Foo Bar any thing i am missing. help appreciated. thanks in advance
thanks for the response. for the customization they have specified in the httpd.conf. i am looking for the error file that is being displayed with out cusomization ? any idea where this is located ?