Calling servlet in Jboss from a javascript

Discussion in 'Javascript' started by Rose Girl, May 25, 2005.

  1. Rose Girl

    Rose Girl Guest

    Hi

    Need some help on javascript. I need to know how to call a servlet
    from a javascript function.

    web-inf (jboss) path for servlet is:
    com.purpleace.ripple.admin.contacts.servlet.AdminReport

    web xml <servet-mapping> is :

    <servlet-mapping>
    <servlet-name>adminreport</servlet-name>
    <url-pattern>
    /servlet/com.purpleace.ripple.admin.contacts.servlet.AdminRepo
    rt
    </url-pattern>
    </servlet-mapping>

    I tried these but got this error: HTTP Status 404

    - parent.frames['mainFrame'].location.replace
    ('com/purpleace/ripple/admin/contacts/servlet/AdminReport');

    - parent.frames['mainFrame'].location.replace
    ('com.purpleace.ripple.admin.contacts.servlet.AdminReport');


    Thanks for your time
    Rose
     
    Rose Girl, May 25, 2005
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andy Fish
    Replies:
    4
    Views:
    2,717
    Andy Fish
    Dec 17, 2003
  2. circuit_breaker
    Replies:
    2
    Views:
    2,407
    Jack Jia
    Apr 4, 2004
  3. David Zejda
    Replies:
    0
    Views:
    994
    David Zejda
    Jan 10, 2005
  4. han
    Replies:
    0
    Views:
    704
  5. Jubz
    Replies:
    0
    Views:
    2,659
  6. Maciek

    Calling LoginModule in JBoss

    Maciek, Oct 19, 2006, in forum: Java
    Replies:
    0
    Views:
    757
    Maciek
    Oct 19, 2006
  7. LprzemekL
    Replies:
    0
    Views:
    743
    LprzemekL
    Apr 10, 2008
  8. Joe H

    calling a webservice hosted on jBoss from asp.net

    Joe H, Feb 7, 2004, in forum: ASP .Net Web Services
    Replies:
    3
    Views:
    307
    Joe H
    Feb 13, 2004
Loading...