Calling servlet in Jboss from a javascript

R

Rose Girl

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top