By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,091 Members | 1,555 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,091 IT Pros & Developers. It's quick & easy.

Calling servlet in Jboss from a javascript

P: n/a
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.AdminR eport

web xml <servet-mapping> is :

<servlet-mapping>
<servlet-name>adminreport</servlet-name>
<url-pattern>
/servlet/com.purpleace.ripple.admin.contacts.servlet.AdminR epo
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.Admi nReport');
Thanks for your time
Rose

Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Dont know about "servlet" or "<servet-mapping> "

but you should see a problem anyway.

"Rose Girl" <ro*********@hotmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
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.AdminR eport

web xml <servet-mapping> is :

<servlet-mapping>
<servlet-name>adminreport</servlet-name>
<url-pattern>
/servlet/com.purpleace.ripple.admin.contacts.servlet.AdminR epo
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.Admi nReport');
Thanks for your time
Rose


Jul 23 '05 #2

P: n/a
Servlet != servet.

both legit though.


"Rose Girl" <ro*********@hotmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
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.AdminR eport

web xml <servet-mapping> is :

<servlet-mapping>
<servlet-name>adminreport</servlet-name>
<url-pattern>
/servlet/com.purpleace.ripple.admin.contacts.servlet.AdminR epo
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.Admi nReport');
Thanks for your time
Rose


Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.