Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp import error - please help

 
kishani liyanage
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have axis.jar in your classpath?
 
And then we all jump out and yell "surprise! we got you this tiny ad!"
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!