Go Back   CodingForums.com > :: Server side development > Other server side languages/ issues

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-21-2005, 11:32 AM   PM User | #1
pashah72
New Coder

 
Join Date: Dec 2004
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
pashah72 is an unknown quantity at this point
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
pashah72 is offline   Reply With Quote
Old 01-21-2005, 03:20 PM   PM User | #2
firepages
Super Moderator


 
Join Date: May 2002
Location: Perth Australia
Posts: 3,942
Thanks: 7
Thanked 82 Times in 81 Posts
firepages will become famous soon enough
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)
firepages is offline   Reply With Quote
Old 01-22-2005, 06:15 AM   PM User | #3
pashah72
New Coder

 
Join Date: Dec 2004
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
pashah72 is an unknown quantity at this point
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.
pashah72 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:19 PM.


Advertisement
Log in to turn off these ads.