Bug 549951

Summary: No Default Proposals error inside Java/JSP command inside tag
Product: [WebTools] WTP Source Editing Reporter: LUIZ EDUARDO SILVA <luizeduardopsilva>
Component: jst.jspAssignee: jst.jsp <jst.jsp-inbox>
Status: NEW --- QA Contact: Nitin Dahyabhai <thatnitind>
Severity: major    
Priority: P3 CC: mistria, thatnitind
Version: unspecifiedKeywords: needinfo
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Attachments:
Description Flags
Simple client screen with No Default Proposals problems none

Description LUIZ EDUARDO SILVA CLA 2019-08-09 19:31:37 EDT
Created attachment 279539 [details]
Simple client screen with No Default Proposals problems

<!DOCTYPE html>
<%@page import="model.Cliente"%>
<%@page import="java.util.List"%>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Cadastro de Clientes</title>
</head>
<body>
 <h1>Client Screen</h1>
	<form method="post" action="cliente"> 	
											 
               <br> <br> <br>
			
		Email:
		<input type="text" value= "" name="email"/>
		
		<input type="submit" value="Save">
		
	</form>
<!-- SCRIPTLET  Java inside JSP dosen't work well!!!! -->	
<% 
List<Cliente> listaCliente = (List<Cliente>)request.getAttribute("listaResposta");  +ctrl+spaceBar dosen't work well too!

for (Cliente c: listaCliente) {
	out.print(c.getEmail()+"<br/>");
	out.+ctrl+spaceBar...No Default Proposals
}

%>
	

	
</body>
</html>
Comment 1 Nitin Dahyabhai CLA 2019-08-22 17:44:36 EDT
Neither crashing nor losing data, so lowering severity.

You also need the Java Servlet JSP API in your project's dependencies: https://mvnrepository.com/artifact/javax.servlet.jsp/javax.servlet.jsp-api/2.3.0 . Were you not seeing error messages when this file was in the editor?