Bookmark Topic Watch Topic
  • New Topic

Simple Question, but Big Confusion... :-(

 
nikos sokaf
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi , everybody:
I wanna make this:
Server: A simple Web server that handles at text files UserNames and PassWords.
Client: A Web browser-type client that the user can input a username and a password.
Usage: The client opens an URLlike http:/<IP> or <localhost>:80 and the server response is the login page...
The client sends the users UserName and PassWord, and if are the right elements, the server sends a simple .html page, or else the client cannot view the simple .html page.
I do not care the safety of the transmitting data, I just wanna understand how can i make a SIMPLE Web-Server.
I'm new to WebServices and i could not find anything...
All i ask is a simple login page with a simple server for LOCAL Network only.
Please help me, i am trying to find an answer to my problem two weeks ago...
The only thing i have finished and worked is the GET method from server side to the client. I can't handle POST or PUT at my little server.
Please don't confuse me with servlets and Apache( or CGI etc.), because my question is set to my server side problem and the browser login page code...
How should i handle the PUT or POST on my little server?
Thanks all of you, for your time!
nikos sokaf at: nsalonis@yahoo.gr or this site...
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Nikos, you have posted this question in three different forums. Please refrain from cross-posting. And also this is not the appropriate forum for this question. This is the Sun Certified Java Developer forum. Question pertaining to the SCJD is what is asked in this forum.
Your question about a Web Server makes no sense to this forum.
Mark
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Report post to moderator
Thank you Mark. I'm closing this one.
Best regards,
Phil.
 
    Bookmark Topic Watch Topic
  • New Topic