Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Dec 2004
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question How to make forms fields thru database?

    Hello

    I am making a form which has field like text field, drop down menu, radio buttons, etc. & fields should be filled up with data. can forms fields directly come from database?And after coming from database, form fields should also be filled up with data. For. e.g. all the items in drop down menu should come from database rather than manually filling it?

    Looking forward for an early reply.

    Thanks

  • #2
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,058
    Thanks
    10
    Thanked 96 Times in 94 Posts
    the database usually just supplies the data , the data is normally then formatted by a serverside language though some databases have built in scripting languages for this , even simpler systems like MySQL can be tickled into creating markup.

    however you still need a server-side language to fetch and display the data from the DB.
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)

  • #3
    New Coder
    Join Date
    Dec 2004
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question

    I am using java technology(jsp,servlets) & backend oracle.

    I came to know that thru custom tag or struts something can work out but I like to know that also form field(radio buttons, text fields,etc.) come from database because till now I have made tables in database by giving sql command, for e.g.

    create table abc(empno number(5), empname char (15));

    I have not written any form fields(radio buttons, text fields,etc.) in table so how to bring them. Till now I was making form fields with the help of HTML tags.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •