Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

jsp error..

Posted on 2004-04-16
3
272 Views
Last Modified: 2010-04-01
i got a java file called sms.java...
i created a package to store it.. so i now have the folder: com.sms
i use a jsp, refreshSms.jsp to call a function inside sms file
this is the error i encountered
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 15 in the jsp file: /refreshSms.jsp

Generated servlet error:
    [javac] Compiling 1 source file

C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\imcsWeb\refreshSms_jsp.java:58: cannot resolve symbol
symbol  : method retrieveSMS ()
location: class com.sms.sms
   s.retrieveSMS();
    ^
1 error
------------------------------------------------------
this is wat i code in the jsp.. i think its the importing part that is causing the problems..
<%@ page import = "java.lang.*"%>
<%@ page import = "java.util.*"%>
<%@ page import = "com.sms.*"%>
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="refresh" content="5" />
<title>SMS Refresh</title>
</head>

<body>

<% sms s = new sms();
   s.retrieveSMS();
 %>
</body>

</html>
---------------------------
pls help..thanks..
0
Comment
Question by:hyaku
  • 2
3 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 120 total points
ID: 10843045
You sure it's

  retrieveSMS()

in sms.java, and not

  retrieveSms()

or

  retrieveSMS( int someVariable )
0
 

Author Comment

by:hyaku
ID: 10843109
opps..i found out my error..
should be this
receiveSMS() not retrieveSMS()
haha.. thanks for asking me to double check the function..
0
 
LVL 35

Expert Comment

by:TimYates
ID: 10857298
:-)

Good luck!!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question