Have no clue what I'm doing
Hi. I just started using Java and JSP. I'm taking a class at school and am struggling badly. I need help on two assignments.
One:
Objective: This assignment uses JSP directives
Description: Create an HTML form name "SimpleInterest.html" that allows the user to input a starting balance, interest rate, and number of years. It should call "SimpleInterest.jsp" which calculates an ending balance based on the input. - done with this part
In the JSP include a header name "header.jsp" that sates your name and a fotter name "footer.jsp" that sates the current date and version.
Use a JSP declaration to declare a method named "calcSimple()" that takes the starting balance, the interest rate, and the number of years, calculates the new balance, and returns it.
Compound Interest Future Value
FV = PV * (1+i)^N
PV=present value
FV=future value (maturity value)
i=interest rate in percent per period
N=number of periods
The JSP should return an HTML page stating the input parameters and the result.
Two
Objective: Design a JSP that gather information about the request and saves it in a log file.
Description: Create a JSP name log.jsp that reports the following data to a log file: visitor number, user-agent, remote host name, and remote address. Name the log file "access.log". Each time a user visits the JSP write the above data to the file. In the JSP create a private method named "writeLog()" that takes a String containing the log data, and then closes the file. Call this method from within the JSP.
Please help!! My instructor is impossible to get a hold of since he works at a different college. Thank you.
Can you write Java at all?
If so, I'd suggest that you forget about JSP and start by writing an object that can calculate simple interest. Run and test it on the command line until you're sure that it's 100% perfect. See if you can write information gathered from the command line and write it to your access log in a separate object.
Once you have that, tackle the JSP piece. Get a book or a tutorial to learn how to write JSPs. I'd recommend Hans Bergsten's JSP book from O'Reilly.
You'll need a servlet/JSP engine to be able to run your JSPs. Download Tomcat from Jakarta - it's free and very capable:
http://jakarta.apache.org/tomcat
I'd recommend that you download version 4.1.30. It's the stable production version.
Computer science is all about "divide and conquer". Start dividing if you hope to conquer this assignment. - MOD
Similar Messages
-
My bank sent me a new Debit card because of some security issue. It has the same number as my previous card but new experation and new security code. It worked fine for months then all of a sudden Itunes decided the security code is invalid. Now I can't even update my phone.
For the last week I have been going back and forth over email with apple support to fix it, but they keep telling me the same fix that doesn't work and frankly they are the worst support group I have ever worked with. I can't even get anyone to answer a phone, its just back and forth by email everyday.Debit card? Are you sure?
USA iTunes Store does not appear to accept debit cards - http://www.apple.com/legal/itunes/us/terms.html "The iTunes Store, Mac App Store, App Store, and iBookstore services (“Services”) accept these forms of payment: credit cards issued by U.S. banks, payments through your PayPal account, iTunes Cards, iTunes Store Gift Certificates, Content Codes, and Allowance Account balances." -
My phone is a Sony Ericsson Xperia X10.
Firefox will not appear in the Market for most phones with incompatible hardware. You can check if your phone is supported here:
https://wiki.mozilla.org/Mobile/Platforms/Android
Even on some supported devices, a bug in the Market software prevents Firefox from showing up. This may be related to the fairly recent Android Market app update. If you go to Settings/Applications/Market and choose "Uninstall" you can uninstall the update, and then search for and install Firefox from the marketplace.
Or, if you have a supported phone, you can download the app directly from here:
http://ftp.mozilla.org/pub/mozilla.org/mobile/releases/4.0b3/android-r7/multi/
(Note: To download the app directly for an AT&T phone, you will have to search for instructions on "sideloading" the APK file, since AT&T disables the option to install from non-Market sources.) -
I have a Macbook with OS 10.6.8 using Itunes 10.4.1 to sync my Iphone4. The itunes do not sync my contacts ... No error messages .... nothing ... just do not work ... However, It is working for apps, calendar and email. Does anybody have a clue what is going on ? tks
There is also an option to reset all data on the device with the next sync.
MJ -
I have an unknown error labeled -42210. I don't see it anywhere in the list and I have no clue what it does either since everything seems to run just fine. Does anyone know what the error means?
Try the following user tip:
iTunes for Windows 11.0.2.25 and 11.0.2.26: "Unknown error -42110" messages when launching iTunes -
Does anyone know how to speak to human being in customer service for iTunes? I got charged for something and have no clue what I got charged for. I have not used iTunes yet. I have spent a lot of time trying to get this resolved on the apple site and there just seems no way to do it. Thanks.
iTunes Customer Service is an online service unless they feel they need to call you.
iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html > Get iTunes support via Express Lane > iTunes > iTunes Store -
Just bought Adobe Photoshop Ps , clicked on the icon in my Mac dock and am staring at a black page with a perimeter of symbols and a heading that reads "Adobe Photoshop CC 2014. I don't have a clue what I do next. I would like to transfer some photos from my iPhoto library. Where do I start?
Photoshop does not transfer files nor import files. It can open files from any place that finder can access for files.
This is the normal process:
You need to log into https://www.adobe.com/creativecloud/catalog/desktop.html Download Center
Select the app you would like to start with
The Creative Cloud manager will install first.
When done installing, the Creative cloud (adobe manager) should open in the middle of your screen.
If no apps automatically start installing then click on Apps
Scroll down to the app you want to install and click the install button
Once the manager says it is done, you can start your app like you normally do with any other app. -
I am trying to play music on my iTunes that I had burned from either CD's that I had bought & own (in order to preserve the CD from damage and it is all only for my personal use) or purchased through iTunes. Much, but not all of this was done on an old computer, and on old e-mails that no longer exist, and for that matter I have no clue what the passwords could possibly be! The computer that I use now is at least 10 years old, so how am I supposed to remember passwords from that long ago? I am constantly being told to reset my password, but that apparently just seems to compound the issue. One account will not even accept my birthday and my security question which I know with 100% certainty are correct. I JUST WANT ACCESS TO MUSIC I OWN OR HAVE PURCHASED over the past 20+ years, and I don't care what computer I did it on or what e-mail address I used, and forget about trying to recall my password! Apple makes it so difficult to do passwords it's ridiculous! I would need a book to write down every password that I have tried, and apparently not succeeded in using! add to my frustration is that my son put literally TONS of his music onto my computer and used his various Apple ID's and passwords, and it's just a bumble cluck of a mess. AGAIN, I only want access to MY MUSIC!
You're supposed to remember them or make note of them because they are key to a resource in which you have invested financially, just like keeping records for bank accounts you have or keys to your car. It is just that people haven't woken up to the importance of having a digital legacy too.
Here are resources for forgotten passwords:
https://iforgot.apple.com/
http://www.apple.com/support/appleid/contact/
Contact Apple for help with Apple ID account security - http://support.apple.com/en-us/HT5699 "This article provides country-specific Apple Support contact information for customers seeking help with their Apple ID password or other security-related issues." -
I'm trying to download the latest version of iTunes and get the message "There is a problem with this Windows Installer package. A program required for this install to complete could not be run." I have no clue what to do with this to resolve the issue. Thanks for any help!
Repair your Apple software update.
Go to START > ALL PROGRAMS > Apple Software Update. If it offers you a newer version of Apple Software Update, do it but Deselect any other software offered at the same time. Once done, try another iTunes install
If you don't find ASU, go to Control Panel:
START > CONTROL PANEL/ > Add n Remove Programs, highlight ASU and click CHANGE then REPAIR -
I just bought a 50 dollar iTunes card but now it's asking for my security questions and I have no clue what those are please help I'm begging
See Kappy's previous write-up.
Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities -
I've tried to d/l itunes 3 times and every time I get this message: .....Downloads\iTunesSetup.exe.part could not be saved, because the source file could not be read. I have no idea what I'm doing. Does anyone have any ideas to help? Cheers.
I've tried to d/l itunes 3 times and every time I get this message: .....Downloads\iTunesSetup.exe.part could not be saved, because the source file could not be read. I have no idea what I'm doing. Does anyone have any ideas to help? Cheers.
-
I am unable to download my PDF. It is asking for my adobe livecycle rights management credentials. I have no clue what that is. I am using a PC windows7. Please help me.
Downloading from where? How exactly are you downloading?
Can you post a screenshot of that message: https://forums.adobe.com/thread/1070933 -
Help, i am trying to print my JPEG file that i created in photoshop at a photo lab but it is coming out like an X-ray. I have printed these files before so i have no idea what i am doing wrong.
Could it be something i have done in my settings?
or when i am saving the file to JPEG?Basically you're approaching this the wrong way around. What you need is the extreme sections to be quieter, not louder. The problem with moving the lower end of the audio is that you'll move the noise floor too, and get what's generally referred to as a 'pumping' effect. So what you do is to use a compressor to tame the peaks, and leave the lower level sound alone. When you've done that, you amplify (or normalize to a level you can determine) the whole signal. So the noise floor will be higher, but constant and not pumping. 'Match Volume' is a completely different tool for setting the overall levels of different tracks so that they sound approximately the same - it doesn't even begin to do what you want.
If it's music you are treating, then I'd almost certainly use the multiband compressor, because you get less artefacts with this. You need to experiment with the threshold levels, and almost certainly not use a massive compression ratio - 3:1 or 4:1 should be sufficient (although it's hard to tell without actually hearing the audio). You can tell what it's doing at any given point because the downward meter indicates how hard it's working. In theory you can apply make-up gain with it as well, but personally I leave that until everything's treated and use the 'Normalize' tool to set an absolute max level. -
I keep getting an error message when I try to sync my iPod that says "the required disk is missing". I don't have a clue what they are asking for..
Try deleting the iPod Photo Cache folder. If location can be found here:
iTunes: Understanding the iPod Photo Cache folder -
recently got went through the process of unlocking my phone through itunes, i am now unable to back my phone up to my computer, its asking me for a passcode that i used to unlock it, but i dont have a clue what it is. any ideas?
that works on my phone! But when im on ITunes on my computer and back it up manually, it comes up with a message saying, the passcode used to unlock iPhone is incorrect
Maybe you are looking for
-
hi i have a problem My client needs a front end application for the database application. they are using MS Access as there database. the problem is in the the table headers have namespaces so as table name :Training field name : date of joining fiel
-
Hyperlink in cells of WDALV ?
Hi, I am creating a hyperlink in Cells of ALV Output for a URL .but it not working Here is the code from component controller if 'TPLSIZE' ne 0. data: v_link_to_url type ref to cl_salv_wd_uie_link_to_url. create object v_link
-
I have deactivated my CS6 on my old computer and now when I have downloaded a trial version and enter the serial number it says not valid? I have only used my license on one computer before? Does anyone know the problem?
-
Je ne peux pas valider ma commande de Photoshop Elements Lorsque j'arrive à la page règlement, il m'affiche le message suivant : Erreur dans votre commande Ce compte a été enregistré pour un pays différent. Veuillez vous déconnecter puis vous reconne
-
I have two problems I would like to announce:
Good day. I have two problems I would like to announce: 1- I have several websites that I have done to my clients and when you put a slider conveyor show to java no pictures only the data for each are appreciated, but in chrome or explorer if you loo