//Remotetest.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<body>
<font size="20" color="red">
<jsp:useBean id="obj" class="Opne_App.Call_OpenApp" scope="session" />
<%
obj.show();
%>
</font>
</body>
</html>
// Call_OpenApp is the java program and Opne_App is the package contains Call_OpenApp.java
here there is error :
Multiple annotations found at this line:
- Undefined type:
Call_OpneApp.Call_OpenApp
what error is this ?
package opne_App;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
//import com.sun.org.apache.xml.internal.resolver.helpers.P ublicId;
//Call_OpenApp.java program
public class Call_OpneApp
{
public String show()
{
OpenApp obj = new OpenApp();
System.out.println("Enter Application:");
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String app = null;
try
{
app = br.readLine();
}
catch (IOException e)
{
System.out.println("Error!");
System.exit(1);
}
obj.process(app);
return app;
}
}
thanks in advance ..