Bug 549951 - No Default Proposals error inside Java/JSP command inside tag
Summary: No Default Proposals error inside Java/JSP command inside tag
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: jst.jsp CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2019-08-09 19:31 EDT by LUIZ EDUARDO SILVA CLA
Modified: 2019-11-22 08:42 EST (History)
2 users (show)

See Also:


Attachments
Simple client screen with No Default Proposals problems (10.98 KB, application/x-zip-compressed)
2019-08-09 19:31 EDT, LUIZ EDUARDO SILVA CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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?