Serious Help about JSP? please anyone

Hello everyone,
I am newbie on java. just learned java and java servlet. and learning jsp. i got a job interview for java development and jsp. is there anyone can help me out on which part of java and jsp i should pay attention. so i can be success in my interview. please anyone
Sumit

It's not that people are rude here, it's just that (in your original question) you seemed to indicate that you had no knowledge of java but were going to be interviewing for a java position and what you wanted from the user community was something you could say in the interview that would give the impression to the interviewer that you were an experienced java professional.
If you just want pointers with a java interview... well, this is not exactly the forum for that question. I will give you one piece of advice anyway: Be honest with who your interviewer. Tell them you want a java job but have little to no experience but are willing to spend extra time to become proficient. If hired, this means you can spend time getting some OJT without worrrying about getting canned.
If you try to BS your way into a job, they may expect you to already know alot. Your first day on the job, it will be apparent you don't know squat and it won't be too long after that before you will be back on the street looking for work.
HTH,
P.

Similar Messages

  • Need serious help about understanding settings on photoshop for the best quality- please reply is you know a lot about this.

    Ideally I'd like to speak to someone from the UK as I feel I can't write out everything I want to say because it's too confusing and it isn't just one question.
    I need help with setting photoshop so the images are the best quality on screen and for websites and printing and how I can change that etc I've heard different things and I just need some clarification and advice.
    Obviously I'm sure some of you wont want to give personal details out that's fine but I'm generally just in need of some advice, let me know if you can help:)

    I don't change any settings.  For 1X web images I always use Save for Web.  PS remembers which web settings you used the last time.   This doesn't effect other files or formats.
    Image optimization — Web Fundamentals
    Improving Images for Hi-Res Retina Displays
    A guide for creating a better retina web - Ivo Mynttinen / User Interface Designer
    Serving Hi-Res images only to High Density Displays with PHP
    Retina Images
    Seriously, you can drive yourself crazy with all this Retina display stuff.  I don't see much upside to it except for very special situations.
    Nancy O.

  • Need serious help with JSP + JDBC/Database connection

    Hey all,
    I have to build an assignment using JSP pages. I am still pretty new and only learning through trial and error. I understand a bit now, and I have managed to get a bit done for it.
    I am having the most trouble with a Login Screen. The requirements are that the a form in a webpage has Username/Number and Password, the user clicks Login, and thats about it. The values for the username/number and password NEED to come from the database and I cannot manage to do this. The thing I have done is basically hardcode the values into the SQL statement in the .jsp file. This works, but only for that one user.
    I need it so it checks the username/number and password entered by the user, checks the database to see if they are in it, and if so, give access. I seriously am stuck and have no idea on what to do.
    I dont even know if I have made these JSP pages correct for starters, I can send them out if someone is willing to look/help.
    I have setup 3 other forms required for the assignment and they are reading data from the db and displaying within tables, I need to do this with non-hardcoded values aswell. Im pretty sure I need to use for example 'SELECT .... FROM .... WHERE username= +usrnm' (a variable instead of username="john" , this is hardcoded), I just CANNOT figure out how to go about it.
    Its hard to explain through here so I hope I gave enough info. A friend of mine gave some psuedocode i should use to make it, it seems ok to follow, its just I do not know enough to do it. He suggested:
    get the username and pass from the env vars
    open the db
    make an sql (eg SELECT user, pass FROM users WHERE user = envuser)
    index.jsp points to login.jsp
    login.jsp get the vars you put into index.jsp
    opened the db
    is the query returns nothing - then the user is wrong
    OR if the passwords dont match
    - redirect back to index.jsp
    if it does match
    - set up a session
    - redirect to mainmenu.jsp
    Anyway, thanks for any help you can give.
    -Aaron

    Hi,
    Try this... it may help you...
    mainMenu.jsp
    <html>
    <body>
    <form method="POST" action="login.jsp">
    Username: <input type="text" name="cust_no">
    <p>
    Password: <input type="password" name="password">
    <p>
    <input type="submit" value="LOGIN">
    </form>
    </body>
    </html>
    login.jsp
    <%@ page import="java.io.*, java.sql.*"%>
    <html>
    <body>
    <%
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection connection = DriverManager.getConnection("jdbc:odbc:rocky");
    Statement statement = connection.createStatement();
    String query = "SELECT cust_no, password FROM customers WHERE cust_no='";
    query += request.getParameter("cust_no") + "' AND password='";
    query += request.getParameter("password") + "';";
    ResultSet resSum = statement.executeQuery(query);
    if (request.getParameter("cust_no").equalsIgnoreCase(resSum.getString("cust_no") && request.getParameter("password").equalsIgnoreCase(resSum.getString("password"))
    %>
    <h2>You are logged in!</h2>
    <%
    else
    %>
    <h2>You better check your username and password!</h2>
    <%
    }catch (ClassNotFoundException cnfe){
    System.err.println(cnfe);
    }catch (SQLException ex ){
    System.err.println( ex);
    }catch (Exception er){
    er.printStackTrace();
    %>
    </body>
    </html>
    I didn't check the code that I wrote. So you may have to fix some part of it. Also this may not be the best solution, but it will help you to understand the process easily.
    The more efficient method is to check whether the result set returned from the database is null or not.... I hope you got the idea... Good luck!
    Rajesh

  • IN NEED OF SERIOUS HELP...PLEASE BE PATIENT AND KIND

    Hello...and thanks in advance. I will try to make this as concise as possible.
    I have a 20GB U2 iPod (I don't know the generation - but it does NOT have a color screen). Its warranty recently expired (prior to all my troubles of course), so I'm trying to fix this on my own.
    Anyhow... lately the device turns on successfully and appears to have all my saved songs (approx. 650); however, when I attempt to play a song from the beginning of my "songs" list - nothing will happen - except the screen will begin scrolling through every song though playing none of them. If I choose a specific song - nothing will happen - it will just return to the main menu.
    After putting it aside for a few days because of the irritation it caused, I've decided to try again. Except, now the problem is that NO songs are listed on the iPod. Everything is gone. When I plug it into the computer, iTunes does NOT automatically appear and it would seem that my computer has no idea that the iPod even exists. Also...earlier the "About" screen informed me that I had 20GB capacity, but only 4 available. Now it says 18.5GB capacity with 10MB available.
    So, I have begun the suggested "Five R's". The iPod has been fully charged. I have done the "hold" key operation, changed the USB port I was using. I have updated the software and iTunes and have restarted my computer.
    Currently I am trying to restore the iPod, but the updater is not detecting the iPod. And the device itself just continues flashing the "Do not disconnect" message and makes a whizzing and clicking noise inside.
    I did disconnect the iPod a minute ago and the updater then said "Can't mount iPod". I don't know what that means - so I simply tried the updater process again.
    So here I sit with a whizzing-clicking iPod on my lap typing this to you hoping for any sort of help.
    I am not the most tech savvy person, but I could really use some help if anyone is willing to take the time to help a "rookie".
    Thanks so much!!!

    Just an update...could still use help!
    The updater screen (on the PC) finally allowed me to choose the restore option - I did. It prompted me to confirm my choice - I did. The status bar popped up, but nothing happened. I left everything plugged in and walked away for several hours. Came back to find "Disk Mode" no longer visible at the top of the iPod screen, but "D.N.D" still flashing. And...now the small updater box (on PC) says "Can't Mount iPod" again.
    The upside...No more whizzing and clicking!
    Any thoughts?
    Much obliged

  • Help,about jsp+xml+xslt

    if I write like this:
    <?xml version="1.0" encoding="GB2312"?>
    <%@ page contentType="text/html;charset=GB2312"%>
    <?xml-stylesheet type="text/xsl" href="xslt/test.xslt"?>
    <news>
    <word>
    link
    </word>
    <link>
    abc.jsp
    </link>
    </news>
    the test.xslt can convert the xml to html
    but I write like this:
    <?xml version="1.0" encoding="GB2312"?>
    <%@ page contentType="text/html;charset=GB2312"%>
    <?xml-stylesheet type="text/xsl" href="xslt/href.xslt"?>
    <%
    out.println("<news><word>link</word><link>abc.jsp</link></news>");
    %>
    the test.xslt would not work,why????

    first the xslt is in a .xsl file
    second I'm pretty sure you can't put java in an xsl file.

  • Need Serious Help About Ipods

    OKay i'm getting an ipod nano for my birthday but i need to know if...i have a 1,000 songs downloaded onto my computer with limewire... can i use those songs on my ipod or do i have to use itunes and pay for each song

    Well first you need to make a playlist on itunes. Call it iPod nano or something. Then drag everysong onto that playlist. When you get your ipod you can tell it to automatically update it through that playlist.
    http://docs.info.apple.com/article.html?artnum=61148

  • Im in need of some serious help...

    Im new to using Logic Pro 9 and software for that matter, I need some serious help if there is anyone who can help me. I have a Imac and Logic Pro 9 and I would like to do all of my sequencing and editing here. But I am a dedicated user of hardware but would love to make the intergration of both. So I have 8 external hardware keyboards and sound modules I would like to use and sequence my beats on Logic. I have an Edirol Um 880 midi interface and also a Roland Integra 7 sound module that I am trying to use as my audio interface via USB aswell as use the internal sounds. Im having trouble with the set up and making it all work the way I am intending it to work. I have my keyboards and sound modules connected to the edirol midi interface via midi ofcourse and the usb cable connected to my Imac and the edirol and 8 midi ports show up in logic when I create an external instrament track, but when i choose one of the um880 ports and lets say i choose channel one I get sound but from all 8 of my external devices but should only here one sound per channel coming from that specific midi port not all 8 at the same time. Im doing something wrong. To add more info, my Integra 7 is connected using USB to the Imac also and Im using the audio Ins and Outs of the integra. Now I also have a mixer which all of my keyboards and sound modules are connected for audio and the outs of my mixer is connected to the inputs of my integra 7 to get sound into logic which I am getting sound, I can record and here playback but my problem is being able to seperate the channels to a dedicated track without pressing a key and hearing everything play at once. Also Im not sure(once i fix the first problem) if I sequence my beat in midi and then bounce the midi tracks to audio tracks afterwards to mix and edit each track. Im going wrong somewhere in my set up either in my edirol um 880, or the Integra 7 or in Logic Pro 9 or maybe just all of the above, can anyone help me out, Please. Also Im using OS 10.6.8.

    Have you considered this?
    Local control and MIDI outputting.
    >Learning about Local Control is crucial if you are to make the most of a combined synthesizer/MIDI controller. The term is used to define whether the hardware is in control of its onboard synth; if Local Control is on (default setting) then playing the keys and tweaking the controls will trigger sounds as the synth's patches are activated. With Local control off, pressing keys and adjusting controls will just output MIDI information to the sequencer, which will either trigger sounds within the computer or return to the hardware at whatever MIDI channel is determined by the sequencer (to control the unit itself or an additional MIDI instrument connected to it). Most synthesizer/MIDI controllers do not allow this kind of control as their front panel controls do not output MIDI data, so Local Control off means that only the keyboard can be used for controlling external devices but not the buttons, faders and pots.<
    Have a nice day!

  • Need Help about 3D and revolving in illustrator

    I really need help about 3D, Please tell me that How i create 3D in illustrator
    i want to revolve text or shape around any object like this, any plugin? or other software required for this?
    if somebody know this it will be really help full
       http://rcgrafix.fizwig.com/1452732-large.jpg    
       http://rcgrafix.fizwig.com/1384370-large.jpg
       http://rcgrafix.fizwig.com/1062180-large.jpg
    Thanks
    Arsi

    if links are not working try Copy and paste it in to your browser address bar
    thank you

  • Mac Book Air sleeps when moved...i don't know whats the problem...please help me out if anyone knows about this...

    Mac Book Air sleeps when moved...i don't know whats the problem...please help me out if anyone knows about this...

    your reed switch for the monitor is defective, it thinks youve shut the lid when you havent
    mechanical fault , contact Apple for service and parts replacement.

  • In app purchase is not working in testing environment in sandbox for the past 5 days. Please anyone know about this issue.

    in app purchase is not working in testing environment in sandbox for the past 5 days. Please anyone know about this issue.
    What i did
      1 . Added three products more to the existing in-app
      2 . Tested with sanbox
    i am getting the error "cannot connect to itunes store" with error code "0" when trying to purchase product in sandbox.
    Is sandbox is down?Please help guys..

    Apple's sandbox has been down practically all month. You can check the status here:
    http://sandbox.itunes.apple.com

  • Uploading images with jsp-PLEASE HELP

    Hi
    I would like to allow users to upload images(photos) from the website im doing.
    i was gonna use perl which seems quite easy. Since everything else i used was jsp i thought i might try to do uploader in jsp (though its seems more difficult)
    id like to limit :
    the maximum file size to be uploaded ,
    the maximum width/height of the image file
    the list of the acceptable mime-types (Content-Types) -jpg, gif
    Any suggestions how to go about it PLEASE- ie. what packages, classes do i need- mimeparser, BufferedImage, FileFilter? cos im bit lost which classes to use.
    THANKS LOTS
    sabcarina

    This is the jsp File which helps me to upload the file
    But for this Jakarta Commons fileupload is needed which is normally provided with Tomcat 5.5
    The code is
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ page import="org.apache.commons.fileupload.DiskFileUpload"%>
    <%@ page import="org.apache.commons.fileupload.FileItem"%>
    <%@ page import="java.util.List"%>
    <%@ page import="java.util.Iterator"%>
    <%@ page import="java.util.*"%>
    <%@ page import="java.io.File"%>
    <%@ page import="com.common.*"%>
    <!--<html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Process File Upload</title>
    </head>-->
    <%
         DerivedLastNoEntity objLastNoEntity=new DerivedLastNoEntity();
         DerivedLastNoObject objLastNo=(DerivedLastNoObject)objLastNoEntity.getData(new DerivedLastNoObject(10)).get(0);
         int lastNo=objLastNo.getLastNo();
         String forwardString=null;
         StringBuffer parameters=new StringBuffer();
            DiskFileUpload fu = new DiskFileUpload();
            // If file size exceeds, a FileUploadException will be thrown
            fu.setSizeMax(1000000);
            List fileItems = fu.parseRequest(request);
            Iterator itr = fileItems.iterator();
            while(itr.hasNext()) {
              FileItem fi = (FileItem)itr.next();
              //Check if not form field so as to only handle the file inputs
              //else condition handles the submit button input
              if(!fi.isFormField()) {
              String fileName=fi.getName();
              if(fileName.length()>0)
                   fileName=(++lastNo)+fileName.substring(fileName.lastIndexOf("."));
                   File fNew= new File(application.getRealPath("/"), fileName);
                   parameters.append("&fileName=/struts-blank/"+fileName);
                   fi.write(fNew);
         else
              if(fi.getFieldName().equals("forwardString"))
                   forwardString=fi.getString();
              else
                   parameters.append("&"+fi.getFieldName()+"="+fi.getString());
         objLastNo.setLastNo(lastNo);
         objLastNoEntity.edit(objLastNo);
         System.out.println("before "+forwardString);
         if(parameters.length()>0)
              if(forwardString.indexOf("?")<0)
                   forwardString=forwardString.concat(parameters.toString().replaceFirst("&","?"));
              else
                   forwardString=forwardString.concat(parameters.toString());
         System.out.println("after "+forwardString);
         response.sendRedirect(forwardString);
    %>
    <!--<body>
    Upload Successful!!
    </body>
    </html>-->Bye for now
    CSJakharia

  • I have frequent instances of my Macbook Pro beeping 3 times and then I have to forcefully shut it down by pressing the power button. What is this all about? Please help. Thank you.

    I have frequent instances of my Macbook Pro beeping 3 times and then I have to forcefully shut it down by pressing the power button. What is this all about? Please help. Thank you.
    I saw this report being sent to Apple:
    Interval Since Last Panic Report:  581719 sec
    Panics Since Last Report:          10
    Anonymous UUID: F4CF708D-D85C-4EC5-8047-4FC22C6B03AF
    Fri Mar  7 13:00:14 2014
    panic(cpu 0 caller 0xffffff80002d1208): Kernel trap at 0xffffff800020c590, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0x0000000000000000, CR3: 0x0000000007541000, CR4: 0x0000000000040660
    RAX: 0xffffff8000000000, RBX: 0xffffff800d35a870, RCX: 0xffffff800cf55cd8, RDX: 0xffffff80008a8fcc
    RSP: 0xffffff805e5f3d60, RBP: 0xffffff805e5f3da0, RSI: 0x000000001dcd6500, RDI: 0xffffff800d168778
    R8: 0x0000000000000001, R9: 0xffffff805e5f3e88, R10: 0x0000000000000011, R11: 0x0000000000000000
    R12: 0x0000000000000000, R13: 0xffffff800d168770, R14: 0xffffff800d168778, R15: 0x0000000000000000
    RFL: 0x0000000000010082, RIP: 0xffffff800020c590, CS:  0x0000000000000008, SS:  0x0000000000000010
    Error code: 0x0000000000000000
    Backtrace (CPU 0), Frame : Return Address
    0xffffff805e5f3a00 : 0xffffff8000204d15
    0xffffff805e5f3b00 : 0xffffff80002d1208
    0xffffff805e5f3c50 :
    Model: MacBookPro8,1, BootROM MBP81.0047.B27, 2 processors, Intel Core i5, 2.3 GHz, 4 GB, SMC 1.68f99
    Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
    Memory Module: global_name
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 5.100.198.104.5)
    Bluetooth: Version 2.4.5f3, 2 service, 12 devices, 1 incoming serial ports
    Serial ATA Device: Hitachi HTS545032B9A302, 298.09 GB
    Serial ATA Device: OPTIARC DVD RW AD-5970H
    USB Device: FaceTime HD Camera (Built-in), 0x05ac  (Apple Inc.), 0x8509, 0xfa200000 / 3
    USB Device: Hub, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
    USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 5
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x821a, 0xfa113000 / 8
    USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x0245, 0xfa120000 / 4
    USB Device: Hub, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
    USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0xfd110000 / 3

    Hmm. The problem still may be the RAM - Apple buys the RAM it puts in its machines from third-party vendors (usually Hynix) so it could be a RAM problem.
    There are a couple of things that you can do yourself before taking your machine into an Apple Store or an AASP... download and run an application named Rember that will run a RAM test for you - let it run for a couple of hours or even overnight. If it turns out that your RAM is faulty, Rember will let you know. If it is faulty, then you have a couple of options - replace the RAM yourself or (particularly if you're under warranty still) take the machine to an Apple Store or AASP and have them replace the RAM.
    If Rember finds no fault with the RAM, then you'll need to take it into an Apple Store/AASP and get a free diagnosis on the machine. Three beeps do usually indicate faulty RAM, but if it tests good with Rember you likely have another problem - it could be something as simple as the RAM, somehow, not seated correctly or signs of another hardware problem.
    Run Rember first... call back with results.
    Good luck,
    Clinton

  • Setup problem please anyone help ~~ me !!!

    i was trying to setup adobe photoshop and i clicked setup.exe (file picture display like as a white paper) and it told me to choose application. so i dont know how to change or choose which program .. please anyone help me out on this..

    Photoshop is an application that must be purchased (not available via a download) and isn't cheap.
    You must purchase the OS X (Tiger compatible) version of Photoshop.
    Check Apple's online store under software or do a Google search.

  • I forgot my icloud id and password. i want to delete the id. i forgot the password. if i try to delete the account its asking for password. i cannot find how to delete the account. Please anyone can help me out???

    I forgot my icloud id and password. i want to delete the id. i forgot the password. if i try to delete the account its asking for password. i cannot find how to delete the account. Please anyone can help me out???

    You aren't going to be able to delete it without the correct password.  If it's your ID, you can reset the password as explained here: http://support.apple.com/kb/HT5625.  If it isn't your ID, you will have to get the password for the person who owns the ID.  There's no way around this and no one else can help.

  • I was updating software and suddenly my IPHONE  started asking for I tunes on mobile screen ,  how can  i  get by screen back or How i can restore without loosing data , I m more worried about data , Please help in resolutio

    i was updating software and suddenly my IPHONE  started asking for I tunes on mobile screen ,  how can  i  get by screen back or How i can restore without loosing data , I m more worried about data , Please help in resolutio

    What exactly are you seeing on the phone's screen ? If the iTunes icon and cable then the phone is in recovery mode, in which case it's too late to take a new backup or to copy any content off the phone - you will have to connect the phone to your computer's iTunes and reset it back to factory defaults, after which you can restore to the last backup that you took or just resync your content to it

Maybe you are looking for

  • Video imported from Premiere plays slower in Flash

    I have tried a variety of option including using a shorter clip and embedding the video upon import, stretching the audio in soundbooth and re-importing seperately, but it either does not work or is not satisfactory for my needs. Ultimately, this vid

  • Safari constantly closing without warning on iPad?

    Hello, since updating the software to IOS 5, safari is closing without warning. I do not expereince this on my iMac or MacBook. Does anyone have an idea of how to fix this or do I just visit the Geni in the Apple Store... Thanks

  • DaqMX & TDMS Logging - No Datestamp and dt until Close

    In our application, we are continuously logging data to a TDMS file using the "DaqMX Configure Logging (TDMS).vi". However, there are times when we need to look at the TDMS data while the application is still running (i.e. when a failure is found). W

  • Problem importing into iPhoto11

    I thought I may have resolved my problem by rebuilding my library, but we imported some photos, my wife even edited them. Then the next time we went to iPhoto the pictures were not there. We tried to import them again, didnt edit this time, & closed

  • Get rid of urxvt's titlebar

    anyone know how to tell openbox to get rid of the titlebar for specific apps?