Results 1 to 4 of 4

Thread: Transfer the control from a form to HTML

  1. #1
    Moderator
    Join Date
    Oct 2005
    Answers
    305

    Transfer the control from a form to HTML

    What are the advantages of using JSP over HTML? Can I transfer the control from a form in my HTML page to a servlet? I know I can do it in JSP, what about HTML?

    NOTE : This question was asked by tereeves


  2. #2
    Contributing Member
    Join Date
    Jun 2006
    Answers
    95

    Re: Transfer the control from a form to HTML

    seems to be this guy has no idea about jsp and html....

    html can be used with any server side programming ..


  3. #3
    Expert Member
    Join Date
    Oct 2005
    Answers
    383

    Smile Re: Transfer the control from a form to HTML

    hi lokesh

    see ,u have got it wrong.HTML is a language to create forms etc.It can b used with JSP as well as servlet.
    For eg with HTML u can create a form say two text field named User name and password.HTML is the form which u see when u open a website.(filling forms)

    JSP will accept the username and password ,verify it with DB( using SQL coding used )and if valid forward u to other web page.

    This topic is very vast and no one can explain everything here.So better take a JSP book and start reading

    Bye

    :)
    NEVER SAY DIE.

  4. #4
    Junior Member
    Join Date
    Apr 2007
    Answers
    15

    Re: Transfer the control from a form to HTML

    Hi,

    through the tag,


    u can pass the request from HTML to Servlet.

    Advantage of HTML over JSP is,

    for eg,

    u cann't access the session contents using,
    <% = session.getAttribute("userName");%>

    i htink u got the thing now.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact