Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Calling servlet in Jboss from a javascript

Reply
Thread Tools

Calling servlet in Jboss from a javascript

 
 
Rose Girl
Guest
Posts: n/a
 
      05-25-2005
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Application in JBoss Portal on Liferay JBoss LprzemekL Java 0 04-10-2008 12:03 PM
Eclipse/Lomboz/JBoss: Cannot Start JBoss (Debug) Server from Eclipse Using Lomboz Plugin Jubz Java 0 05-30-2006 10:24 PM
jboss 4.0.3 jboss portal 2.2.1 han Java 0 05-08-2006 10:35 AM
JBoss: Error instantiating org.apache.jasper.servlet.JspServlet David Zejda Java 0 01-10-2005 08:36 AM
Servlet question(Tomcat, web.xml, servlet-class, servlet-name) circuit_breaker Java 2 04-04-2004 03:26 AM



Advertisments