Sorry but... the basics

Sorry to bother you but i am new to JSP development and more to Web development. Just a complete and simple answer would satisfy me. How is it possible when any user presses the submit button from an html form in .JSP to execute an SQL statement to check if there is a record in the database. Just this. Thank you!

that's not quite simple if you have no idea about servlets and jsp.....
best would be you read a little bit... check out pdf.coreservlets.com where you can download a very good ebook that explains the basics of servelts/jsps....
that after you should have a look at jdbc...

Similar Messages

  • I am unable to connect to the internet, there is a pop-up that says "We're sorry, but the Safari browse version you are currently using dos no support the community toolbar". My computer does say that it is connected to the internet until I open Safari.

    I am unable to connect to the interent. At the top of the screen my computer says that I am connected. When I open up Safari there is a pop up that say "Community Toolbar          We're sorry, but the Safari browser version you are currently using does not support the community toolbar" and when the Safari page opens up it says "You are not connected to the Internet. Safari can't open the page .... because your computer isn't connected to the Internet." I have tried Network Diagnostics and tried to reset Sfari, empty Cache as well as deleted all of my interent history. I am unable to use Time Machine because I never set it up. If someone knows how to help I would very much appreciate it!!

    Some instructions for removing Community Toolbar are available in this thread: https://discussions.apple.com/message/15868085#15868085

  • I keep getting the following error message---"We're sorry but the Safari browser version you are currently using does not support the community toolbar."

    When I log in I get this message I keep getting the following error message---"We're sorry but the Safari browser version you are currently using does not support the community toolbar."
    Also, I can seem to down load my Adobe Flash, I did download what I thought was the correct down load for Safari, but I'm still getting this message "We're sorry but the Safari browser version you are currently using does not support the community toolbar."  I was even going to purchase the Leopard for 29.99 to see would this solve my problem but I want to purchase another pc and sale this one, can you help me?
    Thank you

    See this link.
    Also look at More Like This on the right side of these pages for realted threads on this topic (and on the pages those link to).

  • Unable to continue because of hardware or system error. Sorry, but this error is unrecoverable

    photoshop cs3 stopped working. get error - unable to continue because of a hardware or system error. Sorry but the error is unrecoverable. Reloaded software - but not resolved. Any advice? Someone mentioned Settings files or profiles?

    This occoured in Photoshop CS3 today. All other Adobe products are functioning normaly on this system. Premiear CS3, Encore, Audition function fine. Photoshop was working fine then failedduring the evening. We have removed and reloaded Photoshop CS3 and recieve the same error. Still the remaining Products run as expected. All other Aplications on the system run normaly as well. No other indications of hardware issues are logging. There is ample memory and space available on this system.
    Someone else suggested I trash my PREFS (I am not sure How I proceed in doing that - any advice on how to delete the prefs - willing to try that at this point) Thanks

  • Looking for the basic Tutorial for Labview 5

    I have a student who I would like to have learn labVIEW. But all of my systems are running labVIEW 5.1 I am looking for the tutorial which starts assuming that you know nothing of this program, and steps you through writing several programs.

    There was a tutorial included with the LabVIEW 5.1 CD. You can also find some links to on-line tutorials here as well as links to some LabVIEW books. I don't know how many of the tutorials or books are specific to LabVIEW 5.1 but the basic LabVIEW functions haven't changed that much and there should be enough to get someone started.

  • Audio works great but the person I called couldn't...

    Set up Skype for interview...I was able to call the person, the audio was great, I could see them but they couldn't see me...how do I fix this problem?

    haruono wrote:
    i lost my phone and i called it and it rang at first. but then, the next time i called this message came up.
    I'm sorry but the person you called has a voicemail box that has not been setup yet...Goodbye.
    i'm using at&t go phone and i really need to know what this means.
    Very simple.
    It means you never set up your voicemail.

  • Pretty basic this, but I'm a total beginner.  Can anyone tell me (in simple steps!) how I burn a movie I bought in iMovies onto a DVD?  After I stick the DVD in, what happens then?  Sorry about the unsophisticated question.  Thanks.

    Pretty basic this, but I'm a beginner.  Can anyone tell me (in simple steps!) how I burn a movie I bought in imovies onto a DVD?  After I stick the DVD in, what happens then?  Do I have to be in my itunes library first?  Sorry about the unsophisticated question.  Thanks!

    Hello Jackie! (My brother lives in Brussels!)
    You may find these helpful:
    iMovie tutorials:
    http://www.apple.com/ilife/tutorials/#imovie
    and also this:
    http://www.kenstone.net/fcp_homepage/imovie_09_stone.html
    A good guide to iDVD 7 can be found here:
    http://www.kenstone.net/fcp_homepage/idvd_07_stone.html
    Apple's tutorial on iDVD 07/08 is here:
    http://manuals.info.apple.com/en/idvd_08_getting_started.pdf

  • I've Learnt the Basics, But Now What?

    Hey,
    I've been teaching myself java from various books over the past few months, thought i have been told many times this is not the best way to learn, i gave it a go and I can understand the basics: data types, class types, the idea of object oriented programming and some core java classes, but I'm still very sceptical about how to actually start writing programs. I never know where to start. It's as though I know the theory, but I'm unable to put it into practise. If anyone had any good proctise programs I could attempt to write, maybe that would help?
    I've written a few very simple programs which contain 3 or 4 classes, but when I look at much larger programs with 50+ classes and folder structures, I wonder how did he know exactly what classes he would need to make the application work? And which class did he write first? This is where I get stuck in application development :\
    I wonder if it's that i don't yet know enough core classes to use in my applications to make them work, or if there is a standard way to plan applications. When I attempt to write a larger application, it gets very messy, and debugging can be almost impossible.
    So I want to write a program which is able to enter values into forms on the internet and scape data from the page where the form submits too, what classes would I need to write, and what methods would I need, and which core classes would I use? I am sorry if this question seems a bit vague, but I'm really stuck at the moment :\

    Ryanz wrote:
    Hey,
    I've been teaching myself java from various books over the past few months, thought i have been told many times this is not the best way to learn, i gave it a go and I can understand the basics: data types, class types, the idea of object oriented programming and some core java classes, but I'm still very sceptical about how to actually start writing programs. I never know where to start. It's as though I know the theory, but I'm unable to put it into practise. If anyone had any good proctise programs I could attempt to write, maybe that would help?Congratulations -- I don't know why teaching yourself from books is a bad way to learn. The biggest thing you'd probably be missing now are things that come up in practice:
    a) Effective design (what you're asking about)
    b) Clean, maintainable code
    c) Formatting/documentation conventions
    In all cases, I think the best way to learn is to dive in. You may want to try to find an open source project that needs some help -- even if you're just learning, there are projects where the developers are working on new features and don't have the time to dig to find a minor bug, which may be simple. If you can find that bug, your work will be highly appreciated.
    At the same time, that'll give you an idea of what standard coding conventions are. (Assuming you find a project which was written by people who follow the conventions.) Follow those, and make sure you document your own code. Format it the same way they format theirs. Someone might make a comment about your contribution -- take it as a learning experience, not an attack, and compare what they did to your own solution. If you're confused about the difference, ask them to explain why they prefer their way. It may be that it's a more robust solution, or it may just be that it's the accepted convention. Both are equally valid.
    My own experience learning that kind of thing was a combination of working on projects with other people and using some nice Eclipse plug-ins, like Checkstyle, FindBugs and PMD. A lot of times the suggestions they give may go over your head -- for a while, I would get pieces of my code flagged and I would have to do research into why, but once I understood what it was saying, I was able to write better code. Just keep in mind that those tools are often very strict, and may flag almost everything you write -- again, don't worry so much, and just use it as a learning experience.
    I've written a few very simple programs which contain 3 or 4 classes, but when I look at much larger programs with 50+ classes and folder structures, I wonder how did he know exactly what classes he would need to make the application work? And which class did he write first? This is where I get stuck in application development :\Experience. ;)
    Realistically, it depends on what kind of learner you are. You say you learned by reading books and taught yourself. You might find it useful to go through the API and just look at what's available. Don't try to memorize everything, or even go too deep into what the methods of each class are. Read the package documentation and see if you can see what the differences between the classes are. Many of them may seem useless. Don't worry about it. If you can think of where something might be used, great. If not, you may remember that it exists when you do. You may find it easier to grab a copy of Java in a Nutshell, which is pretty much just the API in book form.
    Make sure you understand the basic data structures and when you would use each one. Those are (unless I'm forgetting any): List, Set, Map, Queue. There's also more complex ones like Tree that don't have direct Java representations.
    Once you've gotten to the point where you can write classes that are relatively clean and just keep running into the same awkward constructs, read up on Design Patterns. These are well-known patterns of solutions that make your design easier, but I'd suggest you have some experience running into the problems they solve first. ;)
    I wonder if it's that i don't yet know enough core classes to use in my applications to make them work, or if there is a standard way to plan applications. When I attempt to write a larger application, it gets very messy, and debugging can be almost impossible. There are, ranging from some basic tips to full-on strict methodologies. You may have learned Java as just a programming language. One of its strengths is that it tends to force (or at least make it much simpler) to design using good object-oriented techniques. Read up on designing classes in an object-oriented way, and start thinking of your application as a machine with parts that work together.
    So I want to write a program which is able to enter values into forms on the internet and scape data from the page where the form submits too, what classes would I need to write, and what methods would I need, and which core classes would I use? I am sorry if this question seems a bit vague, but I'm really stuck at the moment :\Here, you seem to be talking about the Java Servlet model. Depending on how deep you want to get (for example, I like to start at the bottom and use external libraries only once I understand the basics), you could either read up on JSPs or just start with something like Spring.
    And of course, you can post here if you have specific questions. If you come to the forums with what you've designed so far and feel like you're stuck, the people here can help guide you in the right direction even if they don't outright give you a solution. ;)
    Hope this helps!

  • I bought an HDTV cable to connect my MacBook Pro to my Sony TV via HDMI so I could watch videos from my computer on my TV.  My TV then shows my basic computer background but the videos won't play.  What am I doing wrong?

    I bought an HDTV cable to connect my MacBook Pro to my Sony TV via HDML.  The TV recognizes my computer; I see my basic computer screen on the TV. I tried to watch videos on my TV but got nothing. (tried via my facebook vidoes and Youtube.  What am I doing wrong?

    I've got a similar (but different!) problem: I have a MacBookPro3,1 running Mac OS X 10.6.8. I want to connect to my HD TV using a HDMI to DVI cable but the MBP cannot detect the TV display. What's the solution? Is this a bug in Mac OS X 10.6.8 ? Any ideas what I can do to make things work with the HDMI to DVI cable. (N.B.: I have separate audio cable running from the MBP to amplified speakers for the sound side of things. It’s the video that’s the problem!)

  • Hi, i am having an issue with a basic motion scroll effect.  I already watched and read every tutorial out there regarding this topic and even tried the adobe chat support, but the guy on the other end of the line disconnected me-, probably he didn't unde

    Hi, i am having an issue with a basic motion scroll effect.
    I already watched and read every tutorial out there regarding this topic and even tried the adobe chat support, but the guy on the other end of the line disconnected me…, probably he didn't understand what i wanted from him because english is not my native language, so a will try to be very, very clear about this one..
    please note, that i am new to muse, this is my first project ever.
    my idea is as following:
    when the customer comes to our companies site, he just sees our logo on a white Background. the logo consists of, say, four elements. when the customer scrolls down, the logo starts to disassamble: first the first part of the logo flies out the left side of the site, then the second part of the logo vanishes down, then the third part of the logo flies to the right, then the fourth part of the logo flies to the top and out of the customers view. given what i have seen, it is possible to do that….
    so…..
    now i have the four parts of my logo imported as png files into muse and assembled them in design view to build our companies logo. I select every one of the four parts and go into the scroll effects tab left beside the layers tab. first i enter the same values for every one of the four parts: initial motion: 0x and 0x again for the left and right motion; key position ( t-handle) : 0px; final motion: 0x and 0x again for the left and right value.
    now i hit "preview".: the logo is "pinned" at the correct position, i can scroll but the logo stays where it is. so far so good….
    now i select all the four elements again and go to the scroll effecs tab. at "final motion", i click the down arrows and enter 1x. I hit Preview…
    when i am scrolling down the WHOLE logo goes down…. so far so good.
    NOW i want the first part of the logo to go down, THEN the second part to go left, THEN the third part to go up, THEN the fourth part to go right.
    so i select ONLY the first part, go to the scroll motion tab, at "final motion" i click the left arrows, then i enter 1x.( the up-down value, i set to 0 again).. i hit Preview…
    the first part of the logo goes left as soon as i start scrolling, the other three parts still go down at the same time…
    NOW i want the second part of the logo to start moving, when the first part has left the scene, not at the same time as the first part.
    SO I SELECT THE SECOND PART AND DRAG ITS T-HANDLE (KEY POSITION) DOWN TO, LETS SAY, 200PX. SO IT STARTS MOVING ONLY AFTER THE CUSTOMER HAS REACHED THAT POINT, RIGHT?
    BUT WHEN I PREVIEW THAT ****, THE LOGO IS NOT TOGETHER ANYMORE, THE SECOND PART IS FLOATING ANYWHERE ELSE BUT WHERE IT SHOULD BE…..WTFF????
    short: when i move the t handle, the initial position of the object changes. thats what i said to the adobe employee, but he said, that thats the expected behavior….
    but if thats so, how can i have my four parts correctly together, so they form my logo, but with different t handles, so that they all start to move at different times??
    Pleeease help me, i am dying of frustration here…..:( that behavior cant be right, right?
    Thanks so much to everyone who actually reads this post and tries to help…….
    All the best,
    Niki Lapan

    Thank you so much for helping,
    But i really wonder how you did that. did you always switch between design view and preview view, then change the key position for 2px then switch back, to align the four letters? because i imagine that can get really frustrating, if you have a logo consisting of 58 parts instead of 4!:)
    Anyway thank you very much for your time and effort!!!!

  • Hello,i have one iphone 3gs and i want it to upgrade my iso from 4.1 to 6 but now it dond wanna activate,what i can do?sorry for the language i am from romania so..

    i have one iphone 3gs and i want it to upgrade my iso from 4.1 to 6 but now it dond wanna activate,what i can do?sorry for the language i am from romania so..

    i am also having the same problem.....but there is no solution i am stil waiting for the responce of apple adviser.

  • We are sorry, but we are unable to complete your request.•The Office 2007 Product Key provided is already associated with another user on this site. Please log in with the user information originally used with this Office 2007 Product Key.

    Over the years I have had many ISP and email addresses - but now we have  finally gone almost fully virtual...
    I have a live login and MS ID 4 my SkyDrive account but I only use my MS  touch with 8.1, SkyDrive and office 365 for mobility.
    And I still like to backup to my own server!!!
    What would be good is if I can put all the software licenses and product  keys of the software and keep a record of my mac addresses for  hardware  and even static IP's in a file or a secure location within the MS online  store.
    That's where MS wants me to get my computing needs from in future and I  will always be able to retrieve it in future but what about the $$$$$ I have  spent on software, hardware and applications prior to now???
    I know u guys love 2 collect data 4 marketing analysis,
    4 example I have an old PC that is still running a server from last century  - if you knew about it a simple script would allow you to offer upgrades or at  least relevant MS products - UNLIKE the rubbish adds I just turn off or tune out 
    now...
    Why cant I add products previous online email purchases into the 1 MS live  ID account where I can keep it together? If you make that available I don't have  to have separate steam accounts, EA game accounts, ASUS and adobe accounts etc 
    etc.
    What has brought me 2 this is I was looking for my office pro 2007 disks to  rebuild a HOME USE ONLY windows 7 laptop (NO touch screen so 8.1 is no benefit  at all)
    I HAVE 4 Genuine PRODUCT KEYs for Office 2007 BUT EVERY TIME I WENT TO  DOWNLOAD the software - regardless of the key I used - I got the error message:  We are sorry, but we are unable to complete your request.•The Office 2007  Product Key
    provided is already associated with another user on this site.  Please log in with the user information originally used with this Office 2007  Product Key.
    That's crap - This is a clean brand spanker install of Win7 and there was  nothing b4 I put the oem drivers from Toshiba back on.
    I looked at dozens of support pages and forum blogs and tried for hours to  get a copy to download - including incognito and other logins but because my  default PC name is also my MS Windows live ID the same error was repeated.
    I keep away from the non MS sites for these things and with good reason -  there were heaps of similar users with the same issue or very close to it that  had downloaded from a supposed MS copy from eValue or digital river etc and the  next
    thing was total corruption of the OS.
    EVENTUALLY I found a LIVE MS chat on a support site in the US and she gave  me a link to a slightly older version which will need updating and some reg edit  changes but so far, so good.
    The point is - what a crock !
    I should be able to just keep all my software, drivers, updates, service  packs, and versions that I have upgraded in the MS store.
    If Microsoft aren't going to support XP or Office 2003 and eventually 2007,  vista & Windows7 not far behind??? then that's still no excuse for them to  put these restrictions and limits when I OWN my copy of the software!!
    Unlike office 365 and SkyDrive space which is described in the T&C  (that we all read before ticking that radial button to agree of course) as ONLY  under a leased licence.
    IF Microsoft can support AND develop software that supports SQL2000  Servers, why is it so hard to archive and keep the same info for  everyone???

    Over the years I have had many ISP and email addresses - but now we have  finally gone almost fully virtual...
    I have a live login and MS ID 4 my SkyDrive account but I only use my MS  touch with 8.1, SkyDrive and office 365 for mobility.
    And I still like to backup to my own server!!!
    What would be good is if I can put all the software licenses and product  keys of the software and keep a record of my mac addresses for  hardware  and even static IP's in a file or a secure location within the MS online  store.
    That's where MS wants me to get my computing needs from in future and I  will always be able to retrieve it in future but what about the $$$$$ I have  spent on software, hardware and applications prior to now???
    I know u guys love 2 collect data 4 marketing analysis,
    4 example I have an old PC that is still running a server from last century  - if you knew about it a simple script would allow you to offer upgrades or at  least relevant MS products - UNLIKE the rubbish adds I just turn off or tune out 
    now...
    Why cant I add products previous online email purchases into the 1 MS live  ID account where I can keep it together? If you make that available I don't have  to have separate steam accounts, EA game accounts, ASUS and adobe accounts etc 
    etc.
    What has brought me 2 this is I was looking for my office pro 2007 disks to  rebuild a HOME USE ONLY windows 7 laptop (NO touch screen so 8.1 is no benefit  at all)
    I HAVE 4 Genuine PRODUCT KEYs for Office 2007 BUT EVERY TIME I WENT TO  DOWNLOAD the software - regardless of the key I used - I got the error message:  We are sorry, but we are unable to complete your request.•The Office 2007  Product Key
    provided is already associated with another user on this site.  Please log in with the user information originally used with this Office 2007  Product Key.
    That's crap - This is a clean brand spanker install of Win7 and there was  nothing b4 I put the oem drivers from Toshiba back on.
    I looked at dozens of support pages and forum blogs and tried for hours to  get a copy to download - including incognito and other logins but because my  default PC name is also my MS Windows live ID the same error was repeated.
    I keep away from the non MS sites for these things and with good reason -  there were heaps of similar users with the same issue or very close to it that  had downloaded from a supposed MS copy from eValue or digital river etc and the  next
    thing was total corruption of the OS.
    EVENTUALLY I found a LIVE MS chat on a support site in the US and she gave  me a link to a slightly older version which will need updating and some reg edit  changes but so far, so good.
    The point is - what a crock !
    I should be able to just keep all my software, drivers, updates, service  packs, and versions that I have upgraded in the MS store.
    If Microsoft aren't going to support XP or Office 2003 and eventually 2007,  vista & Windows7 not far behind??? then that's still no excuse for them to  put these restrictions and limits when I OWN my copy of the software!!
    Unlike office 365 and SkyDrive space which is described in the T&C  (that we all read before ticking that radial button to agree of course) as ONLY  under a leased licence.
    IF Microsoft can support AND develop software that supports SQL2000  Servers, why is it so hard to archive and keep the same info for  everyone???

  • HT1296 I have a problem synching calendar data between my iPhone 3GS iOS 5.1 & Outlook 2007 on MS7.  The basic calendar is OK but the birthdays (little box icon) are a day early & cannot be changed to the correct date. How can I fix this?

    I have a problem synching calendar data between my iPhone 3GS iOS 5.1 & Outlook 2007 on MS7.  The basic calendar data transfer is OK but the birthdays (little box icon) are a day early & cannot be changed to the correct date. The birthday entries in my Outlook contacts have correct dates.How can I fix this?

    The following peocess corrects the calendar entry:
    edit the contact & change the birthday, save the change; edit the contact & change the birthday to the correct value, save the change again. The calendar entry then displays on the correct date.  Alternatively as a temp solution I can just de-select the "birthdays" calendar which stops the icon being displayed.
    Thanks for your advice, I think that it's n going to be a slow process to fix all the entries for not much return.

  • The battery of my macbook died in 2 years and when I call an inform them Mr ********** (sr advisor) gets outrightly rude and tells me sorry but don't think that you can be an exception to it. Extremely shocked at this approach by apple.

    The battery of my macbook died in 2 years and when I call the servise center to inform them cuse i personally am dissapointed but at the same time want to know the reason why something like this has happened ith a product of apple. Mr ****** (sr advisor) gets outrightly rude and tells me sorry but don't think that you can be an exception to it. Extremely shocked at this approach by apple. Then throughout the conversation he chose to mute me and wouldnt answer my queries. And when i asked him whos the serior I could talk to. He tells me "Im the seriormost that you can get upto..there is nobody above me you can talk to".
    Now what do i do???
    <Edited by Host>

    By doing so, you are violating the terms of use of this support forum
    "Post constructive comments and questions. Unless otherwise noted, your Submission should either be a technical support question or a technical support answer. Constructive feedback about product features is welcome as well. If your Submission contains the phrase “I’m sorry for the rant, but…” you are likely in violation of this policy."
    "Breach of the Agreement
    If you fail to abide by these terms Apple may remove your submission. Apple may also send an e-mail that informs you that your Submission has been deleted or edited. Repeated inappropriate Submissions may result in your relevant account or accounts being placed into temporary or permanent suspension of your ability to participate in any or all of the areas on the Site."
    https://discussions.apple.com/static/apple/tutorial/tou.html

  • Firefox would take me to yahoo but now it says sorry gone the requested resource is no longer available on this server and there is no forwarding address.

    When I click on my Firefox Icon instead of yahoo coming up I get a page that says 410 Gone. Sorry Gone The requested resource is no longer available on this server and there is no forwarding address. Please remove all references to this resource. Please check the URL for proper spelling and capitalization. If you're having trouble locating a destination on yahoo try visiting the "Yahoo home page" or look through a list of Yahoo's online services. Also you may find what you're looking for if you try searching below (it gives a search box). Below the box it says Please try Yahoo Help Central if you need more assistance. If I click on the words Yahoo Home Page it will them take me to the yahoo home page which is used to do my my just clicking on my Firefox Icon. I would appreciate any help someone could give me. I have removed Firefox from my computer and re-downloaded it with the yahoo download but still get the same screen when I click in the Firefox Icon.

    I just wanted to say thank you to the-edmeister. Your response corrected my problem. Thank you I appreciate it.

Maybe you are looking for

  • KDE panel not showing apps [Solved]

    Hey there I just installed Arch Linux on my box and then KDE. But I encountered a small problem. The applications I run doesn't show in the KDE Panel. I have to alt+tab to switch between the windows instead of just clicking on the appropriate icon in

  • My intel iMac restarts on it's own

    I shut my iMac down once a week or more and also when I am going to be away from home for a few days.  I have been finding that it has restarted through the evening on it's own.  Could this be a virus or is there a setting that I need to check?

  • HI..need help update WRT54GC Compact Wireless -G

    Hi guys,need help about update my WRT54GC..i bought it for about a year ago..but i decide to update it cuz been having some lag in game..and some player told me to update my router. btw i use wired not wireless My current firmware version is 1.00.7 b

  • Regarding modifying data selection

    Hi All, I am extracting data using 0fi_gl_4. But I am getting ORA1555 error. When I contacted my DBA team they are saying that we have reduce the data selection so that the no of records selected are less. As I am only having Month and year as load s

  • Keychain Login: Password Requests, Login=Pinwheel

    I recently had to reset my apple ID and now upon restart, Claendar Agent, Messages Agent, com.apple.icloudhelper.xpc, mail and accountsd all request the keychain password.  Unfortunately, what I type does not seem correct.  When I open Keychain Acces