The browser attemps to download my servlet when I try to access it

Please help:
I have a servlet that I'm trying to submit form parameters to but the browser attemps to download the servlet as a file instead of processing the request.
Here is my servlet mapping:
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
Here is my servlet name and class:
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>ActionServlet</servlet-class>
</servlet>
Thank you

Guys here is the ActionServlet service method:
********** ActionServlet ************************************************************************/
public void service(HttpServletRequest req,
HttpServletResponse res)
throws IOException,
ServletException {
String actionClass = this.getActionClass(req);
Action action = null;
try{
action = factory.getAction(actionClass,
getClass().getClassLoader());
ActionRouter router = action.perform(this, req, res);
synchronized(router){
router.route(this, req, res);
catch(ClassNotFoundException cnf){
cnf.printStackTrace();
System.out.println("Unable to find Action class");
catch(com.evermind.server.http.HttpIOException bad) {         
System.out.println("In com.evermind.server.http.HttpIOException");
getServletContext().log(bad.toString());
bad.printStackTrace();
catch(Exception bad1){
bad1.printStackTrace();
********************************* End of ActionServlet ****************************************************/
******************************** Begin web.xml **********************************************************/
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<description>Empty web.xml file for Web Application</description>
<servlet>
<servlet-name>ordDeliverMedia</servlet-name>
<servlet-class>oracle.ord.html.OrdPlayMediaServlet</servlet-class>
<init-param>
<param-name>releaseMode</param-name>
<param-value>Stateful</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>CT.actions.ActionServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>secondaction</servlet-name>
<servlet-class>TestController</servlet-class>
</servlet>
<servlet>
<servlet-name>Test3</servlet-name>
<servlet-class>Servlet1</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ordDeliverMedia</servlet-name>
<url-pattern>/ordDeliverMedia</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>secondaction</servlet-name>
<url-pattern>test</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>130</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<taglib>
<taglib-uri>/webapp/DataTags.tld</taglib-uri>
<taglib-location>/WEB-INF/lib/datatags.jar</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://xmlns.oracle.com/uix/ui</taglib-uri>
<taglib-location>/WEB-INF/lib/uix2tags.jar</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://xmlns.oracle.com/uix/ui/bc4j</taglib-uri>
<taglib-location>/WEB-INF/lib/bc4juixtags.jar</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/sqltaglib.tld</taglib-uri>
<taglib-location>/WEB-INF/lib/sqltaglib.jar</taglib-location>
</taglib>
</web-app>
/***************************** End of web.xml ****************************************************/
Also, here is the url to access the servlet
http://mycompany.com/ct/login-action.do
Regards

Similar Messages

  • I have just downloaded firefox but when I try to access the internet it comes up with the message "firefox could not download the search plugin from ...

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    I have just downloaded firefox but when I try to access the internet it comes up with the message "firefox could not download the search plugin from: http://toolbar.inbox.com?search_plugin_firefosx.aspx.tbid=801398language=en" Can you help please
    == User Agent
    ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; YPC 3.2.0; FunWebProducts; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 1.1.4322)

    Uninstall the Inbox Toolbar, following steps here:
    http://toolbar.inbox.com/faq.aspx?faqid=2876&faqmod=WST_Install#1
    Then retry opening Firefox.
    You can also try opening Firefox in [[Safe Mode]] (use Continue in Safe Mode first).
    If that works, reopen Firefox Safe Mode, but use the dialog option to '''Restore default search engines''' as shown at https://support.mozilla.com/en-US/kb/Safe+Mode#Safe_Mode_window and press the '''Make changes and restart''' button.

  • HT1926 I went to download the "new" version of I tunes 11.14 (Ibelieve), it did not finish the download and now when I try to access my account. I get Runtime error. I now am missing almost 2800 songs. What gives? And is the repair?

    What does Apple plan to do about the runtime DLL error your
    download has created?

    Hi Fmconnc,
    Thanks for using Apple Support Communities.  This article has steps you can take for the error you're seeing:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Cheers,
    - Ari

  • TS3276 When I try and access my sent items- mail quits due to an error? How do I resolve this?

    Just last eek, the mail started generating an error message, when I try to access my sent items folder. I can receive and send emails but for reference of items that I have sent, I cannot access them as it says that 'mail quit unexpectedly'. Please can someone offer any advice- It doesn't give a specific code either? The message is as follows... (and more)... It says that the report will be sent to Apple but then what?...
    Process:         Mail [2137]
    Path:            /Applications/Mail.app/Contents/MacOS/Mail
    Identifier:      com.apple.mail
    Version:         4.5 (1084)
    Build Info:      Mail-10840000~1
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [1889]
    Date/Time:       2012-05-14 12:08:26.211 +0100
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          150366 sec
    Crashes Since Last Report:           10
    Per-App Interval Since Last Report:  141708 sec
    Per-App Crashes Since Last Report:   10
    Anonymous UUID:                      71421F5A-9DD0-467B-92C6-3C58F25777E8
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Crashed Thread:  14
    Application Specific Information:
    -[MessageContentController _fetchContentsForMessage:fromStore:withViewingState:]
    abort() called
    *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ABGroup nts_CustomImageData]: unrecognized selector sent to instance 0x114c46ad0'
    *** Call stack at first throw:
              0   CoreFoundation                      0x00007fff83d93784 __exceptionPreprocess + 180
              1   libobjc.A.dylib                     0x00007fff8a144f03 objc_exception_throw + 45
              2   CoreFoundation                      0x00007fff83ded110 +[NSObject(NSObject) doesNotRecognizeSelector:] + 0
              3   CoreFoundation                      0x00007fff83d658ef ___forwarding___ + 751
              4   CoreFoundation                      0x00007fff83d61a38 _CF_forwarding_prep_0 + 232
              5   AddressBook                         0x00007fff84bf08d7 -[ABRemoteImageLoader workLoop] + 1548
              6   Foundation                          0x00007fff823de114 __NSThread__main__ + 1429
              7   libSystem.B.dylib                   0x00007fff888e3fd6 _pthread_start + 331
              8   libSystem.B.dylib                   0x00007fff888e3e89 thread_start + 13

    Try rebuilding the mailbox.
    To do that
    1) Launch Mail,
    2) Select the account
    3) In the Mailbox menu, select Rebuild.

  • I can download firefox, but when I try to run it, windows 7 asks me to select a program type to run the *.exe file

    I am running windows 7 with IE 10. I want to switch to Firefox as my browser. I am able to download the Firefox Setup 22 0 exe, but when I try to open or run it, windows prompts me to "choose the program you want to use to open this file". This happens with both the Firefox Setup Stub 22 0 exe (274kb) and the Firefox Setup 22 0 exec (21,239Kb). I can't find any program on Windows to run this exe. Same thing happens when I try to run the troubleshooter exe.

    Hello annsboland
    Do you have also problem with others exe files ?
    try to create a new user account in Windows 7 and check it again
    see if the next articles in the links helps to create the new account:
    http://www.bleepingcomputer.com/tutorials/create-new-user-account-in-windows-vista-7/
    http://www.pcadvisor.co.uk/how-to/windows/3326039/how-add-new-user-account-in-windows-7/
    thank you

  • I recently bought a new computer and downloaded itunes but when i try to sync it, someone else's apple i.d. shows up and i don't know the password.  I try to authorize my computer but it still won't let me

    I recently bought a new computer and downloaded itunes onto it.  When i sync my ipod it prompts me to authorize my computer
    with the purchases that i've made, but when i try to do so, my apple i.d. is not what shows up and so my ipod won't sync any of my songs or apps.  I have no idea who's username i'm seeing and i've never seen it before.  That's the only thing that is stopping my ipod to sync, a password that isn't mine!! I am beyond frustrated and don't know what else to do, if someone can please help me i would be so appreciative you have no idea.  Thank you so much

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 &amp; above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • I cant seem to open some photos on Iphoto. I downloaded like 3 months ago from my phone into the iphoto. I could access ALL of my photos back then but when I try and access them now I cant seem to open the file

    I cant seem to open some photos on Iphoto. I downloaded like 3 months ago from my phone into the iphoto. I could access ALL of my photos back then but when I try and access them now I cant seem to open the file. When i open iphoto and open the folder thats on it, i can see ALL the photos that are there but when I click on different ones some appear in the larger screen but A LOT of them dont appear. Iphoto seems to have erased the file or I dont know.
    Also I tried clicking on the photo that doesnt appear and making it "Reveal it on finder" - "original file" and it says 'The operation can’t be completed because the item can’t be found.".
    I really want those photos because they involve a really special family vacation, please help me find those photos

    A LOT of them dont appear.
    What do you see in the window when you click on those?  A blank, black window?  An exclamation mark?  What?

  • When I try to access iTunes I get 'The file "iTunes Library.itl" cannot be read because it was created by a newer version of iTunes.' But when I try to download iTunes I get error (-42408)...help please.

    When I try to access iTunes I get 'The file "iTunes Library.itl" cannot be read because it was created by a newer version of iTunes. Would you like to download iTunes now?'' But when I try to down load I get "unknown error occurred (-42408)". Don't know what to do next and I can't get into my iTunes library. (I have an iMac, OS10.6.8.)

    Did you uninstall iTunes 11 and replace it with iTunes 10.7? If so, you'll need to go through a few steps to put things right:
    Rename "iTunes Library.itl" to some other name;
    Copy newst ITL file from the "Previous iTunes Libraries" folder into your main iTunes folder and rename it to "iTunes Library.itl";
    Download iTunes 10.7: http://appldnld.apple.com/iTunes10/041-7195.20120912.d3uzQ/iTunes10.7.dmg
    Download/install shareware app called Pacifist;
    Open Pacifist and, separately, mount iTunes DMG file -- drag iTunes PKG file into Pacifist and install iTunes via the Pacifist application -- be sure to answer yes to replacing everything Pacifist asks about;
    Enjoy iTunes 10.7.
    Cheers,
    trane

  • Im trying to uninstall itunes because the newest version wont download.  But when i go to uninstall, it says "The system administrator has set policies to prevent this uninstallation"  Whats can i do to uninstall

    Im trying to uninstall itunes because the newest version wont download.  But when i go to uninstall, it says "The system administrator has set policies to prevent this uninstallation"  Whats can i do to uninstall

    Windows right?
    Likely your not the administor any more, the botnet is.
    Check on this site really quick if your part of a botnet
    http://botnetchecker.com/
    All clear? Hopefully. Backup your files to a external drive, cd or dvd, USB keye etc off your computer.
    Run the sfx file on this site and it will burn to a cd.
    http://www.avira.com/en/support-download-avira-antivir-rescue-system
    Next hit your BIO's key and set the cd to boot first, run the scanner and see what it pops up.
    If your all clear then create another Admin, transfer your files over from the first Admin.
    See if that works, eventually when your totally over to the new Admin, delete the old one.
    If you can't create a new Admin, find out who locked your machine down, like your parents or it's a school computer?
    Likely installed spyware or "nanyware" to watch you.
    Hope that works.

  • I can't edit my donwloads.  The organizer photos have an orange icon at the top left corner and the find offline volumem - edit pops up when I try to edit the pictures.  Also, the downloaded pictures don't show up in "My Pictures" document.

    I can't edit my donwloads.  The organizer photos have an orange icon at the top left corner and the find offline volumem - edit pops up when I try to edit the pictures.  Also, the downloaded pictures don't show up in "My Pictures" document.  How can I fix this problem

    Did you recently reconfigure the drives attached to your computer or move to another computer?
    To help with troubleshooting this, download and run the utility psedbtool:
    http://www.johnrellis.com/psedbtool/#_Downloading,_Installing,_and
    Copy and paste the output here (using the Web, not email).

  • Pls have been having issues upgrading to the os 10.9. downloads encounter error when it gets to 955mb and starts over again-.suggestions pls?

    pls have been having issues upgrading to the os 10.9. downloads encounter error when it gets to 955mb and starts over again….suggestions pls?

    http://www.apple.com/support/mac/app-store/contact/

  • HT5714 hi my name is grace i have pre ordered now 85 when you couldn't download it directly now when you can download it and when i try to download it on every song it says purchased but when i look at my purchased song the album isn't  there what can i d

    hi my name is grace i have pre ordered now 85 when you couldn't download it directly now when you can download it and when i try to download it on every song it says purchased but when i look at my purchased song the album isn't  there what can i do

    Contact iTunes support. Only they can fix this.

  • When i use the mail on my i phone and outlook simultaneousaly, the outlook does not download emails and says "account already being accessed", i want both to work together, please help.

    when i use the mail on my i phone and outlook simultaneousaly, the outlook does not download emails and says "account already being accessed", i want both to work together, please help.

    This is the ipod touch forum

  • I purchased "welcome to the fishbowl" by Kenny Chesney on Itunes, when I try to make a back up disk the songs dont make the title of the song.  I even deleted it and downloaded it again, same thing. please help

    I purchased "Welcome to the fishbowl" by Kenny Chesney on Itunes, when I try to burn it to disk to back it up the song titles dont match the actual song on the burnt copy.

    NEVER MIND!!! I  wastrying something to see if anything would happen and supriseingly it worked! sence it was for some reason related to the brght ness i wnt to setings and temporaraly turned on auto-brightness went to the lock screen and it looked like normak with out haveing to open the control panal and ajust it manualy, i unlocked it, locked it again and it still workded, went back to setting, turned off auto-brightness, back to the lock screen and the hole problom seemed to be solved. weird... but nunthe less! it works.

  • Keep getting "There was an error downloading this product" when I try to download updates to Adobe Photoshop CS5?

    Keep getting "There was an error downloading this product" when I try to download updates to Adobe Photoshop CS5? Uninstalled and re-installed program but still won't download updates? I have a Mac Book OS X Version 10.9.5.

    If you're trying to update through the Help menu > Updates, you should know that the Adobe auto updater in CS5 and earlier versions is an unmitigated, monumental piece of cr@p. It Is totally unreliably and fails in one or another of a great variety of ways.
    Adobe began to get their act together as of CS6, with which I'm staying for exactly the same reason you are staying with CS5.
    One has to update manually, by looking for, downloading and applying any and all applicable updates, including the Adobe Camera Raw plug-in which comes separately.
    If the latter is what you've been doing, you need to let us know where you are trying to download the update from, what browser you are using to attempt to effect the download, and what platform you are in.
    You also need to disable any and all virus protection, and make sure you are not behind any active software or hardware Fire Wall.
    This is the URL for Photoshop Macintosh updates:
    Adobe - Photoshop : For Macintosh
    and for Windows:
    Adobe - Photoshop : For Windows
    Next time, please be substantially more informative, rather than plaintive or narrative (see next post).  You are not addressing Adobe here.
    Thank you.

Maybe you are looking for

  • Can't install Snow Leopard on MBP

    Hi Community! Struggling with installing SL on my old MBP. I have family license and have installed SL on my iMac, no problem. I am now trying to install on my MBP. Initially the install disk loaded fine and but I didn't have enough memory. I did som

  • USB Drive thinks it's a network drive in Virtual PC

    For some reason my brain damaged USB HD, which is formatted under Windows and which I use as a 'mule' to move files to and from my office PC and my home Powerbook, thinks it's a "Network drive" when I boot up Virtual PC. Hence, it can't be reformatte

  • Err -36 on download?  Support express lane broken.

    On a recent iTunes Store download the progess got to essentially 100% (as far as I can see), but then "err -36" popped up. Everytime I restart this download, it seems to keep the existing download data and ends up with the same error after a pause. T

  • I'm having problems registering my CS5...

    My friend recently updated to Adobe Creative Suite 6 and decided to give me his old CS5 discs and serial code. When I tried to run them on my computer they installed but none of the issued serial codes would work. When I went online it said that it w

  • Final Cut Pro 6 by Diana Weynard: Format too New FOR THIS VERSION OF APP?

    I purchased the book book Final Cut Pro 6 by Diana Weynard and it is a basics book overview of FCP However it comes with CD and I have downloaded the CD to my hard drive and when i open the files in FINAL CUT PRO 6 it says: FILES FORMAT IS TOO NEW FO