Simple question from jsp newbie

Hi friends,
I am learning jsp now. Reading documents and implementing simple applications. But i want to ask a question that is opposite to my logic.
Now, i am a textfield control on jsp as textField1. I have created this control from Palette. in java code i am writing "textbox1." but there is no action, no intellisense while pressing ctrl + space.
How the control is accessing from java code? Maybe my logic with visual studio .net. but i want to learn jsp logic.
Thanks.

technologyMan wrote:
I am learning jsp now. You´re actually at the JSF forum here.
Now, i am a textfield control on jsp as textField1. You are? Really?
I have created this control from Palette. in java code i am writing "textbox1." but there is no action, no intellisense while pressing ctrl + space.
How the control is accessing from java code? Maybe my logic with visual studio .net. but i want to learn jsp logic.Uh, just write code accordingly? You can use h:commandButton/h:commandLink for that.
Anyway, if you want to start with JSF, I can recommend you the following sources:
Java EE tutorial part II, JSF starts at chapter 10: [http://java.sun.com/javaee/5/docs/tutorial/doc/]
Good kickoff tutorial: [http://balusc.blogspot.com/2008/01/jsf-tutorial-with-eclipse-and-tomcat.html]
The JSF taglib documentation: [http://java.sun.com/javaee/javaserverfaces/1.2/docs/tlddocs/]
The JSF API documentation: [http://java.sun.com/javaee/javaserverfaces/1.2/docs/api/overview-summary.html]

Similar Messages

  • May be slightly simple question from a new Mac user: Why can't I quit safari? I cannot quit it from top menu bar neither to do it from dock? All other apps are working normally.

    May be slightly simple question from a new Mac user: Why can't I quit safari? I cannot quit it from top menu bar neither to do it from dock? All other apps are working normally.

    Or you can actived the right button on your magic mouse and click on they icon in the dock. then you select "stop" and it's out of your dock.
    Greetings
    *update: Sorry, my mistake! I didn't read your message correct! Sorry for the inconvience!

  • A few simple questions from a new Iphone user

    Hi a few simple questions, just got an iphone 2g - 2nd hand so not really sure what to expect. Anyway I guess my first question is about mine sometimes being a little slow - when I look at contacts and sometimes when sending a txt it slows down/freezes a little - normal?
    Secondly Edge - I havent used it much but when I have its been painfully slow, is this normal - is it always really slow - cause I had read despite not being 3g Edge was actually pretty fast - what exactly is data roaming by the way? I mean I have been switched off as basically I dont wanna use the internet till next month when they change my contract to one I get unlimited access on - is that right?
    Im having a problems syncing videos to it - it just wont sync some but will others and Im not sure why - theyre same file type and they used to sync to my ipod touch but now they wont for some reason
    Cheers

    I have the origina iPhone.
    Downloaded 2.0, synced phone with everything UNchecked. Installed 2.0. Synced with all the options checked to reload my data. The iPhone has been great. Noticed a little lag when I opened contacts. Installed the new upgrade, and everything is back, no lag.
    Edge is Edge and nothing more. It is slow compared to a strong 3g signal. But is liveable most of the time. Heavy traffic can slow it down to barely usable.
    My four wheel drive club has a web site with a large photo section. I was standing out in the middle of parking lot in San Jose, Ca and showing a friend some photos. It opens up a page of small picts to choose from. Select a print and it enlarges, He was amazed at how fast they appeard. Especially given the quantity of photos.

  • Siring - simple question of a newbie

    I am a jsp newbie. I try a little code as follows:
    <% String a1="welcome to";
    String a2="\n";
    String a3="this test";
    String a=a1+a2+a3;%>
    <br>
    Print out result a=
    <%=a%>;
    Then it prints a=welcome to this test.
    I want to see like this:
    welcome to
    this test (with a line break).
    But dont know why a does not show up like that.
    Please help. Thanks.

    Yes, however, my purpose is to create a text from several texts. I do not print that text out. Instead, I will write it into a body of a message to be sent by email.
    For instance, I use a form HTML to ask users to enter their "name" and "address". Then that form points to a jsp. The jsp then creates a text=name +"\n"+address then it calls a java class to send email. In the received email, I expect to see this, for example:
    Peter Richardson.
    123 East Street.
    Unfortunately, I still see this: Peter Richardson 123 Eas Street.
    So please help. Thanks.

  • Question from a Newbie wireless user

    Please excuse the naivete of this question. I'm completely ignorant on everything pertaining to wireless internet. My old Powerbook 400mHz G4 Titanium has never had wireless of any kind until this week when I bought a PCMCIA wireless adapter. Never used wireless, don't know anything about it.
    I started following the instructions on the PCM adapter this morning to get it all set up. I plan to toggle back and forth between wired internet at home and the wireless adapter when I'm out on the road.
    I was surprised when I saw the window where I enter my settings that there were no less than ten different internet services flying around the room in my house! I guess I have a lot of wireless neighbors and I could easily access their bandwidth.
    I imagine the same would go when I'm in town sitting in the library. They welcome you to use their internet access, but it's in a busy end of town and I'm sure I'll see numerous services available there too.
    So I'm clueless on this topic. Again, I've never used wireless internet before - but I've read about these guys who've been arrested in front of coffee houses for stealing bandwidth at WiFi hotspots when they weren't paying customers.
    What's the deal with sitting in your living room and using your neighbor's internet access? I know it's not ethical and we should all get our own, but what are legalities? And say I hopped on to someone's internet access +quite accidentally+...how does one get caught if you do it quietly? And have people actually gotten into trouble beyond these two guys that made national news?
    I guess my main question is exactly how careful do I need to be to set the correct access service when there are ten immediately available in a public place? Can I just click on whatever signal is strongest and log on without fear of being caught?
    I hope somebody knowledgeable can set me straight on this.
    Thanks.
    -JOHN
    ps. Here's the news item on these guys stealing wireless internet access:
    http://arstechnica.com/tech-policy/news/2007/05/michigan-man-arrested-for-using- cafes-free-wifi-from-his-car.ars

    You may find this technical article I've written helps you:
    http://homepage.mac.com/rfwilmut/notes/wireless.html
    It is fairly long, but it was originally written in response to some questions from a non-technical friend, and so I've tried to keep it as straightforward as possible.

  • Miscellaneous - Questions from a Newbie

    I just got my iPhone this week and some questions popped up. I know that some of them might fit better in other categories than "basics"...
    1. Sync with Outlook - I was under the impression that the iPhone syncs up with Outlook but:
    a) How can you mark an Outlook Appointment as "privat" so not everyone in your company who has access to you calender can read it?
    b) Why are no documents synced, which are in a Calender Appointment save in Notes? (The Text in Notes will sync, but no PDFs for example...)
    c) When I reply to an E-Mail, the info that an when I replyed is not saved in Outlook
    d) in Outlook I can mark e-mails with priorities... this is not shown on the iPhone
    e) can the Auto-reply or Out-of-the-Office message set or changed from the iPhone?
    2. Mail
    a) I have differnt E-Mail accounts and would like to use different signitures for each account... the is an App, but thats too complicated. Is there a way to have an automated signature for each acount (this should be a basic feature!!!)
    b) Can I save e-mail attachments in specific folders? (eg a word doc)
    3. Media
    a) How can i created different Folders in the photoalbum, so I can sort them and don't have to scroll for ages...
    b) Can I get access to the Folders on the iPhone, so I can copy (for example Music) for differnt sources to the iPhone?
    c) Is there another Sync programm than iTunes?
    d) Can I delete Apps which I don't use (eg. Weather, Stockmarket...), but which are allready installed when i bought it
    4. Sounds and Alerts
    a) Can i create my own ringtones (eg an mp3)?
    b) Can I add other alert sounds (for E-mails for example)
    c) How can I change sounds for different Events (New Mail, Alert...)?
    5. Connectivity
    a) Can I sync the iPhone over bluetooth?
    b) Can I use the iPhone as a modem for my laptop? how?
    c) If stolen, can I remotely delete it or search it via GPS?
    6. Battery
    a) is it normal that when you use push mail and make a couple of calls a day the battery only last for max. 20 hours?
    Thats the first lot of question from week one... Thanks in advance for replys and the awaiting answers
    Axl

    I can answer some of them:
    Is there a way to have an automated signature for each acount (this should be a basic feature!!!)
    No
    b) Can I save e-mail attachments in specific folders? (eg a word doc)
    No. You can't save attachments - just view them
    b) Can I get access to the Folders on the iPhone, so I can copy (for example Music) for differnt sources to the iPhone?
    No. The iPhone cannot be directly accessed like a hard disk. There are third-party apps that allow this to a certain degree, but you can't add Media to the iPhone via this method.
    c) Is there another Sync programm than iTunes?
    Not really. There's some that may do some features, but not a complete replacement for it. What's wrong with iTunes?
    d) Can I delete Apps which I don't use (eg. Weather, Stockmarket...),
    No. But you can move them to a different Home screen.
    a) How can i created different Folders in the photoalbum, so I can sort them and don't have to scroll for ages...
    http://www.question-defense.com/2009/08/15/how-to-create-photo-albums-on-your-ip hone-on-a-windows-xp-computer/
    a) Can i create my own ringtones (eg an mp3)?
    Yes. Google "create iPhone ringtone" for a variety of options
    a) Can I sync the iPhone over bluetooth?
    No.
    b) Can I use the iPhone as a modem for my laptop? how?
    Yes, although it depends where you are. See:
    http://support.apple.com/kb/HT3574
    http://support.apple.com/kb/TS2756
    c) If stolen, can I remotely delete it or search it via GPS?
    Yes. See MobileMe's "Find My iPhone" feature:
    http://www.apple.com/mobileme/features/iphone.html
    a) is it normal that when you use push mail and make a couple of calls a day the battery only last for max. 20 hours?
    Quite possibly. Battery life seems to be reduced in the latest firmware and lots of people are awaiting a fix from Apple.

  • Simple opinion question from a newbie about IDE's

    I have been looking around for the best architecture for a n-tier client server app. I have been using the jsp/servlet architecture for a while, and have recently found out about web-start . There seems to me to be a great advantage to be able to maintain state on the client, as opposed to having multiple roundtrips to the server.
    My questions are:
    1) What is the easiest (i.e., any open source tools/ide's?) way to build a full featured gui for a desktop application that will connect to servlets or web services and can be deployed via web-start? I would prefer a gui builder with many available widgets - are there any out there?
    2) what is the difference between JNLP and web-start?
    3) How do you bind gui controls (swing/swt/whatever) to the data? I.E., I used to work in Borland c++ builder and there were data-aware controls. Does java have any similar controls that can be bound to a datasources?

    1. I'm sure there are a few out there, but the ones I've tried created crap code, so I usually roll my own.
    2. Java WebStart is the name of the JNLP implementation that comes with Sun's JRE (but the two are often used as synonyms). There are other JNLP projects, but most of them seem to be dead.
    3. I'll leave this to someone else.

  • Few simple questions from newbie

    I'm new to Java, but i've worked a lot with action script... it didn't help a lot :) Here are my few beginner questions:
    What does: public, static, abstract, void... and other things mean in front of the class name?
    How can i call variables from another classes: if i have one class that does one thing and stores the result in a variable, how can i use that variable from a different class?
    How can i call the input window to enter the value for variable? I've tried with importing "io.inputstream" library, and used the "extend" thing, but i still cant call the input window?

    I came to Java from ActionScript too, and I must say having ActionScript as your first programming language does NOT make it easy to learn other languages. I was incredibly lost when starting with Java.
    What does: public, static, abstract, void... and
    other things mean in front of the class name?You'll find all that in the Java Tutorial
    How can i call variables from another classes: if i
    have one class that does one thing and stores the
    result in a variable, how can i use that variable
    from a different class?To use the variable from another class, you need to make a call to the class. Let's say you're in ClassB; you would make a call to a ClassA variable by doing something such as:
    ClassA.myVar.myMethod();
    How can i call the input window to enter the value
    for variable? I've tried with importing
    "io.inputstream" library, and used the "extend"
    thing, but i still cant call the input window?I recommend reading the tutorial before you try anything like that.

  • Simple questions from newbies

    Hi Gurus,
    Please kindly state the examples of month end reconcilliation done between AP,GL and AR and PO.
    Secondly, why will i want to Reverse Accrual,Reclassification and temporary adjustment journals, Please "Gurus" explain each.
    Thirdly i reversed an unposted journal,what effects does it have or do i need to post both original and reversed together.

    My 2 cents here.
    We only reverse expense accruals and not inventory accruals. The reason is when we receive the inventory purchases, we have material (inventory account) that we have not paid for yet (inventory accrual). In PO shipments we decide whether we accrue on receipt or not. For inventory destination and inventory items, it is must, but inventory items to expense destination, expense items to expense destination and no item purchases (service), we can turn it off. Which means though material or service is received, you do not have any evidence for the material or service you have received (because there is no accounting created even if you have received in system).
    To estimate your expense accruals, you run a program which generates your expense accruals between your expense accrual account (cr) and account entered in the PO distributions (Dr.).
    When you match the invoice to PO the same account entered in the PO distribution will be debited again crediting your liability account.
    This will be double accounting entry for this account, if you do not reverse.
    Thanks
    Nagamohan

  • Top 3 questions from a newbie

    Hi folks, I have performed a basic search and didn't turn up an answer to these so am looking for some guidance please.
    I love my Nokia Lumia 800 and think Nokia Here (nee Maps) and especially Nokia Drive (which I use every week) are awesome but here are my three questions/requests and hope Nokia is also monitoring these posts.
    1. Could we please be told if Nokia are working on a way to use your address book contacts to set a destination. I used to have this on Windows Mobile 6.5 and most other smartphone OS's have this. I find it hard to believe that Nokia with such innovation and being a recognised leader in mapping that this isn't available.
    2. Can someone tell me how to enter a junction of two roads into Nokia Drive and Nokia Here as every combination I have tried doesn't seem to work e.g. High street and Bond street
    3. Could we please be told if Nokia are working on a way to use a separate volume / audio session to avoid impacting any playing music when using Nokia drive or maps, this will allow a driver to lower the volume of the GPS app and leave the music at the correct level without impacting it. I used to have this on the Smartphone TomTom software on Windows mobile 6.5 also
    Thanks and apologies if these questions have already been dealt with elsewhere

    About n°1: the method I was told to use does not work:
    To navigate to contact: from the contact list, open a contact, click on "map home address", this starts Here maps, then click the "directions" button, then enter, then choose the car, this starts Here Drive.
    The problem with this method is that at the "direction" step, the destination is not is exact address you're heading to, it's just the town.
    So I still haven't found a way to do that. It seems pretty simple for Nokia to repair the missing link between here maps and Here Drive: just set the full address in the "destination" text field mentioned above.

  • A few questions from a newbie!

    Hello!
    So, I am VERY new to using Mac productions and I just got my Macbook recently.
    I have a few questions that may seem to have a very simple and obvious answer but like I said, this is all new to me...
    1. Do I have to install a anti-virus/spam program? If so, which one?
    2. Time Machine- this is the program to back up files right? when I try to set it up it doesn't give me any options for a back up disk.
    Anything else that I should defiantly know please let me know!
    Thanks so much!
    Alanna.

    Alanna J wrote:
    1. Do I have to install a anti-virus/spam program? If so, which one?
    Not unless you want to. I have had Macs for 2 years and never had a problem. This is a good one if you decide to install one. ClamXav
    2. Time Machine- this is the program to back up files right? when I try to set it up it doesn't give me any options for a back up disk.
    You need an external hard drive attached to use with Time Machine. This explains it.
    Mac OS X 10.5: Using Time Machine and troubleshooting Time Machine issues
    Anything else that I should defiantly know please let me know!
    This is info that will help you get the best life from your battery.
    It is OK to leave your battery hooked to the charger most of the time. The only time I unhook mine from the charger is when I calibrate or for a few minutes to use in another room. Have you calibrated your battery yet? You should calibrate every two months or so to keep the battery fully functioning. If you use your MacBook infrequently, it’s best to re-calibrate the battery at least once a month.
    It is best not to use your battery unless you need to. Some people have hurt their batteries by charging then discharging every time they use the MacBook. This will age a battery very fast and cause you to buy a battery sooner than you should have too. Don't discharge the battery just because you used it. Li-Ion batteries prefer small charges over big ones. Use it and then plug it in as soon as you can. The only time my Battery is ever fully discharged is when I'm doing a calibration.
    The following links have good information about the MacBook and the care of it's battery.
    Apple: Tips for maximizing your Notebook battery charge
    Apple MacBook and MacBook Pro: Reduces processor speed when battery is removed while operating from an A/C adaptor
    Apple portable computer's battery does not show a full charge in Mac OS X
    Look here and here for some good tips about battery care.
    Apple MacBook: How to remove or install the battery
    Apple: Determining Battery Cycle Count
    Apple: Use and cleaning of MagSafe power connector

  • Question from Mac newbie about system and startup programs

    I recently switched from an old Win 98 computer and LOVE this macbook! Could someone please explain a couple of things to me?
    Two windows now suddenly appear when I restart my computer - one is a window with all the files and folders stuff from when I installed my Canon MP500 printer last week. Why is this box opening at startup, and can I get it to stop?
    The other suddenly opening at restart is a simple Finder window showing my hard drive and network. (I am not connected to a network). What's the source of these things starting up? How can I fiddle with this setting? These things are not listed when I go to System Preferences-Accounts-Login items.
    On Windows you can hit CtrlAltDelete and see all the running programs, even background programs. How do I do it on the Mac?
    Thanks,
    -Alden

    Charles I'll start from your last question. You'll find "Activity Monitor" in the Utilities folder (inside Applications folder) that's the equivalent to the Task Manager in Windows. you can leave it in the dock to have it handy.
    About the Canon printer window showing when you start; see if it has an open icon on the dock when it's open. Click and maintain clicked on that icon (if there is one) and uncheck "Open at Login".
    Finder Window usually opens at login if it was open when you logged out
    Oh, and Welcome to the forums!

  • Questions from a Newbie - Please Help by Responding

    Okay, I just received a new iPod (30GB, black) as a gift and have a few questions.
    I apologize in advance for any repeat in them (with respect to being answered in other posts), but I am confused and have a headache from trying to read all of the links provided in responses, etc. I just want to understand procedures is all. I know the questions may seem trivial, but I am a complete newbie at this iPod thing.
    (1.) Could someone please explain the entire authorization/deauthorization details to me with respect to iTunes and various computers.
    Specifically, if I download a song from the iTunes store on my desktop, how do I get that same file on my laptop and then authorize my laptop to play the song? From what I gathered in reading, I have to authorize my laptop to play the iTunes song downloaded on my desktop, but I do not understand how I transfer the song to the other computer's iTune software?
    Do I burn files to a CD, disk, etc. and then transfer via that method and then authorize the songs in iTunes, so that the songs are in both places (desktop and laptop)? Could someone give me step-by-step instructions on this, or link to somewhere that does?
    (2.) Could I have different songs on my desktop versus laptop, connect my iPod to one or the other, and send the songs to the iPod? From what I read, I believe the answer to this is yes (I believe I am permitted to connect my iPod to up to 5 different computers to load music from iTunes?).
    Should I do this, do I need to authorize anything or just connect my iPod to the computer?
    Thank you in advance for any response(s) offered.
    Again, I apologize for reposting these questions, but I am having a hard time pulling everything together into a succinct answer I can follow.
    Sincerely,
    wkkunkle
      Windows XP Pro  

    Welcome to Apple Discussions!
    1) There are many options. Here are some of them...
    iTunes: How to copy music between authorized computers
    Once the file is on your laptop, just play it in iTunes. iTunes will ask you for your iTunes Music Store account information and then authorize your computer.
    2) This is what you have to do...
    Using iPod with multiple computers
    Authorizing is really only for the music store and purchased songs, not for iPods and which computers they connect to.
    btabz

  • Keyword questions from the newbie

    Would anyone mind helping me figure out if there are conventions for entering Keywords into pdf Metadata? I have been having a conversation on another forum about Keywords for images and there is some question in my mind as to whether I should use quotes around a term such as "plate of shrimp" or if I should just use Plate Shrimp. One poster said they were avoiding using spaces for some reason and that they use PlateShrimp.
    Anyway, am I correct in assuming that all this goes back to how google searches Metadata in pdf's and/or images??
    Does anyone know where to find some of the conventions or standards associated with this? For instance, doesn't google search the /content/ of the pdf and if so wouldn't a keyword have to be /different/ from one in the METADATA? Or ostensibly google would rank a keyword /higher/ and the other Maetadata in a pdf would be associated with Contact and/or Copyright info?
    I am a total newbie with this so I am trying to winnow things down here with a little help if possible. I've been able to find info on IPTC Metadata but my assumption is that this only relates to images.
    Thanks.

    greene77 wrote:
    1. Is there a "recent documents" on a Mac?
    Only under the programs you use like Pages.
    2. When I have a disc in the notebook and I pick up the computer is it normal for the disc to grind inside the unit? It sounds like a garbage disposal.
    This happens because you move the macbook and the disk is spinning. If you don't tilt it this usually is OK but tilting causes the noises your hearing and it is damaging the disk.
    3. What is the American flag in the bar at the top right of the desktop? It wasn't there yesterday.
    It is the input menu for special characters and keyboard viewer if both are turned on under system preferences. Look under International Input Menu.
    4. Can I run Final Cut Express on the Macbook without problems, or should I have gotten a Pro?
    Yes I use it and it works fine. Max out your RAM for the best results.

  • IWeb questions from a newbie

    Hi everyone...
    I am looking into making my own simple website and am trying to decide whether to make one from scratch or use iWeb and a .mac account. Any advice for the following questions would be appreciated!
    1. I see a lot of iWeb sites that have the ugly "web.mac.com" preceeding the site name. Other iWeb sites don't have this prefix so obviously there is a way to do without it. How do you eliminate that prefix?
    2. My site would only hold a resume and half a dozen short vid clips. But I've noticed on other iWeb sites that the video loads EXTREMELY slow (on a high speed cable line!). Is this a flaw with iWeb (is there a recommended compression rate for vids to play on iWeb)?
    3. When I bought my G5 it came with Garage Band, iMovie, iPhoto, etc. (everything EXCEPT iWeb). I noticed that in order to purchase iWeb, you have to buy all these apps again which seems like a waste! Is there a way to buy or download JUST iWeb?
    4. I've done lots of research on iWeb and on Amazon.com virtually everyone prefers iWeb '06 over iWeb '08. Isn't the newer version supposed to be an improvement? Does anyone know what the fuss is about...and is it a better idea to purchase the older version ('06)?
    Thanks for any help you might have!

    1. It's called personal domain. You have to buy a domain at a domain regitsrar like GoDaddy. Example: yourdomain.com
    Or Publish to a folder and upload to a server other than .mac
    2. It's not an iWeb issue. It's a hosting issue, thus an issue about .Mac. Publishing to a hosting other than .Mac speeds up things.
    3. iWeb first appeared with iWeb '06 in iLife '06 package. You maybe have iLife '05 or deleted it by accident (or not by accident)
    And no it isn't a waste as the applications are new versions, thus improved. New features included and so on. And no there's no way to legally download/buy only iWeb.
    4. I like iWeb '08 a lot more than iWeb '06.
    There are compatibility issues with the worst browser of the world, also commonly called InternetExplorer. But it's not an iWeb issue... It's an IE issue.
    Regards,
    Cédric

Maybe you are looking for

  • Problems after iOS 7.1.2 on Ipod Touch 5th Gen

    At about 3 hours ago my Ipod Touch 5th Gen turned off on me. It came back on itself, so I accessed the lock screen correctly put my password in and thats where my problems started. I put in the correct password it accepted it. The screen then changed

  • All_tab_columns says NULLABLE = 'Y' while there is a NOT NULL constraint

    Hi all, I created a table MANT (here is the script) : CREATE TABLE DMI.MANT   MANT     NUMBER(7)                            NOT NULL,   SPER     NUMBER(7)                            NOT NULL,   RANT     VARCHAR2(10 BYTE)                    NOT NULL,

  • Execution time of transactions

    Hi, I'm a bit confused about a the execution time of transactions in a transaction. I just wrote a transaction which calls four other transactions (just for time testing) and I get the following result: [INFO ]: Execution Started At: 09:11:37 [INFO ]

  • Sharing an edited iMovie

    I am using iMovie version 10.0.4 to edit a screencast that I have developed on my Mac Book Pro. I have imported my original screencast and edited it down to a 45-minute final product. When I attempt to share the final version, it is only sharing a sm

  • Does coherence auto-configure itself for multi-homing

    I just realised that my configuration was not set properly for multi homing. I did not set tangosol.coherence.localhost, I left it unchanged. However coherence seems to have configured the second server on that machine to listen for unicast on 8089.