Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp is not able to access package file  RSS feed

 
varun s kumar
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
i am working on a web application. but came up with a silly problem.
My jsp file is not accessing package corejava which contains a file.
To simplify i am posting it by removing all its functionality.

DBManager.java



and

1.jsp
<%@page import="corejava.*" %>


<html>
<head>

</head>

<body>
<% DBManager.prin();

%>
</body>
</html>



from the previos topic i acknowledge that my class files are stored in
WebRoot\WEB-INF\classes\corejava
and source file DBManager.java in
src\corejava
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Scriptlets? In 2011?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!