JSTL Questions

1

when i deploy webapplication using jstl in jsp i have got an error cannot access org.students.Address
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 Question   |  July 23, 2008  11:48 AM
JSP, JSTL, Web application deployment, Web development
asked by:
5 pts.

1