JAVA EE CALL SERVLET FROM A JSP PAGE
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Daniel_Daniel
Posted On:   Sunday, June 28, 2009 12:24 PM

I have a file called "nuevo.jsp". It has that call the file "NuevoUsuario.jsp". The proyect structure is: Project root: nuevo.jsp WEB-INF.src.redSocial: NuevoUsuario.jsp Inside "nuevo.jsp": <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> <%=basePath%>"> name="formulario"> Why doesn´t it find "NuevoUsuario.class" which is a Servlet? Thank    More>>

I have a file called "nuevo.jsp". It has that call the file
"NuevoUsuario.jsp".


The proyect structure is:


Project root: nuevo.jsp

WEB-INF.src.redSocial: NuevoUsuario.jsp


Inside "nuevo.jsp":



<%
String path = request.getContextPath();

String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>




<%=basePath%>">



name="formulario">


Why doesn´t it find "NuevoUsuario.class" which is a Servlet?


Thank you very much!!!!    <<Less
About | Sitemap | Contact