setProperty « JavaBean « JSP-Servlet Q&A





1. jsp:setProperty equivalent for servlet    stackoverflow.com

Is there an equivalent to:

<jsp:setProperty name="beanName" property="*"/>
for servlets? Something that will auto-populate the bean from inside a servlet using the request parameters? I'm refactoring a JSP-only application and ...

2. Problems with     stackoverflow.com

I wrote next jsp:

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
    <link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
    <h1>Monster Calculator</h1>
   ...