aspose file tools*
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
Author

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$jsp.java:0: 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"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>
Web Service JSP Client - Scriptlet
</title>
</head>
<body>
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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: http://aspose.com/file-tools
 
subject: jsp import error - please help