Problem whit http servlet!!

How I can start my bundle from browser?
I have installed ans started jes
I have installed ans started all bundle whit command line in MS-DOS window , but I do not Know
what I have to type in the bar-address of my browser to start the service.
I Know only
http://localhost:8080/ ....and than??...
Help me!

I'm also newbie of servlet.
1st: what do you have installed? You need a server to run servlet as Tomcat (you can get it for free from http://jakarta.apache.org) and J2SE installed in your PC
2nd: after you have installed the package above, just open your browser and write this url http://localhost:8080. If everything work right, you will see tomcat welcome page.

Similar Messages

  • Problems with Http-servlet : UTF-8

    I am having some difficulty with UTF-8 encoded
    chracaters in a Java servlet.
    My servlet accepts an XML file conteining a question and returns an HTM page. The XML has cyrillic characters encoded as utf-8.. The rendering
    servelt copes with this fine, and the HTML produced
    displays OK in the browser (the response type on the
    Java servelet has to be set to "text/html;
    charset=UTF-8" for this to work).
    I have to send cyrillic characters back in the
    response to the question in a text field in the HTML form.The browser is
    correctly sending back the byte stream (which I am
    printing here as hex): d0b3d0bed180d0bed0b4 (this is a
    cyrillic word correctly coded as utf-8).
    However, on collecting the response (using
    request.getParameterValues(fieldname)) the servlet
    returns the byte stream: d0b3d0bed13fd0bed0b4.
    A mistake in the fifth byte.
    Can anyone help with this problem? Is there a known problem with the JAVA UTF-8 converter?
    Regards
    Graham

    I now know the answer to this problem thanks to Bruno Van Haetsdaele .
    Before calling request.getParameterValues(fieldname));
    one should call request.setCharacterEncoding("UTF-8");
    Hope that helps somebody else!

  • Problem in Download Servlet (Urgent)

    Hai
    i am using an servlet to download files.
    i am facing an problem with that servlet.While downloading, at times it strucks at 290k or 330k.
    Note : Acually i am calling this servlet from a popup window.The popup window closes automatically after one minute irrescpective of the download progress.At times i noticed that the download strucks while the popup closes, whether is causes the problem of strucking.
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Download extends HttpServlet {
    HttpSession session =null;
    File F;
    BufferedInputStream fif;
    ServletOutputStream stream;
    public void init(){
    F=null;
    fif=null;
    stream =null;
    public void doGet(HttpServletRequest request ,HttpServletResponse response) {
    try{
         // Setting Buffer size
    response.setBufferSize(50000);
                   // Setting Content Type
    response.setContentType("application/x-filler");
    int buffersize;
    String cfile="";
    boolean flag=false;
    session = request.getSession(true);
                   //Receiving variables
    String fileName= request.getParameter("filename");
    String filePath = request.getParameter("filepath");
    String downloadFile = filePath + fileName;
    F=new File(downloadFile);
    String download_date = "sysdate";
    String file=F.getName();
    buffersize=(int)F.length();
    byte b[]=new byte[buffersize];
         //Servet output stream to download file
    stream = response.getOutputStream();
    response.setHeader("Content-Disposition", "attachment; filename=\"" + file + "\";");
    int data;
    fif = new BufferedInputStream(new FileInputStream(F));
    //writing data to output stream
    while((data = fif.read()) != -1) {
    stream.write(data);
                   //closing objects
    fif.close();
    stream.close();
    F.delete();
    }catch(java.net.SocketException se){
    System.out.println("SocketException " +se);
    catch(IOException io){
    System.out.println("IOException " + io);
    catch(Exception e){
    System.out.println("Exception " +e);      
    }

    I guess your closing of the window is your problem. Your servlet looks just fine to me.
    Try calling this servlet from a browser and see if it still stops..

  • Urgent problem in connecting servlet and oracle

    Hi
    I have problem in connecting servlet with oracle.Kindly let me know what all the classes i should include in classpath to get connected.Where will i find the oracle driver.Kindly help me to do this.
    With regrds
    Vaiju

    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html
    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/index.html
    http://download-west.oracle.com/docs/cd/B10501_01/java.920/a96654/toc.htm
    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jdbc/index.html

  • I have a big problem whit my mac pro early 2008 can u help me please.

    Hi my name is walter hernandez  i have a big problem whit my mac pro early 2008
    this is a message from my mac.
    Interval Since Last Panic Report:  1151724 sec
    Panics Since Last Report:          3
    Anonymous UUID:                    ECF28484-9BA1-43C5-B7CF-70087794A780
    Fri Aug 24 09:00:27 2012
    panic(cpu 0 caller 0x2abf6a): Kernel trap at 0x00279ece, type 14=page fault, registers:
    CR0: 0x80010033, CR2: 0xff000014, CR3: 0x522e2000, CR4: 0x00000660
    EAX: 0x0bccc43c, EBX: 0xff000000, ECX: 0x08eb8b7c, EDX: 0x0330c3e8
    CR2: 0xff000014, EBP: 0x6115bde8, ESI: 0x001fb000, EDI: 0x00000000
    EFL: 0x00010286, EIP: 0x00279ece, CS:  0x00000008, DS:  0x03350010
    Error code: 0x00000000
    Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)
    0x6115bbd8 : 0x21b837 (0x5dd7fc 0x6115bc0c 0x223ce1 0x0)
    0x6115bc28 : 0x2abf6a (0x59e3d0 0x279ece 0xe 0x59e59a)
    0x6115bd08 : 0x2a1a78 (0x6115bd20 0x1 0x6115bde8 0x279ece)
    0x6115bd18 : 0x279ece (0xe 0x2c970048 0x61150010 0x10)
    0x6115bde8 : 0x258575 (0xbccc43c 0x1fb000 0x0 0x1)
    0x6115bf38 : 0x2ab83c (0x8c35ebc 0x709fb000 0x7fff 0x1)
    0x6115bfc8 : 0x2a18da (0x85a04c4 0x0 0x10 0x85a04c4)
    BSD process name corresponding to current thread: automount
    Mac OS version:
    10K549
    Kernel version:
    Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386
    System model name: MacPro3,1 (Mac-F42C88C8)
    System uptime in nanoseconds: 1217906594287
    unloaded kexts:
    com.apple.driver.AppleFileSystemDriver          2.0 (addr 0xd71000, size 0x12288) - last unloaded 473939257675
    loaded kexts:
    com.Bella-USA.DVKeyboard.driver          3.2
    at.obdev.nke.LittleSnitch          2.5.1
    com.apple.filesystems.autofs          2.1.0 - last loaded 390587246978
    com.apple.driver.IOBluetoothBNEPDriver          2.4.5f3
    com.apple.driver.AppleHWSensor          1.9.3d0
    com.apple.driver.AppleUpstreamUserClient          3.5.7
    com.apple.driver.AppleMCCSControl          1.0.20
    com.apple.driver.AppleHDA          2.0.5f14
    com.apple.kext.ATIFramebuffer          6.3.6
    com.apple.driver.AudioAUUC          1.57
    com.apple.ATIRadeonX2000          6.3.6
    com.apple.driver.AppleUSBDisplays          289
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AudioIPCDriver          1.1.6
    com.apple.driver.AppleIntelPenrynProfile          17
    com.apple.driver.AppleMCEDriver          1.1.9
    com.apple.driver.ACPI_SMC_PlatformPlugin          4.7.0a1
    com.apple.driver.AppleLPC          1.5.1
    com.apple.iokit.SCSITaskUserClient          2.6.8
    com.apple.driver.AppleRAID          4.0.6
    com.apple.BootCache          31.1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.iokit.IOAHCIBlockStorage          1.6.4
    com.apple.driver.AppleIntel8254XEthernet          2.1.3b1
    com.apple.driver.AppleFWOHCI          4.7.3
    com.apple.driver.AppleUSBHub          4.2.4
    com.apple.driver.AppleAHCIPort          2.1.7
    com.apple.driver.AppleIntelPIIXATA          2.5.1
    com.apple.driver.AppleEFINVRAM          1.4.0
    com.apple.driver.AppleUSBEHCI          4.2.4
    com.apple.driver.AppleUSBUHCI          4.2.0
    com.apple.driver.AppleACPIButtons          1.3.6
    com.apple.driver.AppleRTC          1.3.1
    com.apple.driver.AppleHPET          1.5
    com.apple.driver.AppleSMBIOS          1.7
    com.apple.driver.AppleACPIEC          1.3.6
    com.apple.driver.AppleAPIC          1.4
    com.apple.driver.AppleIntelCPUPowerManagementClient          142.6.0
    com.apple.security.sandbox          1
    com.apple.security.quarantine          0
    com.apple.nke.applicationfirewall          2.1.14
    com.apple.driver.AppleIntelCPUPowerManagement          142.6.0
    com.apple.driver.AppleProfileReadCounterAction          17
    com.apple.driver.DspFuncLib          2.0.5f14
    com.apple.driver.AppleProfileTimestampAction          10
    com.apple.driver.AppleProfileThreadInfoAction          14
    com.apple.driver.AppleProfileRegisterStateAction          10
    com.apple.driver.AppleProfileKEventAction          10
    com.apple.driver.AppleProfileCallstackAction          20
    com.apple.iokit.IONDRVSupport          2.2.1
    com.apple.kext.ATI2600Controller          6.3.6
    com.apple.kext.ATISupport          6.3.6
    com.apple.iokit.IOFireWireIP          2.0.3
    com.apple.iokit.IOSurface          74.2
    com.apple.iokit.IOBluetoothSerialManager          2.4.5f3
    com.apple.iokit.IOSerialFamily          10.0.3
    com.apple.iokit.IOAudioFamily          1.8.3fc2
    com.apple.kext.OSvKernDSPLib          1.3
    com.apple.iokit.AppleProfileFamily          41
    com.apple.driver.AppleSMC          3.1.0d5
    com.apple.driver.IOPlatformPluginFamily          4.7.0a1
    com.apple.driver.AppleHDAController          2.0.5f14
    com.apple.iokit.IOGraphicsFamily          2.2.1
    com.apple.iokit.IOHDAFamily          2.0.5f14
    com.apple.driver.CSRUSBBluetoothHCIController          2.4.5f3
    com.apple.driver.AppleUSBBluetoothHCIController          2.4.5f3
    com.apple.iokit.IOBluetoothFamily          2.4.5f3
    com.apple.driver.AppleUSBHIDMouse          162
    com.apple.iokit.IOUSBHIDDriver          4.2.0
    com.apple.driver.AppleHIDMouse          162
    com.apple.driver.AppleUSBComposite          3.9.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          2.6.8
    com.apple.iokit.IOBDStorageFamily          1.6
    com.apple.iokit.IODVDStorageFamily          1.6
    com.apple.iokit.IOCDStorageFamily          1.6.1
    com.apple.driver.XsanFilter          402.1
    com.apple.iokit.IOATAPIProtocolTransport          2.5.1
    com.apple.iokit.IOSCSIArchitectureModelFamily          2.6.8
    com.apple.iokit.IONetworkingFamily          1.10
    com.apple.iokit.IOFireWireFamily          4.2.6
    com.apple.iokit.IOUSBUserClient          4.2.4
    com.apple.iokit.IOAHCIFamily          2.0.6
    com.apple.iokit.IOATAFamily          2.5.1
    com.apple.iokit.IOUSBFamily          4.2.4
    com.apple.driver.AppleEFIRuntime          1.4.0
    com.apple.iokit.IOHIDFamily          1.6.6
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          6
    com.apple.driver.DiskImages          289.1
    com.apple.iokit.IOStorageFamily          1.6.3
    com.apple.driver.AppleACPIPlatform          1.3.6
    com.apple.iokit.IOPCIFamily          2.6.5
    com.apple.iokit.IOACPIFamily          1.3.0
    Model: MacPro3,1, BootROM MP31.006C.B05, 8 processors, Quad-Core Intel Xeon, 3 GHz, 4 GB, SMC 1.25f4
    Graphics: ATI Radeon HD 2600 XT, ATI Radeon HD 2600, PCIe, 256 MB
    Memory Module: global_name
    Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 0 incoming serial ports
    Network Service: Ethernet 2, Ethernet, en1
    PCI Card: ATI Radeon HD 2600, sppci_displaycontroller, Slot-1
    Serial ATA Device: ST3320820AS_P, 298.09 GB
    Serial ATA Device: WDC WD5000AAKS-00A7B0, 465.76 GB
    Serial ATA Device: WDC WD5000AAKS-00A7B0, 465.76 GB
    Serial ATA Device: WDC WD5000AAKS-00D2B0, 465.76 GB
    Parallel ATA Device: OPTIARC DVD RW AD-7170A
    USB Device: Hub, 0x05ac  (Apple Inc.), 0x911c, 0xfd400000 / 3
    USB Device: Apple Cinema HD Display, 0x05ac  (Apple Inc.), 0x921c, 0xfd420000 / 6
    USB Device: Hub, 0x0424  (SMSC), 0x2503, 0xfd300000 / 2
    USB Device: KEYBOARD, 0x4320, 0x0302, 0xfd330000 / 5
    USB Device: Apple Optical USB Mouse, 0x05ac  (Apple Inc.), 0x0304, 0xfd310000 / 4
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8206, 0x5d200000 / 2
    FireWire Device: built-in_hub, Up to 800 Mb/sec
    FireWire Device: unknown_device, Unknown

    That's a Kernal Panic. Look at this Apple Article: http://support.apple.com/kb/TS3742

  • Problems whit Instant messaging 8.2 and SSL

    Im trying to configure a instant messaging 8.2 whit ssl but when I restart the IM the mux start whitout ssl
    I dont have idea what is the problem whit the configuration and I dont know if Instant messaging 8.2 support ssl
    I use the same cert database that I used for the application server and smtp
    Can I configure ssl only for the Mux and not for the server?
    this is the configuration in the iim.conf for the mux
    iim_mux.usessl=on
    iim_mux.secconfigdir=/opt/sun/comms/im/config (I also tried this parameter whit the value /etc/opt/SUNWiim/default/config but it not work)
    !iim_mux.keydbprefix=https-example.com-www-
    !iim_mux.certdbprefix=https-example.com-www-
    iim_mux.secmodfile=secmod.db
    iim_mux.certnickname=portal.example.com
    iim_mux.keystorepasswordfile=/opt/sun/comms/im/config/sslpassword.conf (I also tried whit the value "sslpassword.conf" )
    Edited by: user9979971 on Jun 30, 2011 9:32 AM

    Instant Messaging 7.3+ no longer supports SSL through the Multiplexor using NSS-based certificates,however you can now migrate the existing certificates from NSS store to JKS using the migratecert utility migratecert.Alternatively you can enable TLS on server which provides end to end encryption
    HTH,
    Swetha

  • HTTPS Servlet requests

              After installing service pack 9 from WL5.1, HTTPS servlet requests result in the
              browser returning a server error. Issue 41888 of sp9 seems to address this. We
              were previously running service pack 6 and didn't experience this problem. Any
              ideas?
              

    Have you installed SP9 properly?
              I just tried accessing example servlets on Https protocol and i don't see any
              errors.
              Could you tell us what problems you are facing? Any test case?
              Kumar
              Darren Collins wrote:
              > After installing service pack 9 from WL5.1, HTTPS servlet requests result in the
              > browser returning a server error. Issue 41888 of sp9 seems to address this. We
              > were previously running service pack 6 and didn't experience this problem. Any
              > ideas?
              

  • Hi, in my asus memo pad hd 7 i have some problems whit the videos, they run but whit many stripes in image

    hi, in my asus memo pad hd 7 i have some problems whit the videos, they run but whit many stripes in image.
    what can a i do?
    the firefox is apdated.
    thank you

    Thank you for the update, the fix will be in the release version of Firefox on 2015-02-24.
    In the mean time if you want to continue using Firefox beta our Sync service may be helpful getting your Firefox release data into Firefox beta. https://support.mozilla.org/en-US/kb/how-do-i-set-up-firefox-sync

  • Problem whit ipod

    hi i have problem whit my ipod i cant restor this is what is says http://img237.imageshack.us/img237/8793/untitledjf0.jpg

    See: Error 1415/1417/1418/1428 when restoring any iPod using iTunes 7 or later.
    Error 50/1418 when syncing iPod with Windows XP.

  • Problem whit Ipod Touch.

    Hey, i have a big big big problem whit my ipod touch, now 3 months i wanted to upgrade the software,im not sure what version, everything was okay,but after few min the screen from my ipod touch turned to "connect to itunes" well i was like..its all good. i waited 10-15 min..it was still frozed whit that screen. i restarted.nothing..and nothing . and its been almost 3 months. and now my pc dosent even reconize it. how can i fix it? i didnt even droped it,or something like that,please if you could help.

    Try the steps in [iPod not recognized in 'My Computer' and in iTunes for Windows|http://support.apple.com/kb/ts1369].
    Hope that solves the problem - let us know!

  • Problem whit Latest drivers 335.23 Nvidia on GT70ne Dragon Edition

    hello, my name is Ramon,
    I have a laptop MSI GT70ne Dragon Edition with a graphics card GTX680m.
    i'have a problem whit de latest drivers.
    with the latest 335.23 drivers, games are freezing (f1-2013,Grid2, COD ghosts, Battlefield 4),is as if it move slow
    if I were to install the 331.40 Beta drivers, it works correctly.
    any subsequent driver to 331.40 does not work well on my computer
    any idea what it may be?
    some parameter to change?
    update the firmware of laptop or GPU?
    thanks in advance.

    hello,
    I have tried to uninstall the Gforce xperience and the problem persist.
    I think my installation is clean. the drivers installer has a "correct installation" option. This removes old dirvers installation, restart the computer and install the new drivers.
    how could make a cleaner installation?
    I have tried the following drivers from MSI and not working properly
    http://es.msi.com/product/nb/GT70_0N...Driver&os=Win8 64
    with 331.40 beta drivers working properly.
    people to work correctly 335.23, with the games that prove?
    in f12013 noticeable only when starting the game. There is an F1 car rotating, the 331.40 working fluid with the following drivers will rotate with the stoppages. in the gameplay round curves with many graphics also has those stoppages or redraws
    any ideas?
    thank in advance

  • Haveing problems with Safari. It gives me an error message. Safari can't open the web page, because it can't establish a secure connection to the server. It only seams to have a problem on https sites. Any help would be apreciated.

    Safari keeps giving  and error message. " Safari can't open the web page( insert web page here) , because it can't establish a secure connetion to the server.
    It only seams to have a problem with https sites.
    Any help would be appreciated

    The "s" in "https" indicates the site is a secure server--usually a site that will require a password.  Connections to secure servers can be blocked by parental controls.  Are you using any parental controls, either through OSX's settings (in System Preferences) or third party parental control software (such as Netnanny)?  If so, check the settings to make sure they will allow the connection.

  • Cr52-A2 problem whit the new firmware(1.80D)

    hello all
    i having a problem whit my cd-rw
    maybe one of you guys can help me cuse i'm breaking my had hear  
    i flashed the firmware from 1.60D to 1.80D
    and my cd-rw stop working  
     the chiki boaster doesn't want me to open him also
     i want the old version  
    give me back my 1.60D
    p.s.
    maybe ther's a way to reset the cd-rw
    ha  
    what are you fox thinking

    Hi
    There is a note at the bottom of the page:
    Note: You should not update your firmware unless you have
    have flash experience with your optical drive.
    But, I will try to download firmware from my girlsfriend's drive. That is the same type. And think that is 160D.
    Tsibi

  • Problem whit ora-12637!

    Hi, I have a problem whit this error code when I execute my form from Forms Builder. Im using Forms 6i. First, i open my form, then i connect to compile, and execute my form, but when the system open the forms runtime i get this error code.
    In SQL Developer i connect whitout any problem, and whit forms 6i too, Why not whit Forms Runtime???
    Regards!!

    Unfortunitely, that doesn't help.
    To anyone reading this thread, "6i", "10g", "11i", "12i"" are all product marketing references. They do not represent a product version. Knowing the exact product version is very important when trying to troubleshoot a problem. In this case for example, telling us that you are using a 10g db could potentially mean that you are using one many different releases (i.e. 10.1.x, 10.2.x). And of course, this does not take in to account any patches which may have been applied.
    All I can offer is this, Forms 6.0.8.x is not certified or supported for use with 10.2.x databases. However, with Forms 6.0.8.25 or newer you can use 10.1.x databases.
    I would recommend that you start with this information. If this doesn't help, please consider responding to the remaining questions in my previous posting.

  • Problem whit audiobooks.

    Problem whit audiobooks. when im putting in audiobooks in Itunes the hole contents dosent apper in Itunes just a few files. say that is arund 24 files just 10 appers in Itunes whats wrong?

    I, too had this problem and spent a lot of time with AppleCare.  After having me take my phone back to factory presets and finding no improvement to my audio files, the solution turned out to be quite simple:  customer service re-loaded my iTunes audiobook purchases so the files were up to date.  Just wish they'd come up with this solution before I had to completely reconfigure my phone.......

Maybe you are looking for

  • My page design looks different in browser

    My website is table based using css styles for the text designed in dreamweaver mx 2004. On one page I have very simple a table with 2 columns, there is text in one and my logo in the other. Both cols are set for content to be vertically aligned to t

  • Wireless Degradation with iOS 5?

    I have 5 devices that were upgraded successfully to iOS 5, but I appear to be getting some degraded performance on three devices when using wireless. my iPhone 4S, iPad and another iPhone 4 all appear to degrade over time whilst using the wireless in

  • How Do I Get "Now Playing" to Always Show?

    Hello, when my iPod Classic remains idle while playing music, it will display the date and time. How do I change this setting? I'd like to be able to just flip open my case and see what's playing without having to click anything. Thanks!

  • Digital Editions 1.7 : not able to install, 1.8 does not allow to authorize for multiple IDs ?

    Hello, I just created an Adobe membership account in order to be able to install Adobe Digital Editions 1.7 on my Mac. When clicking on the install button on your website, I get error message "safari can't open the page "http://%25%7benv:www.adobe.co

  • HELP AE cs6 will not install!

    When i go to install after effects Cs6 trial, all i get is this message: Gyazo - 1a19db65b5ae198a5fa9cf24987c977b.png I have wasted so much time trying to clean things out, i uninstalled all adobe products and i'm down to my last string... I had AE C