Dear Ashish 
    thats true i can use jsp instd of html 
but as my requirment i want to use html page can you please help me to pass
getting values to html page.
 
Nelson Rodrigo
Staff Officer - Software Development
LOADSTAR (PRIVATE) LIMITED
Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892 | Mobile: +94 77 311
6556

P SAVE PAPER  - Please consider our environment before printing *

 

  _____  

From: Ashish Mishra [mailto:[email protected]] 
Sent: Tuesday, June 16, 2009 2:24 PM
To: [email protected]
Subject: Re: [java ee programming] Java Servlet for Loging Details


Hi Nelson,
 
Why you are using the html page as a result of login.
You must use the jsp page instead of HTML page.
 
you can user the below code sement in you  servlet code 
 
String loginName=request.getParameter("Login");
String passWord=request.getParameter("Password");
 
PrinterWriter out =response.getWriter();
out("Login Name"+loginName +"Password"+passWord );
 
For more details , feel free to contact  or share you current code files
with your requirement.
 
 
With Thanks
Ashish 
 
On 6/16/09, Nelson Rodrigo - LHQ <[email protected]> wrote: 

Dear Friends,
    this is related to J2EE
        I have Login html page, when i successfully (User Name and PW
veryfied by Servlet)loging Home page will apper. so my problem is when Home
page comming we want to display login user name also in the Home page how
can i write a Servlet to achive my target.
 
 
Additionaly if you have any Idea reagrging colect Working computer
informations like IP Address, Computer Name....act.
 
 
Thakns in Advance
 
Nelson Rodrigo
Staff Officer - Software Development
LOADSTAR (PRIVATE) LIMITED
Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892 | Mobile: +94 77 311
6556

P SAVE PAPER  - Please consider our environment before printing *

 

 





-- 
Best Regards
Ashish Mishra


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to