my dog learned polymorphism
The moose likes Web Services and the fly likes jsp import error - please help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "jsp import error - please help" Watch "jsp import error - please help" New topic

jsp import error - please help

kishani liyanage
Ranch Hand

Joined: Dec 08, 2003
Posts: 40
I tried to invoke a web service through a jsp . I imported the stub class which is stored in the WEB-INF/classes/kish/test directory buti get this
error. Please tell me what i should do.Thanx in advance.
org.apache.jasper.JasperException: Unable to compile class for JSP
C:\jakarta-tomcat-3.2.4\work\Standalone\localhost\examples\testkish\HelloAxis1$ Class org.apache.axis.client.Stub not found in class kish.test.HelloAxis1SoapBindingStub.
package org.apache.jsp;
1 error
heres the jsp import code:
<%@ page contentType="text/html;charset=windows-1252" import="kish.test.HelloAxis1SoapBindingStub"%>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
Web Service JSP Client - Scriptlet
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Do you have axis.jar in your classpath?

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
I agree. Here's the link:
subject: jsp import error - please help
It's not a secret anymore!