Click here to Skip to main content
15,890,717 members
Home / Discussions / Java
   

Java

 
GeneralRe: j2ee code for sending mail Pin
sangeeta200917-Sep-09 6:21
sangeeta200917-Sep-09 6:21 
GeneralRe: j2ee code for sending mail Pin
427748018-Sep-09 15:25
427748018-Sep-09 15:25 
GeneralRe: j2ee code for sending mail Pin
sangeeta200923-Sep-09 5:16
sangeeta200923-Sep-09 5:16 
GeneralRe: j2ee code for sending mail Pin
427748023-Sep-09 18:25
427748023-Sep-09 18:25 
Questionhow to convert swings to java applet Pin
Member 46403268-Sep-09 3:32
Member 46403268-Sep-09 3:32 
AnswerRe: how to convert swings to java applet Pin
Nagy Vilmos8-Sep-09 10:36
professionalNagy Vilmos8-Sep-09 10:36 
AnswerRe: how to convert swings to java applet Pin
42774808-Sep-09 13:06
42774808-Sep-09 13:06 
Questiondeployment eerrotr 404 error Pin
kirancgi7-Sep-09 21:48
kirancgi7-Sep-09 21:48 
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.http.HttpServlet;
import java.io.*;
public class DateExample extends HttpServlet{
public void doGet(HttpServletRequest req,HttpServletResponse res)throws ServletException,IOException {
res.setContentType("text/html");
PrintWriter pw=res.getWriter();
pw.println("<html><head><title>wELCOME TO sERVLET pROGRAMING</title></head>");
pw.println("<body>");
pw.println("Print date and time");
java.util.Date dat=new java.util.Date();
pw.println(dat);
pw.println("</body></html>");
System.out.println("Thnx 4 using this application");

}

}

<servlet>
<servlet-name>hai
<servlet-class>DateExample<


<servlet-mapping>
<servlet-name>hai
<url-pattern>/ServletSample



at the time of deployment iam getting error like this, tell me how to resolve this one.

The requested resource (/ServletSamples/DateExample) is not available.
AnswerRe: deployment eerrotr 404 error Pin
thomas.michaud8-Sep-09 3:40
thomas.michaud8-Sep-09 3:40 
AnswerRe: deployment eerrotr 404 error Pin
42774808-Sep-09 13:11
42774808-Sep-09 13:11 
QuestionKey Logger Pin
badrisuper6-Sep-09 21:55
badrisuper6-Sep-09 21:55 
AnswerRe: Key Logger Pin
TorstenH.7-Sep-09 1:35
TorstenH.7-Sep-09 1:35 
AnswerRe: Key Logger Pin
EliottA7-Sep-09 4:44
EliottA7-Sep-09 4:44 
AnswerRe: Key Logger Pin
42774807-Sep-09 8:01
42774807-Sep-09 8:01 
QuestionDigital Signature Pin
vivhari3-Sep-09 20:26
vivhari3-Sep-09 20:26 
AnswerRe: Digital Signature Pin
vivhari3-Sep-09 20:56
vivhari3-Sep-09 20:56 
AnswerRe: Digital Signature Pin
Nagy Vilmos3-Sep-09 22:02
professionalNagy Vilmos3-Sep-09 22:02 
GeneralRe: Digital Signature Pin
42774804-Sep-09 10:50
42774804-Sep-09 10:50 
GeneralRe: Digital Signature Pin
42774804-Sep-09 16:46
42774804-Sep-09 16:46 
GeneralRe: Digital Signature Pin
vivhari5-Sep-09 5:34
vivhari5-Sep-09 5:34 
GeneralRe: Digital Signature Pin
42774805-Sep-09 12:42
42774805-Sep-09 12:42 
QuestionFinding Duplicates:(Loop within a Loop) Pin
squalled3-Sep-09 20:20
squalled3-Sep-09 20:20 
AnswerRe: Finding Duplicates:(Loop within a Loop) Pin
Nagy Vilmos3-Sep-09 21:58
professionalNagy Vilmos3-Sep-09 21:58 
AnswerRe: Finding Duplicates:(Loop within a Loop) Pin
TorstenH.4-Sep-09 2:55
TorstenH.4-Sep-09 2:55 
AnswerRe: Finding Duplicates:(Loop within a Loop) Pin
42774804-Sep-09 8:52
42774804-Sep-09 8:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.