JDBC Data base and web pages

I am struggling to link my web page to access data base.
I need to map specific cells to specific tupples in the data base and
when data is retrived from the data base I want to sort it by means of a java programme and then direct the out put to the web page.
How best can I do it ? the instructions I have are not working at all
Sam

You need to know GROUP BY and ORDER BY syntax of SQL.
JSP and HTML knowledge are required too.

Similar Messages

  • JSF - Read a text file and diplay lines of text data on the web page

    Hello,
    For one of my projects, I need to display lines of text data on the web page using Java Server Faces Technology. The raw data could be from simple text files or sockets or anything. (Getting the data is not my issue but displaying is). Could anybody send answers with sample code. In servlet, one could do this by -
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException{
    PrintWriter out = response.getWriter();
    out.println("<html>");
    out.println(DATA);
    out.println(DATA);
    out.println("</html>");
    I am looking for similar solution.
    Thanks in advance
    DK

    Thanks mjolinor.  Works great!
    Two questions.
    1. Could you plz suggest how this could be modified so this code would read the file in or accept it from the pipeline instead of wrapping the (@' around the data?
    2. Could you plz briefly describe some of the details of the code so I can further research and understand.
    Thanks for your help.
    Thanks for your help! SdeDot
    1. It already reads in the file.  The (@' .. '@) bits are just there to create a file using your test data to demonstrate that it works.
    2.  Not user what kind of "details" you want.  There really isn't much there, and get-help on the cmdlets used should provide information on what's going on with them in that script.
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • How to retrieve data from a web page through php scripts..........

    kindly suggest me the php parsing script so that i can fetch the data from a web page.....
    suppose we have a url.........
    http://abc.com/news/companydetails.aspx?sskicode=x&Exchange=y
    and the page contains the various fields.........like
    xyz 10
    xyz1 20
    xyz2 30 etc...
    then we have to retrive data from this page trough php script and insert it into database.....
    value of xyz , xyz1 n xyz2 should be retrived and further inserted into database.......
    thanx ......

    Should be nice..
    But its not working i think..

  • How do you create data base documents in Pages '09?

    Can you create Data Base documents with Pages, or any of the iWork Apps?

    If you want to create and use true databases, you must use an other app dedicated to this feature.
    There is a powerful database tool in LibreOffice but it requires a serious learn curve.
    There are numerous available apps starting from Bentoy to FileMaker or 4th Dimension.
    Matter of needs and finances.
    Yvan KOENIG (VALLAURIS, France)  dimanche 11 décembre 2011 10:54:27
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • How do I add dates from a web page into iCal?

    Hello. I would love to find a way to input dates from a web page, into iCal as an event. Right now, if there is a conference or whatever that is on such and such a date, I have to keep the web page open that has the dates and time, and then open iCal, and create a new event on that date, etc. Is there a way to highlight said dates on a web page, run some automation, and voila, it is a new event in iCal?

    Don't double tap. Just try pressing on the text. That should highlight it.

  • Recent iOS update has made my iPad 2 unusable. The screen locks up. It's very laggy and web pages do not load correctly.  Is there a fix for this or are they even working on a fix.

    Recent iOS update has made my iPad 2 unusable. The screen locks up. It's very laggy and web pages do not load correctly.  Is there a fix for this or are they even working on a fix.

    Try some basic troubleshooting:
    (A) Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    (B) Try reset all settings
    Settings>General>Reset>Reset All Settings
    (C) Setup as new (data will be lost if you do not have backup)
    Settings>General>Reset>Erase all content and settings

  • Help: getting data from a web page

    i have a jsp page which generates some strings. i pass these strings in to a login page on some server. the web page displays my login status. is it possible to read or get data from the web page?
    i have captured the header of a web page and modifying the header based on my generated strings.
    or jus say is it possible to read whats in a web page into a jsp page?
    thanks in advance for any help , assistance or redirection to a source where i can find help.

    hi,
    sorry for a poorly framed question.
    this is what i m trying to do.
    i call google with a header generated.
    now i want to read back the content in the google search result page onto my jsp page.
    possible?
    first.jsp calls google. i m using redirect (url)
    the url is modified based on user input
    now i want the links in the google page to be put up in my page itself. so i want to read the links there...
    Message was edited by:
    on_track

  • How do i get that bar to appear on the screen for http and web pages?

    How do i get that bar to appear on top of the screen for http and web pages?

    Yes im using safari version  5.1.2 (6534.52.7)  I have tried clicking show toolbar  from the view menu but i still can't see it.  It's the bar where you type in a website link or http:// that I can find - any other suggestions much appreciated

  • ER diagrams in word docs and web pages

    What are the best ways of getting ER diagrams displayed in Word documents and web pages? The output facilities from Designer seem a bit limited unless I am missing something.

    True, the diagrammer is a modelling tool, not a drawing tool.
    To get your diagram in word however you can select & copy the entities in a windows fashion to word (Ctrl-C + Ctrl-V).
    If you want the contents of the repository in html on the web you should try ODWA (Oracle Designer Web Assitant)!
    null

  • Jet Data Base and MDAC

    I'm being told I need to repair my "Jet Data Base" and "MDAC", I think it has to with components in the OS, but I could be wrong. I'm pretty sure it doesn't have anything to do with fighter planes. I'm fairly new at
    this, I'm sure it shows. But I want to learn. It's hard to tear myself away from the screen. When I do it's usually to buy upgrades for my "rig". My question is, where do I go for definitions and more importantly, where do I find repairs for things
    I didn't know where broken? If my "rig" crashes I'm afraid I might have to get a life. So if someone can point me in the right direction I'll be glad to take it from there. Am I at the right place?
    Thanks
       

    See if the following helps:
    http://support.microsoft.com/kb/239114
    S.Sengupta, Windows Entertainment and Connected Home MVP

  • Basis and Web AS learing resources on net

    Hello friends,
            i am new to sap admin. so i want to know Basis and Web AS learing resources on net that r available.
    thanks in advance.
    Harry P.

    hi,
    i had answered a similar query before.
    Check this particular thread.
    SAP Basis roles
    Hope this helped.
    Arun

  • Changes in Bex and web page when adding a new hierarchy...

    Currently when we add a new hierarchy - we need to make a change to both the hier workbook in BEX as well as the web page.
       can any body help me what are the new changes?..
    Thanks in advance.
    Bala.

    Bala,
    To my understanding only if you use the hierarchy then you have to make changes otherwise it is not necessary.
    Run the Workbooks and Web Pages and check out whether you are getting any problem.
    Regs
    Gopi.

  • App tabs and web page tabs not saved when Apple Mac is powered down

    Using Firefox with Apple Mac running OS X v 10.7.1 and Parallels 6, and Windows Vista as a virtual computer. Have Firefox 6.o installed on the Mac and Firefox 6.0 for Windows installed within Microsoft Vista running under Parallels 6 as a virtual machine.
    Issue 1) Within Mozilla on the Mac whenever I power down and restart the computer all my app tabs and web page tabs are lost except for my home page, even though I have set up Firefox preference to remember my open web pages/tabs.
    Issue 2) Within Firefox running within Vista on the virtual machine my web pages are remembered but I cannot figure out how to create a app tab.

    Tabs are only saved if you close (Firefox > Quit) the Firefox application while those tabs are still showing. If you close a window and still have the menu bar visible then you wont reopen already close tabs. You may need to be able to reopen the three last closed windows via History > Recently closed Windows.

  • Can I use my Address Book to create a data base and then merge from it to create mailing labels?

    Is it possible to use my Address Book to create a data base and then merge from it to create mailing labels?
    Thanks,
    CF

    I know one way, it is not elegant but it does work.
    1. Open Thunderbird. (download here: https://www.mozilla.org/EN/thunderbird/)
    2. Click on Address Book.
    3. On the left in the new window is a list of your Address books and groups. Select the one you want.
    Your addresses will appear to the right.
    4. In Thunderbird / Tools select Export, and Save as "Comma Separated".
    You can open that list of addresses in Excel or in FileMaker Pro. Mail merge proceeds from there.

  • Printing from web pages is excruciatingly slow with most recent upgrades of Firefox .Use an iMac and an HP officejet printer. Printer works fine with Safari and woodprocessed files, but not with Firefox and web pages.

    Printing from web pages is excruciatingly slow since downloading most recent upgrades of Firefox Mozilla. I have a desktop iMac, OS 10.6.8, and an HP officejet printer 4500 G510n. The printer works fine with the Safari Browser and with woodprocessed files, but not with Firefox and web pages. Help please! It used to print fast with earlier versions of Firefox.

    Hello and welcome to the Apple Discussions Forum.
    I have hardly any experience with HP printers but since your posting has not been replied to yet I thought I'd offer some assistance.
    With the printer status and ink levels working, it shows that you have a connection to the printer. So I would look at the issue being with the protocol being used for the print queue on the Mac.
    Since you have XP and Vista working, I would check the printer queue configuration on either box. In XP, go to the Properties and select Ports. Click the Configure Port tab to view the connection. If you are using RAW, then this is known as HP Jetdirect-Socket on OS X. So if you are not sure what protocol was used before I would create another printer queue, this time selecting IP > HP Jetdirect-Socket. Then enter your IP address and select the K5400dn from the Print Using menu.
    If this still fails to print then please reply. There may be limitations with adding the HP driver this way that I am not aware of. There may also be other driver options you can look at, such as HPIJS. If Greg Sahli reads this posting he has expert knowledge on this matter and will be able to offer some guidance.
    PaHu

Maybe you are looking for