HTML form name is NOT submitted as part of the request. If you need it (why?) you can submit it as hidden input instead:
<form name="myForm" action="/my_servlet">
<input type="hidden" name="htmlFormName" value="myForm"/>
...
In your servlet:
String htmlFormName = request.getParameterValue("htmlFormName");
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…