Solved

jsp error..

Posted on 2004-04-16
3
268 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

We have come a long way with backup and data protection — from backing up to floppies, external drives, CDs, Blu-ray, flash drives, SSD drives, and now to the cloud.
Find out what the Office 365 disclaimer function is, why you would use it and its limited ability to create Office 365 signatures.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now