I'm new to j2ee and need to make a project

Hi everyone,
I'm TOTALLY new to j2ee(but not to java).
My profesor told me to write a wep aplication with use of jsp:
1. You register to the page
2. You login to the page
3. You go to the page you chose a topic of a report
4. Your chice is rememberd. You are given a deadline to send the report.
5. If you have the report you login/go to the send_report site
6. You choose the directory on you pc and press send button
7. The report(.pdf) is now stored on the server
8. If you haven't yet crossed the deadline you can still update the report file(even if it's name is different)
8. Now if you have crossed the deadline on the send_report page you have message informing that you have already send the report.
My Prof. also told me I can (don't have to) use jetty server instead of tomcat. I can also use SpringFramework.
I also have to use j4log.
It would be great if some of You could give me some help with that. What and in which order should I read(books, articles, tutorials) to learn most effectively. I have time till the end of January to finish the project.
Thanx to ALL!

Hi everyone,
I'm TOTALLY new to j2ee(but not to java).
My profesor told me to write a wep aplication with
use of jsp:
1. You register to the page
2. You login to the pageYou can probably store and maintain all these values in a SQL DB. To access it, you can use JDBC. You may want to write a utility class that will do the actual query execution and for example, will return an object [ ] [ ] with the results of a select query. Then you could just see if the username & password matches one of the entries.
You can get the values using request.getParameter("my_form_elementname");
3. You go to the page you chose a topic of a report
4. Your chice is rememberd. You are given a deadline
to send the report.You can set attributes in the session if you want the values to be accessed on other pages. session.getAttribute() will then return the value later. (but the values are lost when the current window is closed)
5. If you have the report you login/go to the
send_report site
6. You choose the directory on you pc and press send
buttonThey've made step 6 quite easy for you! It's just simple html:
<input type='file' size = 75 name='my_fileinput'/>
The size should be long enough for filename to fit.
7. The report(.pdf) is now stored on the server
8. If you haven't yet crossed the deadline you can
still update the report file(even if it's name is
different)
8. Now if you have crossed the deadline on the
send_report page you have message informing that you
have already send the report.The implementation is up to you, but I'm thinking you can have a unique directory for each user. In that directory you could have a props file with the name & deadline for each report [of course you want to make sure this is hidden from public access by putting it in the WEB-INF folder.
>
My Prof. also told me I can (don't have to) use jetty> server instead of tomcat. I can also use> SpringFramework.> > I also have to use j4log.  Ah...the joys of configuring log4j. You want to make sure the log4j.xml file specifiying what to log & where is in your source folder (and copied over to the classes folder during compilation). That's why I couldn't get it working for a while. Also, if you don't want everything cluttering up a single log file, make sure that you setAdditivity(false) on everything except your root logger.> > It would be great if some of You could give me some> help with that. What and in which order should I> read(books, articles, tutorials) to learn most> effectively. I have time till the end of January to> finish the project.Whew! As you can see, java, tomcat, jsp's, even just html, there's a TON of stuff out there. Here's what I would recommend:1)Deitel & Deitels' book "Java how to Program" 6th edition. The latest edition has what you need to know about using JDBC (for databases), and JSP's & servlets(including setting up tomcat).2)I would say forget about jetty/spring framework, they're not as widely used as tomcat, and what you learn working with tomcat is far more practical. It's not hard to set up. You can download either tomcat 4.1 or tomcat 5 (which is needed for some of the newer java stuff) from the tomcat site: http://tomcat.apache.org/   Configuration is not all that hard, about the most you'll have to do is change some of the ports you connect on. 3)There are plenty of resources out there on working with jsp's, sql databases, and if you have any more specific questions, you can always post them here!> > Thanx to ALL!Hope this was useful!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • HT5622 I have just received a new iphone 5s and need to set the Apple ID with my work email.  I used my work email on my personal iphone 4s to set up an icloud account and it will not let me use my work email as the Apple ID on my new iphone. What do I do

    I have just received a new iphone 5s and need to set the Apple ID with my work email.  I used my work email on my personal iphone 4s to set up an icloud account and it will not let me use this email as the Apple ID on my new iphone.  As it is a work phone I need to use this email address as my Apple ID.  How do I do this?

    when you open the app store scroll down to the bottom it will display the apple id currently in use, change it to your normal apple id email

  • How on earth do I update my Apple ID to my new email address? I keep getting moved to 'change my password' sites, but I have a new email address and  need to update my Apple ID.

    How on earth do I update my Apple ID to my new email address? I keep getting moved to 'change my password' sites, but I have a new email address and  need to update my Apple. Frustrated!!

    Firstly, if you have 'Find My iPhone/iPad/iMac' enabled on any of your devices, turn it off.
    Create a new email address, for example  at Yahoo or Gmail, or anywhere convenient (or you can use an existing address as long as it has never been associated with an Apple ID).
    Go to http://appleid.apple.com and click 'Manage your Apple ID'. Sign in with the current ID.
    Where it says 'Apple ID and primary email address' and gives your current ID email address, click 'edit'.
    Enter your new address and click 'Save changes'.
    Now you will need to go to each of your devices and sign out in System Preferences (or Settings)>iCloud - 'Sign out' on a Mac, 'Delete this account' on an iOS device (this will not delete the account from the server).
    Then sign back in with your new ID. Your iCloud data will disappear from your devices when you sign out, but reappear when you sign back in.
    I re-iterate: before you start, turn off 'Find My Mac' (or whatever) or you will need the services of Support.

  • I'm a new mac user and need to program future email's. How can I do that? in outlook I can make a change in the date that the email will be sent. How I do that in mail?

    i'm a new mac user and need to program future email's. How can I do that? in outlook I can make a change in the date that the email will be sent. How I do that in mail?

    There isn't a way directly in Mail.
    Here's what google says: http://www.google.com/search?client=safari&rls=en&q=mac+os+x+mail+delayed+send&i e=UTF-8&oe=UTF-8

  • I'm new to itunes and need some help. Can anyone tell me if it is possible to download an album which has explicit content without actually downloading the explicit songs?

    I'm new to itunes and need some help.  Can anyone tell me if it is possible to download an album which has explicit songs without actually downloading the songs that are explicit?

    See if there's a non-explicit version and download that?  Just download the individual songs you want, and not the others?
    Honestly, your phrasing doesn't make sense.  You're asking how to download an album without downloading its tracks? 

  • Screen freezes and popup message says I need to do a shutdown and then restart.  It does it sometimes 2 times a day. Im new to apple and need help.

    My screen freezes and popup message says I need to do a shutdown and then restart.  It does it sometimes 2 times a day. Im new to apple and need help.

    Bad or incompatible RAM is, more often then not, the cause of most Kernel Panics. It could also just need to be reset.
    Here's the most used site for Resolving Kernel Panics. Please do all the steps in order, even if you don't think you need to do a certain step.
    Here is a great MacFixIt article.
     Good Luck!
    DALE

  • I have an old iphone 3gs which is backed up on itunes. bought a new iphone 4gs and need to back it up. will syncing new phone erase old 3gs data?

    i have an old iphone 3gs which is backed up on itunes. bought a new iphone 4gs and need to back it up. will syncing new phone erase old 3gs data?

    This is not very iTunes Public Site Manager related... but I was in the same situation as you a little while ago.
    1 - Sync/back up your old 3gs.
    2 - Activatie your new phone when connected to itunes via cable and it will ask you if you want to restore our old phone.
    3 - ???
    4 - profitt!
    might also work with icloud but i have not tried that method.

  • I mac -- how do I transfer template date and logo to the other 9 template cards. I am new to this and need step by step.  I have the first template completed. Thanks

    I mac -- how do I transfer template date and logo to the other 9 template cards.
    I am new to this and need step by step.  I have the first template completed.
    Thanks

    Apps and media are forever tied to the AppleID used to download them.
    You cannot transfer from downloads from one AppleID to another, nor
    can you merge AppleIDs. If you wish to start using your own AppleID,
    you will have to redownload all the items you wish - paying again under your
    AppleIDfor anything requiring payment.
    Logout of iTunes under your old ID and login using the new ID.

  • I'm about to hulk out guys! Brand new iPhone 5 and need to update iTunes for recognition. Keep getting "the installer encountered an error that caused the installation to fail." Can anyone help? I may smash something very soon.

    I'm about to hulk out guys! Brand new iPhone 5 and need to update iTunes for recognition. Keep getting "the installer encountered an error that caused the installation to fail." Can anyone help? I may smash something very soon.

    iTunes:
    AppName: itunes.exe          
    AppVer: 10.5.0.142          
    ModName: unknown
    ModVer: 0.0.0.0   
    Offset: 001be6f6
    Quicktime:
    EventType : BEX   
    P1 : QuickTimePlayer.exe   
    P2 : 7.71.80.42   
    P3 : 4ea5c6ef   
    P4 : QuickTimePlayer.dll   
    P5 : 7.71.80.42   
    P6 : 4ea5c6d5
    P7 : 00005b6d   
    P8 : c0000409   
    P9 : 00000000
    That's consistent with another application (other than QuickTime) having dropped old QuickTime componentry in non-standard locations on the PC.
    So we'll go looking for the older QuickTime componentry in the most common locations for it to be stashed.
    First we'll need to change some view options on the PC.
    1. Open My Computer from the desktop or Start menu.
    2. In the Tools menu, click Folder Options.
    3. Click the View tab.
    4. In the "Advanced settings" pane under "Hidden files and folders" make sure that the "Show hidden files and folders" option is selected, and the "Hide extensions for known file types" option is unchecked.
    5. Click OK.
    Now in My Computer, open your C drive.
    Open the "Windows" folder.
    Open the "system32" folder.
    What files and/or folders can you see in there with QuickTime in the file/folder name? (In a standard installation of QuickTime, you should see precisely two files ... QuickTime.qts and QuickTimeVR.qtx ... and no QuickTime folders whatsoever.)

  • I have a new Macbook pro and need to run some Windows software, it appears "Parallel" should work well from what I've have read. Will I have any issues or problems accessing and printing from various printers on my Windows 7 network within Parallel?

    I have a new Macbook pro and need to run some Windows software, it appears "Parallel" should work well from what I've have read. Will I have any issues or problems accessing and printing from various printers on my Windows 7 network within Parallel? Is Parallel in fact the best way to go?

    First, back up all data immediately, as your boot drive might be failing.
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Reset the System Management Controller.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Check your keychains in Keychain Access for excessively duplicated items.
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • Apple TV only showing trying to change date and time. I have recently changed to a new wifi provider and need to change the settings in tha ATV box.

    Apple TV only showing trying to change date and time. I have recently changed to a new wifi provider and need to change the settings in tha ATV box.

    Welcome to the Apple Community.
    Assuming this is not the first time you have used your Apple TV
    You might try restarting the Apple TV by removing ALL the cables for 30 seconds.
    Also try restarting the router. (Also try removing it’s power cord for at least 30 seconds)
    If the problem persists, try a restore, you may want to try the previous procedures several times before doing this.
    If restoring from the Apple TV doesn't help, try restoring from iTunes using a USB cable.
    If this is a new Apple TV, in addition to trying the above, it may also be that your network router is not allowing access to the timeserver, check that your router allows access over port 123.

  • HT3967 I have a new MacBook Pro and need to know what I need to do to open Microsoft Office files so that I can work on them?

    I have a new MacBook Pro and need to know what I need to do to open Microsoft Office files?

    Use a product such as OpenOffice, LibreOffice, Google Docs, iWork, or Microsoft Office 2008 or newer. In the case of Word documents, you can also use TextEdit.
    (82026)

  • HT1766 Just purchased a new Ipad air and need to know how I can download the following apps free 1. Pages,2. Numbers,3 Keynote

    Just purchased a new IPAD air and need to know how I can download rhe following free Apps   1. pages, 2 numbers, 3 keynote

    Consult the following link if you are having problems:
    http://www.imore.com/how-get-all-iwork-apps-iphoto-and-imovie-free-eligible-ipho ne-or-ipad

  • I got a new hardware drive and need to put my adobe creative suite back on it.

    I got a new hardware drive and need to put my adobe creative suite back on it. I have my membership card but it is not working. What do I do?

    Cloud or some other version?
    What is a membership card?

  • Hi, i am new to PDF forms & need to make drop down menu with pictures, how do i do that ?

    Hi, i am new to PDF forms & need to make drop down menu with pictures, how do i do that ?
    some one suggested to use coding to achieve similar results,  but i don't know where and how to use it, please help!

    Sorry, images in drop downs are not supported by Formscentral.
    Andrew

Maybe you are looking for

  • Select and Drag More Than One Photo

    I can no longer select and drag more than one photo at a time. With one photo it works fine. If I select more than one, I can't move them, so I have to add pictures to albums one at a time, which is rather tedious. This has only started happening rec

  • Problem in set selectedTextcolor in uitableview cell in iPhone SDK 3.1.2

    Hello, I set selected text color in uitableview cell using cell.selectedTextColor = [UIColor whiteColor]; for iPhone SDK 2.2.1. Now i use iPhone SDK 3.1.2, So for that i make change as per documentation for that i use textLabel properties. But select

  • Field disappears on copying of the configuration

    Hi Experts, in CRM 7.0 I have created a field via AET. I've added the field to the custom-configuration and am able to use it. So now, when I copy this custom configuration - the generated field disappears, even though it is shown as available in the

  • Sleep vs. display shutdown- Sonos

    I cant' remember how to do this, but my computer got reset. Usually after a few minutes of activity, the display shuts down, but the little white light in the lower right goes on. Is that the setting to never go into sleep but to shutdown display? My

  • Tengo un problema con el disco duro , no me deja volverlo al tamaño normar

    no puedo volver al tamaño normal el disco duro