when i deploy webapplication using jstl in jsp i have got an error cannot access org.students.Address

5 pts.
Tags:
JSP
JSTL
Web application deployment
Web development
error: Compilation of 'C:beauser_projectsdomainsmydomain.myserver.wlnotdeleteextractmyserver_app_appjsp_servlet__tg5.java' failed: -------------------------------------------------------------------------------- C:beauser_projectsdomainsmydomain.myserver.wlnotdeleteextractmyserver_app_appjsp_servlet__tg5.java:142: cannot access org.students.Address probably occurred due to an error in /tg5.jsp line 3: org.students.Address a=new org.students.Address();
    programm is:
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%
org.students.Address a=new org.students.Address();
a.setStree("strone");
a.setCity("ctyone");
a.setState("ap");

pageContext.setAttribute("svone",a);
%>
<c:out  value="${pagescope.svone}" />
<c:out value="${pagescope.svone.street}"/><br>
<c:out value="${pagescope.svone.city}"/><br>
<c:out value="${pagescope.svone.state}"/><br>

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following