fawad ahmed

Greenhorn
+ Follow
since Nov 22, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by fawad ahmed

What is the purpose of servlet context and how to use.
22 years ago
Well does can any one send send the url where to find information about jtapi sample code .and also if any body know books
22 years ago
Well i can not load image i have puted in the images folder.gives null pointer exception
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;
import java.net.*;
public class SetCookie extends HttpServlet
{
public void doGet(HttpServletRequest req,HttpServletResponse res) throws IOException, ServletException
{
res.setContentType("image/gif");
ServletOutputStream sop=res.getOutputStream();
System.out.println(getServletContext().getResourceAsStream("c:/tomcat2/webapps/examples/images/code.gif"));
int ival=is.read();
while(ival!=-1)
{
sop.write(ival);
ival=is.read();
}
}
}
22 years ago
Well where to find the Edocobian's mock test and other java ranch followers tell about it
Congratulations !!!........
Excellent.WellDone Keep it up.