Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

jsp error..

Posted on 2004-04-16
3
Medium Priority
?
277 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
[X]
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
  • 2
3 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 480 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

618 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