kamesh aru

Ranch Hand
+ Follow
since Mar 16, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by kamesh aru

is there way of adding website as trusted in IE using javascript


following link helped in writing a filter to replace attachment with inline
servlet filter
thanks for the responces
16 years ago
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.

16 years ago

doc_to_open = 20080103WC_01.html


This occurs in all browsers in firefox it downloads the file and opens it.

yes just adding the document name to the URL and letting Tomcat's default servlet stream it
16 years ago
its a redirection to another page

title="Automated LMS notifications sent in error" href="http://localhost:8080/portal/server.pt/document/528/doc_to_open">TEST DOC

the above line is opened with a and closed with a
16 years ago
using tomcat 6 html hyperlinks when clicked prompting open/save as /cancel dilaog box instead of opening in browser.
thanks in advance
16 years ago
thanks for the reply.i was looking at old version of java.
17 years ago
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();
}
}
17 years ago
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
while using <jsp:include page="<%= footer %>" flush="false" /> i am getting Error 500: Response already committed

can any one help me out ?
thanks in advance
17 years ago
JSP
i am seeing following message in system out log in was 6.1

VirtualHost I SRVE0250I: Web Module <null> has been bound to default_host[*:9080,*:80,*:9443,*:5060,*:5061,*:443].

why web module is null ...
any help appreciated .
thanks in advance
17 years ago
thanks for the help its working
17 years ago
followinf is my build file

<project default="compile">
<target name="compile">


<copy file="src.txt" toFile="dest.txt" filtering="true" >

<filterset>
<filter token="TITLE" value="Foo Bar"/>
</filterset>

</copy>

</target>

</project>

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
17 years ago
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 ?
17 years ago
where is the default Internal Server Error page in apache http server ?
thanks in advance
17 years ago