Missing something simple

Hello All:
I am new to Jdeveloper and have a simple question. First I create a new web project, then a new servlet and static HTML page within the same project. I then modify the static html page to post to the servlet. When I execute the test the browser comes back with a "File not found" message. Is there some registration process for the servlet that I need to perform in order to call it from a static HTML page? I followed examples found on this web site and there wasn't any mention of this that I could tell.

You'd surely be better off going through some documentation offline / online of creating, registering and using servlets.
You have to have 2 entries in the web.xml for the servlet like shown below
Assume that index.java is the servlet's source file and its in the web context's root directory
<servlet>
<servlet-name>index</servlet-name>
<display-name>index</display-name>
<description>No Description</description>
<servlet-class>index</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>index</servlet-name>
<url-pattern>/index</url-pattern>
</servlet-mapping>
hope this helps

Similar Messages

  • I must be missing something simple

    about a month ago I signed up Creative cloud monthly plan.  I downloaded bridge and photoshop.  When I click on window to see what has been downloaded it says photoshopCC and bridge CC is up to date.   I can open bridge but not photoshop.  I have tried and tried to figure it out and must be missing something simple.  NowI am frustrated and need help.

    Douglashoffman007 which operating system are you using?  Where have you tried to open Photoshop CC from?

  • Missing something simple with Crop?

    I need to do something that I've done a hundred times before with simple image editors on my old Windows desktop, but now I have a shiny new MacBook Pro with an Adobe Creative Cloud subscription, so I'm learning to use Photoshop CS6.
    I have an image someone sent me that has text at the top and bottom of the image and too much "white space" in the middle (it's not white, but work with me here). I want to cut that part out, to have the middle disappear and the top and bottom sections join.
    I can figure out how to make the middle disappear (I used the regular select instead of crop, selected the middle, inverted my select, and chose Cut). But the top and bottom parts don't join.
    I asked my Photoship savvy co-worker and she told me all about making layers to do this and that, and overlapping (offsetting?) copies of the image. My ears began to ring. This CAN'T be so complicated. With the free photo tool on my Windows machine, I could highlight what I wanted to get rid of, press Delete, and it would remove that part of the image and join the top and bottom pieces.
    I suppose I could edit the picture under Windows, but I'm hoping to use this as a learning experience. How would I do this in Photoshop?
    Thanks in advance for any answers!

    I would do this
    marquee half of the image
    CMD J to float a copy fo the layer
    Move that new ayer until close up the gap or white space as you referred
    clck on the "add layer mask icon" 3rd icon on btoom of layer palette
    paint with a soft black filled brush into the mask to hide the overlapped part you want to erase

  • PLAYBACK - Missed something simple

    New comer to FCE. have tried to read the helpPDF - big, isnt it?
    Imported a .mov clip. Dragged into timeline - fine. Put audio deliberately out of sync, ok so far. I can not see how to playback to check the effect of out of sync. The VIEWER plays back the original clip. The CANVAS plays nothing back and then BEEPS when the out of sync audio should come in. There must be a way and its "simple" Im sure.
    Any help gratefully taken.
    Steve10

    Tom Wolksy is about (well- he was half an hour ago to reply to me) and he'd know the answer to the Can't Abide To Wait For Render in this case.
    I had to accept that plight due to the fact that I was not able to import from my camera directly at one point (turns out the camera was set up wrong at first) and regularly ended up with rendering more than I was actually working on editing.
    But that was because I was working with four layers of video to one imported HQ audio.
    So- ARE you seeing a thin red line above your timeline window?

  • Frustrating missing something simple

    I have an iBook G4 running 10.5.1 and I also have on this router Belkin 4 port wired an iMac running 10.4.11.
    I usually network these two machines quite easily and have done for some time.
    I recently had some minor probs and done a complete clean reinstall of leopard and I have transferred all I wanted from my cloned backup which I still have on the external FireWire.
    All my network and firewall settings are the same as are the sharing, apple talk, NetBarrier and Little Snitch rules. The iMac I am trying to connect to is showing in my share and in network.
    I can connect to this iBook no probs' from the old iMac but now no matter what I do I just cannot connect from the iBook to the iMac. Everytime I try I get
    *connection failed* The server is not running try again etc. etc.
    But all is running and the strange thing is if I use the Cloned back up firewire as startup disk it connects no problems.
    This is frustrating me no end has anyone got any ideas.
    EDIT: Just created a new user account with admin and that user could not connect either so it's not a user account problem ?????

    Thanks for your reply.  Finally solved it last night.  Simple in the end but took ages to find it (and much hair pulling).
    My Forms were saved as Dynamic XML.   So I saved them as Static XML then reapplied Reader Extended features and it all worked fine.
    Appreciate you looking.
    Kind regards
    David

  • I know I am missing something simple

    I am trying to implement the JAAS architecture and have created a couple of classes the implement the necessary interfaces and what not.
    The problem that I am running into is when I attempt to import packages like javax.security.Principal and javax.security.Subject, my IDE (JBuilderX) does not recogonize them. My project property is set to the correct version of the JDK (1.4.1_01) and other packages (java.io.*) that I am importing are found with no problem. I have verified that the javax.security package does exist in the JDK that I am using (found and opened rt.jar, saw the classes). I have even gone as far as to include rt.jar as a required library in my project. Still unable to recogonize these packages that I need to import.
    What is it that I am missing???
    TIA
    Matt

    Ummm - you do mean
    to import packages like javax.security.Principal java.security.Principal
    and javax.security.Subject, javax.security.auth.Subject
    Right?
    Grant

  • Parameterized Report Bug? Or am I missing something simple

    Hi Guys,
    I have experienced a wierd problem when creating parameterized reports - I have followed exactly the example in Chapter 2 of the XE 2 day plus apex developer guide - here is a description of my problem:
    The report displays correctly and clicking on the Go link after selecting value from the select list dynamically changes what is displayed as expected. However, if the query returns more than 15 rows then I start to encounter this wierd problem. Essentially if you click on the next arrow link to look at more information it displays the next set of results as expected. The problem occurs though when I then select another value from the select list and click Go - nothing is displayed even though I know that it should have! It seems to be a problem when navigating to the secondary results page?
    Does anyone have any ideas how to overcome this as I need to use this type of functioanlity in a app that I am building.
    All pointers much appreciated.
    Stuart

    Stuart
    This is an age old APEX/HTMLdb problem. If you are viewing page 2 and you change the filter so that there is only one pages worth of report, then you end up with a pagination error. You have found the fix. You also need to be careful when delete values from a report for the same reason.
    Simon

  • Simple web server setup - missing something

    I am trying to use 10.9 OS X Server to set up a simple test web server.  Simple PHP sites to be tested on this standalone server.  Here is what I have done:
    1) Set up the OS X Server DNS services to resolve a test domain name (name.test) to 10.0.1.255
    2) Set up OS X Server Website Services adding the domain name, sending it to a directory on the Mac (listening on any IP address port 80).  Checked enable php but I can not get far enough to worry about that now.
    3) In Network Setting given the Mac a static IP address 10.0.1.225
    4) In Network Settings set the DNS server to 10.0.1.225
    Based on my limited knowledge I would think that is it. 
    But then on that same server when I enter the domain name into safari it just goes out and does a google search on the name.  Clearly the linkage is not being made.
    Safari works for surfing, so it appears the basic network settings work.
    When I go to 10.0.1.255 I get the Welcome to OS X Server page.
    Any help would be appreciated.  Am I missing something simple, or is my basic reasoning flawed about how this should work?

    Safari searches the name on google because .test is not an ICANN domain name. To have it not search you have to add http:// (http://name.test).
    Don't add .local to hosts, as bonjour handles all .local domain names.
    The following should work for you.
    1. Start DNS service and add only one entry pointing to your server, Name it whatever you like but .com, .org, .net , etc... Are more appropriate as they are ICANN domain names. (If your servers ip is 10.0.1.255, it should point to 10.0.1.255)
    2. Enable DNS forwarding to a public DNS server (8.8.8.8 for google's)
    3. In network settings make DNS 127.0.0.1.
    4. Server may add an alert saying the hostname has changed, make sure you update all services. Using scutil to update the hostname is a good idea too
    5. Enable the web service, you should be able to connect to it by typing in your domain name. If it is not a ICANN name you have to have http"// before the domain name. You have to type in the name exactly, do not at www. unless you put www. in the DNS server configuration.
    I hope that all makes sense

  • How do I access the USB harddrive on E3000? Am I missing something?

    I have my router setup fine to the internet, as well as the media server.  I can't figure out how to access the hard drive from my laptop, however.  The manual says put 192.168.1.1 in the address field of windows explorer, but it just gives me the "Setup" page for the router. 
    Am I missing something simple?  I'm using Windows XP.
    Solved!
    Go to Solution.

    Click on Start -Go to Start>>Run/Start search and type "\\192.168.1.1" (Without quotes) and hit enter, and it should prompt you for the Username and Password, in the Username and Password use "admin" all in lower case and click Ok...Now you should be able to see your USB Drive... You need to right click on it and select "Map Network Drive" and check the box Enable and below click on Finish... This will Map the USB Drive on your computer... Once done you will be able to Send and Receive the data from your Computer to the USB Drive...

  • How to upload non iWork files to iCloud...am I missing something?

    I am wondering how to upload non iWork files to iCloud..such as pdf's, Xls, etc....etc any type of file really the way I could with iDisk.
    Am I missing something simple?
    Thnaks,
    Derek

    Thanks for your reply. Just curious if this method is standard setup the way Apple recommends to use iCloud in this situation or if it is a work around to accomplish what I am after?
    Thanks again!
    d.

  • ATV Gen 2: I'm confused. Am I missing something?

    Gen 1 enabled me to sit down at my TV and use the remote to surf hundreds of  TV networks and shows including HBO/NBC/etc...., but Gen 2 seems very limited. Many of my favorite shows and networks are no longer listed on the ATV itself (HBO, Modern Family, Good Wife, etc). Where did they go? To purchase certain content now, I must go to my computer, find the show in iTunes, purchase the show on my computer, and then use home-sharing to send it to the ATV. Am I missing something? Can I no longer surf and make all selections on the ATV directly? My computer is several rooms away from my TV, and I much prefer to surf  content on the TV. Please tell me I'm missing something simple. If this is progress, I'll definitely need to revert back to gen 1. Thanks so much to anyone who can shed some light.  -Maria

    Hi mariafromnh,
         Due to licensing issues between movie-makers and TV Show networks, Apple cannot show some content on the AppleTV 2; only on your Mac/PC. This is also the reverse for some movies that can only been seen in HD on the AppleTV 2 but not on your Mac/PC.
    Like Michele Gardner said, you can only wait until Apple sorts this out. In the mean time, your current method is the only real way of being able to view said shows on your AppleTV. Apple removed the internal HDD and made the ATV2 an extension of your iTunes library by forcing it to be streaming-only.

  • FRUSTRATED:Simple Tasks - Am I missing something or does iTunes fall short?

    So last night I became VERY frustrated because I attempted the SIMPLE TASK OF COPYING MP3 files to a flash card and ran into SEVERAL snags...
    I wanted to copy just my MP3 files (not AAC) and ran into the following snags:
    1) I COULD NOT FIND ANY WAY to burn songs or play list to ANYTHING other than CDs and I had way more data to transfer than would fit on a CD. Isn't there ANY WAY to copy songs to a flash drive?
    2) I couldn't find a way to select Full Album from the album list. I just wanted to view "Album View" as to choose from artists and pick an ENTIRE album skip a few pick a few more ENTIRE ALBUMS, skip a few, etc. I could not find a way to select an ENTIRE album from the Album List without selecting EACH song INDIVIDUALLY. It IS the ALBUM LIST chy can't you select an entire ALBUM? Am I missing something?
    3) Then when I tediously selected about 40 albums (song by tedious song) it wouldn't copy them over. Apparently it was too much data to handle. So I had to reselect albums in groups of 10 (song by tedious song). Is it true iTunes can't handle more than a few MB of data at a time?
    4) After this tedious FLASH card backup I synced my iPod and low and behold I couldn't sort by GROUP which is how I classified all my music since A) every time I set a custom GENRE and tags, it would default back to the often WRONG GENREs that Apple had assigned after "GETTING TRACK INFO or ALBUM ARTWORK." Isn't there any way to sort by GROUPS on the iPod? Is there any way to assign CUSTOM GENRES and not have them go back to the default and often wrong default settings that iTunes assigned?
    i think those were ALL SIMPLE TASKS that iTunes SHOULD have been able to accomplish quite easily. But apparently not! If I am missing something, please enlighten me.
    Bonus questions...
    Why does iTunes break up some albums into a few songs at a time and not others? I can't get them back together unless I select COMPILATION, which it might not necessarily qualify as?
    Half of my CDs I copied over to iTunes sound great on the computer but tinny and play through the right speaker only. What settings should I use, because the default ones don't sound good.
    Why does iTunes keep CONSTANTLY interrupting/stalling my computing when it is just copying CDs. I thought the whole point of selecting COPY CD and EJECT in the preferences was to eliminate this. [I'm running on a brand new MacBook Pro with MAXIMUM memory available]
    The icing on the cake is that I couldn't finay ANY MANUALS for iTunes on the APPLE.COM site and only incredibly rudimentary video tutorials that cover little. I also have the official Apple book on iTunes whih doesn't cover ANY of these topics
    Finally , are there any good alternatives to iTunes as a database and e-jukebox?
    THANKS to ANYONE who took the time to read this FRUSTRATING VERBOSE NOTE.

    1) I COULD NOT FIND ANY WAY to burn songs or play list to ANYTHING other than CDs and I had way more data to transfer than would fit on a CD. Isn't there ANY WAY to copy songs to a flash drive?
    Just find the tracks in iTunes, mount the flash drive, and drag the tracks from the iTunes window to the flash drive. Or find them in the iTunes Music folder and drag them to the flash drive.
    2) I couldn't find a way to select Full Album from the album list. I just wanted to view "Album View" as to choose from artists and pick an ENTIRE album skip a few pick a few more ENTIRE ALBUMS, skip a few, etc. I could not find a way to select an ENTIRE album from the Album List without selecting EACH song INDIVIDUALLY. It IS the ALBUM LIST chy can't you select an entire ALBUM? Am I missing something?
    Turn on the Browser view; View menu -> Show Browser. The you can just click on an artist and then click on the album.
    Why does iTunes break up some albums into a few songs at a time and not others? I can't get them back together unless I select COMPILATION, which it might not necessarily qualify as?
    Make sure that the album titles are exactly the same. Even an extra space will make it a separate album to iTunes.
    The icing on the cake is that I couldn't finay ANY MANUALS for iTunes on the APPLE.COM site and only incredibly rudimentary video tutorials that cover little. I also have the official Apple book on iTunes whih doesn't cover ANY of these topics.
    Tried the iTunes Help? You might also find these helpful:
    Installing iTunes and Getting Started
    The New User's Guide for iTunes
    iTunes 101
    There are also a number of third-party books on iTunes if you want it all on one place precompiled.
    Regards.

  • After downloading a pdf from a website, how can I view the file in Safari 6.0.4 (just as I can in Safari 5.0.6)?  I bet that it's simple, but I've missed something, somewhere, and a solution will be greatly appreciated.

    After downloading a pdf from a website, how can I view the file in Safari 6.0.4 (just as I can in Safari 5.0.6)?  I bet that it's simple, but I've missed something, somewhere, and a solution will be greatly appreciated.

    Hello Kirk,
    Thank's for your efforts, and I just wish that this was the solution.  Unfortunately, it isn't because, after double-clicking on the pdf in the website, it simply "opens" in another Safari window as a black screen - the pdf is there, somewhere, but not visible (either as an icon, or as a document). 
    When I right-click in the black Safari window, where the file is supposed to be, the only option available to display the file is to "Open file in Internet Explorer" (which is not what I want to do).  Other options include saving or printing the pdf, which I don't want until I've confirmed that it's the form that I want.  The same options are offered if I right-click on the file icon in the website.
    Any other suggestions, please?

  • For the love of Jeebus, please tell me I am missing something with PP's janky audio workflow

    OK, I've read the help docs, gone through the tutorials, watched the videos.  Still I am not finding an efficient workflow for dealing with audio in PP.  Let's face it, audio in 5.5 was completely baffling to us newbies jumping ship from FCP 7, and I thought the CS 6 update was going to simplify things.  No dice.  As I am a somewhat recent transplant, I am willing to admit that…. wait, nay, I'm HOPING that I am probably missing something here and that it's just stupid operator error.  Fingers crossed.
    Here's my situation.  I am editing a documentary that has hundreds of hours of footage and thousands upon thousands of clips.  We are working with three different kinds of audio: stereo, mono 1 & 2 (interviews with a lav mic on channel 1 and boom on channel 2) and mono (interview on channel 1 with lav microphone only).  Here's my problems: 
    If I set the audio so that they're all stereo clips
    Then I'm running into problems with the mono 1 & 2 tracks.  Say the boom audio is better on the right channel, and I want to silence the left.  I turn the left channel off.  Then I want the boom audio to be on both channel's equally… well, I can't figure out a way to do that.  In FCP, I would just put the pan to center, and the audio would play the right channel's audio on both channels equally.  With PP, panning does nothing but adjust how much of the boom is heard, as opposed to how much the lav (now silent) is heard.  I can't find a way to pan the boom to the center, so that it is heard equally on both channels.
    If I set the audio so that they're all mono 1 & 2 clips
    Doing this solves the boom/lav problem as listed above, as the mono tracks seem to center pan and play on both channels equally, so simply deleting the lav works well.  However, now if I have a stereo song that I want to keyframe some fades in (say a music bed playing in the background that I want to fade lower when a person starts talking)… now I have to pen tool in keyframes for the left track AND the right track separately, try to get the fades to match on each track, then separately fade the audio back in for each track.  So essentially I've DOUBLED my work  for each of the tracks I've marked this way.
    As a note, I love having found this out the hard way, after editing a 20 minutes interview into bits and pieces scattered across my timeline, and then finding out I should have set the audio to Mono 1 & 2.  Easy enough, I thought, as I went back to the Project window, found the original clip, then went to modify the audio so it would work in my project.  I got the extremely helpful message that "Any changes you have made to the number of clips or the type of those clips will not be reflected in the existing timelines.  Do you want to continue?"  YEAH!  That's super.  You might as well have put "Making this change now will do nothing to help you.  You'll have to go back and edit everything again.  Do you want to continue?"  Great, Adobe, thanks.  Bang up job there.
    I was really happy about not having to transcode in PP like I used to have to do in FCP 7.  That was until I realized how the audio worked, and for the latest scene of this documentary  had to go through every clip/camera download to figure out how the audio had to be set-up before I could start editing.  Transcoding a big job used to take me a day.  Configuring the audio in PP for this one scene took two. 
    I would be the happiest person on the planet to find out that I've been wasting my time and that there is a simple solution for all of this.  Hope someone can point me in the right direction and thanks for any help!

    I'm not suggesting any of this as a model, and your needs are different than mine.
    1) Go to Preferences -> Audio.  Under "Default Audio Tracks", Set "Mono Media: Mono".  Set "Stereo Media: Mono"  (Choices from the pull-down for both are Use File, Mono, Stereo, 5.1, Adaptive)
    You can change these, but I don't. I am using both mono and stereo tracks. I set up a custom sequence with the particular combination of stereo and mono tracks I want.
    2) Set audio for clips by selecting all clips and going to Modify Clip -> Audio Channels Tab.  Under "Number of Audio Tracks" there should be a "1".  Under Channel Format it should read "Stereo".
    I am not sending the audio to anyone else to edit further. I am doing a final stereo mix. If camera one is set up to record 2 mikes as a stereo track, then I leave that unchanged and put it onto a stereo track. If camera two is set up to record one mike onto channel 1 as ambient sound and channel 2 is a mono feed from a sound board, then I modify those clips as Preset Mono, 2 audio tracks, Channel format Mono, and that puts the left source channel (or whichever I choose) onto Audio track 1, channel 1 (of one), and right source channel onto audio track 2, channel 1.
    4) Delete all the existing audio tracks in the sequence and replace them all with mono tracks, so all tracks in the sequence are mono.
    I modify the tracks while creating the sequence, and ultimately use a custom sequence.
    Under my Effects Controls panel there is only Channel Volume, and nowhere to adjust the pan.
    I'm using the mixer, not the effects control panel.

  • Upsert of xmltype from given xpath - missing something obvious?

    Version: 10.2.0.*2* EE
    I am trying to do an upsert (update/ insert ) of an xmltype for a given xpath.
    The xml data is being passed as an xmltype, the xpath is a string (varchar2), the new value is a string, varchar2.
    If the node specified by the xpath exists this is trivial using updatexml; of course if the node doesn't exist nothing happens. I can check for the nodes existence using exists node, but I'm coming unstuck trying to figure out how to insert the node.
    All the APIS I can find that insert XML (APPENDCHILDXML,INSERTXMLBEFORE, INSERTCHILDXML) do not take an xpath but require an xmltype. Which means if I am reading this right I have no choice but to parse the xpath varchar2 string to try and construct an xmltype (ugh!).
    I can't find any API that just takes an xpath as a varchar2 and a value and gives me an xmltype. Ideally I don't even want that, would just like an API that returns the updated XML which has either had the xpath updated (or inserted if it didn't exist) with the new value.
    I am not an XML expert but I am pretty handy with SQL and PL/SQL. To me this just seems incredibly cumbersome just to do something as trivial as an upsert, so I am hoping I am missing something obvious!
    Can soemone please set me straight with a pointer or example?
    To top it all off the XML uses namespaces, but they aren't registered, there is no schema registration going on.

    Marco Gralike wrote:
    Couldn't it be done via XQuery, although the database version doesn't really help...That would be possible with a dynamic XQuery expression, but "painful" with a static expression as it would require parsing the XPath, and rebuilding the entire input document with the required modifications.
    I think XSLT would be more efficient in this case.
    Maybe, one day, when the database has XQuery Update Facility, we will be able to do this :
    copy $a := $doc/Address
    modify (
      if ($a/zip)
        then replace value of node $a/zip with "12345"
        else insert node element zip {"12345"} into $a
    return $a
    user12083137 wrote:To me, from a SQL background, I can't believe this simple case is simply not covered.Maybe not as simple as it seems. :)
    The functionality can be simulated via an IF/THEN/ELSE logic, or a DELETE/INSERT sequence.
    For example :
    case when existsNode(doc, xpath) = 1
      then updateXML(
             doc
           , xpath || '/text()'
           , somevalue
      else appendchildxml(
             doc
           , substr(xpath, 1, instr(xpath, '/', -1)-1)
           , xmlelement(
               evalname(substr(xpath, instr(xpath, '/', -1)+1))
             , somevalue
    endor,
    appendChildXML(
      deleteXML(doc, xpath)
    , substr(xpath, 1, instr(xpath, '/', -1)-1)
    , xmlelement(
        evalname(substr(xpath, instr(xpath, '/', -1)+1))
      , somevalue
    )

Maybe you are looking for

  • I need my program to fail when it encounters a letter in the employee no..

    to whom.. I have this cursor below. I need it to FAIL (as in stop the program its part of) when it encounters an employee number that contains a letter in it. I thought by putting the line ..NOT REGEXP_LIKE(per.employee_number, '[[:alpha:]]').. it mi

  • How to limit numbers of rows in a sortable table

    Hi, I created a table that shows the first 25 of over 200.000 rows. This table is sortable. That means that I cant use the topN function to restrict the total numbers of rows. Is there any chance mabe by using the advanced tab to limit the rows. Rega

  • Lenovo R61 Windows XP Freezing

    Hello! I have original recovery cd of Windows XP for lenovo R61/T61 models. I currently have Lenovo R61 type 8933-A32 model. It install fine, but after that in starts randomly freezing: - In bios I choose compatibility mode not AHCI, due to fact that

  • X1 Carbon left touchpad = Windows 8.1 Start Screen

    Hi all, I just upgraded my X1C to Windows 8.1 Pro (64bit) and am having a funky problem with my touchpad. Any time I depress the left button (as you know, there is no defined button, rather the bottom left portion of the 1-piece pad) it brings up my

  • Trouble accessing the most basic JRE functions?!!!

    I'm in my 1st semester for Java programming, I've just downloaded the latest SDK to Windows XP, & everything appears to be fine. (the dancing bird etc) But I cannot locate the Text Pad in order to run the most basic Java commands to test my compiler.