Copied examples of many javabeans sample programs but none works for me :(

y is it that my javabeans in jsp always don't works
always say blah.class not found...
<jsp:useBean id="user" class="UserData" Scope="session">
Do i need to do anything to the "UserData" class first?
public class UserData {
String username;
String email;
int age;
public void setUsername( String value )
username = value;
public void setEmail( String value )
email = value;
public void setAge( int value )
age = value;
public String getUsername() { return username; }
public String getEmail() { return email; }
public int getAge() { return age; }
this is the coding for the java file
Do i need to put the .class file in any folder or i set my classpath wrongly?

how do i pack my classes in packages?
hmm, i'm using notepad to type to coding. is there any ide for jsp n javabeands?

Similar Messages

  • Some pdf & doc won't download... tried fixes under 'FF keeps opening many tabs or windows' but none worked... these files open in Safari & Google Chrome.

    Some pdf & doc files won't download. The "You Have Chosen to Open" pop-up appears but when I hit 'Save File", it goes away and the file is not saved. The corrupted files show up in mac download file as .part but don't show up in ff download file. Tried suggestions in "Firefox keeps opening many tabs or windows" on this website but none worked.

    This is most likely Firefox's new "built in" PDF Viewer giving you the trouble.
    First, in Firefox, type "about:config" (minus the quotes) in the address bar. This will open the Firefox configuration file. You'll see a warning. Click that you'll be careful, and open the configurer.
    At the top there is a search bar. Type "js" (again, minus the quotes).
    In the list of results you'll see pdfjsdisabled with a value of "false". Right click it and select Toggle to make it read "true".
    Click Firefox>Preferences and under the Applications tab, scroll down to Adobe Acrobat Document. Click the drop down on the right side and choose "Use Adobe Reader (default)".
    That should take care of it for you.

  • Bridge won't open. Tried many ways but none works. Any suggestions please

    Bridge won't open. Tried many ways but none works. Any suggestions please

    Hi,
    Please restart your machine or kill any Bridge entry from task manager/activity manager.
    Regards
    Pragya

  • PE 12 won't install on my Mac. Message says close running programs but none are running

    Why won't Photoshop 12 for mac install? I get a message to close running programs but none listed and none are running. Tried several times including restarting computer

    Tried that but nothing other than the Finder was open in activity monitor. However stumbled on the fact that Sugarsync was running although it did not show up anywhere. Closed it and installation worked!
    Sent from my iPad

  • Incoming Email not working for one web app, but IS working for others in same farm.

    I have enabled incoming email in a large multi-web application farm running SharePoint 2013 SP1 and the Feb 2015/March 2015 CUs that were pushed down in Windows Updates.  It works just fine for two web applications, but it will not work for one particular
    web application. I see the email land in the /drop folder. If I remove the email address from the library in http://nonworkingapp web
    application and use it on a library in a http://working web application, then the email is processed successfully. Conversely,
    if I take an address from a library in http://working and move it to a library inhttp://nonworkingapp it
    does not work. I've tried multiple site collections on http://nonworkingapp. This rules out any SMTP issues, etc. and means
    the issue is bound to this web application. Permissions are the same between the "non-working" and "working" locations: domain users are members on the site, and the library inherits permissions from the site.  The App Pool and Timer
    Service accounts have rights to the folder and to the library.
    The error in the ULS log is the typical error processing message, but it gives no additional information even though I have enabled Verbose logging.
    The Incoming E-Mail service has completed a batch. The elapsed time was 00:00: 00.0156294. The service processed 2 message(s) in total. Errors occurred processing 2 message(s): Message ID: Message
    ID:
    Typically, you see "alias not found" or some permissions or quota issue here, but this issue is NOT the same as those. In this case NO additional information is provided in ULS.
    Edit: running stsadm.exe -o refreshdms -url http://one/failing/site fixed some similar issues where "Unknown alias" was
    reported even though the list did have an alias (see here:http://blogs.technet.com/b/vinitt/archive/2009/07/15/e-mail-enabled-list-alias-information-is-not-synchronized-between-configuration-database-and-content-database.aspx).
    This did not fix the issue for the case mentioned above.
    What could possibly be the issue preventing incoming email from working on this one web application?

    Thanks for your reply.  Incoming E-Mail was running on all 3 WFE, however I do not think this was the cause.  As noted, _other_ emails send to http://workingapp are working just fine.  I can send two emails - one to a library on http://workingapp
    and another on http://notworkingapp.  The email to http://notworkingapp will sit in the drop folder, while the one to http://workingapp will be processed correctly.  In addition, the ULS log on WFE1 indicates an attempt to process the file fails.
     So clearly, the timer job on WFE1 is running and attempting to process the file.  For kicks, I disabled the service on WFE2 and WFE3, but with no change in the behavior.
    WRT to #1, I have done this already (as noted in the original post).  I can remove an alias from http://workingapp and place it on http://nonworkingapp and it is not processed.  If I return it to http://workingapp it is processed.  In other
    words, I go into Library Settings -> Incoming Email for a working library, and copy the alias, then disable incoming email for that library.  I then go to Library Settings -> Incoming Email for a non-working library, enable incoming email, and paste
    the alias.  Once done, emails sent to the alias are not processed.  I then do the reverse, and it works again.
    On #2, I have already tried multiple libraries on http://nonworkingapp (also as noted in the original post).
    In my environment, incoming email does not work for any library on http://nonworkingapp, but does work for any library on http://workingapp.  Troubleshooting listed above has ruled out any problem with basic mail server configuration or library settings
    - the problem is bound to http://nonworkingapp
    I'm not sure what you mean by "steps to reproduce the issue".  If I knew that, I would probably be able to solve the issue.  The best I could come up with to describe the situation would be:
    Set up SP 2010 in a three-node configuration with multiple web apps
    Enable incoming email and confirm it works
    Migrate to a SP2013 SP1 farm in a three node configuration.
    Enable a new email alias for a library
    Observe that it doesn't work for one web application.
    Obviously, it's pretty unlikely that attempting that in a lab would actually have the same result.

  • HT1476 My iPhone 4S will charge on a laptop but not from a wall plug. I have tried different boxes and different USB cords from the wall but none work. These boxes and USB cords work for other family members with iPhones. I'm stumped :/

    My iPhone 4S will charge on a laptop but not from a wall plug. I have tried different boxes and different USB cords from the wall but none work. These boxes and USB cords work for other family members with iPhones and a USB cord that works from the laptop won't work from 3 or 4 different wall boxes that work for others. I'm stumped :/

    Update: It seems as though the phone will charge if I plug it in and then turn it off.  It will not charge while the phone is on.  Also iTunes will not recognize it, so I can't sync or anything.  I read somewhere that it could be a fuse somewhere?? Or maybe the dock connector. Where is the best place to get this repaired?

  • Hello, can anyone tell me how to share my home macbook pro to my imac in the office? I tried file sharing but never worked for me...appreciate if anyone can help!

    Hello, can anyone tell me how to share my home macbook pro to my imac in the office? I tried file sharing but never worked for me...appreciate if anyone can help!

    I should have added to my posting (instead of using this "reply" -  it is the server passwork it is asking for and I have never known that I had one and assumed it was the passwork I always used for this type of thing.

  • When I try to set up Icloud control panel in Windows Vista, I get "your setup couldn't be started because the Icloud server stopped responding. I've tried loads of fixes suggested on the net but none worked. Can anyone help me please?

    When I try to set up Icloud control panel in Windows Vista, I get "your setup couldn't be started because the Icloud server stopped responding. I've tried loads of fixes suggested on the net but none worked. Can anyone help me please?

    Hello, ksb2. 
    Thank you for visiting Apple Support Communities.
    We are investigating this issue. This article will be updated as more information becomes available.
    iCloud: iCloud Control Panel setup cannot be started
    http://support.apple.com/kb/TS5178
    Cheers,
    Jason H.

  • My iphone 5 stopped syncing photos to FB. I've tried all the set up directions but none work.

    Iphone stopped syncing photos with Face Book. I've tried all the set up directions but none work, or don't follow what is said they will follow (no directions pop up when I select syned from iphone in pictures)

    Thanks! I called Apple, and we did a software update. While the phone now will light up and work for about 30 seconds before going dark again, the representative said I would probably get a replacement phone if I took it in. You are right - probably a hardware failure!

  • My mini ipod appears off and not respond to any commands when pressed the buttons to reset, apple logo appeared and then the apple support site and it shuts down. already tried all the steps, but none worked, and when I plug it into my computer it does no

    My mini ipod appears off and not respond to any commands when pressed the buttons to reset, apple logo appeared and then the apple support site and it shuts down. already tried all the steps, but none worked, and when I plug it into my computer it does not appear in the iTunes bar. what do I do?

    If MacKeeper corrupted the Recovery partition then even I underestimated its potential for damage. Garbage "cleaning" apps will cause misery but I have not found that the Recovery partition to have been affected by using MacKeeper or anything like it. I doubt that it did so, but I have learned not to underestimate the potential for such things to result in system corruption.
    Before concluding your Mac has a hardware failure, try booting OS X Internet Recovery by holding command option r on startup (three fingers). That will force your iMac to bypass the Recovery partition altogether, and convey the ability to create a new one.
    An Internet connection will be required (wired or wireless).
    At the Mac OS X Utilities screen, select Disk Utility. Select your startup volume (usually named "Macintosh HD") and click the Repair Disk button. Describe any errors it reports in red. If Disk Utility reports "The volume Macintosh HD appears to be OK" in green then you can be reasonably (though not completely) assured your hard disk is in good working order.
    Assuming the HD remains usable you can then use Disk Utility to erase it. Reinstall OS X, restore your essential software and other files, and don't reinstall the junk.

  • My MacBook used to play DVDs. I've tried several that used to work on this computer but none work now.

    My MacBook used to play DVDs. I've tried several that used to work on this computer, but none work now. How can I get my MacBook to play DVDs?

    You might need to update the remote application. i know there was a bug when the 5.2 update was released that caused an issue with the remote app. Apple released an update the following day for the remote app.
    Jesse

  • Iphone/ipad/ipod charger wire wont work for iphone or ipod but does work for ipad very strange

    guys this is so odd and pointless but for some reason my charger wont let my iphone charge or ipod but it works for iphone. iphone running ios 7 same with ipad. any solutions?

    Hello there, Kareem77.
    The following Knowledge Base article provides some great steps for troubleshooting your issue:
    iPhone and iPod touch: Charging the battery
    http://support.apple.com/kb/HT1476
    If the issue persists, the first article also refers to this:
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • HT3529 am trying to activate vm viewer - keeps asking me for pin - have used every number I have but none work - how do i get past this screen or help finding my pin?

    Am trying to activate vm viewer - it keeps asking me for my PIN - have used every number I ever used for a PIN but none work - how do I get past this screen or get help finding my PIN?

    Are you talking voicemail and the password, if you are contact your phone carrier and they can reset your password.

  • HT201401 I am using iphone 3s after updating my phone it is not reading the sim i tried with different sim's but none worked can you please help me

    I am using iphone 3s after updating my phone it is not reading the sim i tried with different sim's but none worked can you please help me

    There is no iPhone 3s.
    What is displaying on the device?
    Has the device ever been hacked or jailbroken?

  • 3?'s: Message today warning lack of memory when using Word (files in Documents) something about "idisc not working" 2. Message week ago "Files not being backed up to Time Capsule"; 3. When using Mac Mail I'm prompted for password but none work TKS - J

    3 ?'s:
    1  Message today warning lack of memory when using Word (files in Documents) something about "idisc not working"
    2. Message week ago "Files not being backed up to Time Capsule";                                                                                                                                             
    3. When using Mac Mail I'm prompted for password but none work
    Thanks - J

    Thanks Allan for your quick response to my amateur questions.
    Allan:     I'm running version Mac OS X Version 10.6.8     PS Processor is 2.4 GHz Intel core 15 
    Memory  4 gb  1067   MHz  DDr3  TN And @ 1983-2011 Apple Inc.
    I just "Updated Software" as prompted.
    Thanks for helping me!    - John Garrett
    PS.
    Hardware Overview:
      Model Name:          MacBook Pro
      Model Identifier:          MacBookPro6,2
      Processor Name:          Intel Core i5
      Processor Speed:          2.4 GHz
      Number Of Processors:          1
      Total Number Of Cores:          2
      L2 Cache (per core):          256 KB
      L3 Cache:          3 MB
      Memory:          4 GB
      Processor Interconnect Speed:          4.8 GT/s
      Boot ROM Version:          MBP61.0057.B0C
      SMC Version (system):          1.58f17
      Serial Number (system):          W8*****AGU
      Hardware UUID:          *****
      Sudden Motion Sensor:
      State:          Enabled
    <Edited By Host>

Maybe you are looking for

  • Is it possible to connect a USB pen drive to ipad 3 via and adapter?

    Is it possible, via an adapter, to connect and access documents on a USB pen drive on an iPad3?

  • How do I view hidden media files on iPad Air?

    I recorded some interviews on a third-party app (Voice Recorder Pro) that I need to edit. I tried email the file to myself  from the app so I could access the .m4a file, but I got an error saying I need to download it from iTunes.  I cannot figure ou

  • ITunes refuses to open

    My iTunes simply will not open. I double click the icon and the cursor becomes an hour glass for a few seconds, then goes back to normal and nothing happens. I've tried uninstalling/reinstalling multiple times, but the problem remains. Can someone pl

  • HT2589 how to reset my security question

    hello, i need help for reset my security question. i forgot the security question. i can't buy any purchases apps

  • How remove space in column ?

    In a.newunit column I have spaces before data. I tried to use TRIM and LTRIM -- but doesn't work :( What else I can use? SELECT LTRIM(u.scode), LTRIM(a.newunit) FROM unit u, aaa_test a WHERE LTRIM(u.scode) = LTRIM(a.newunit)