0
<ul id ="test">
<li id ="abc">
text1 here
</li>
<li id ="abc1">
text2 here
</li></ul>
我在做JSP和Servlet,我有一些像他们这样的代码。而我想用这个代码做的是在Servlet中获取text1和text2。我在JSP文件中调用了Servlet。所以我尝试使用request.getParameter(“abc”),但它导致null值。我如何获得这些值?如何在Servlet中获取<li></li>标记中的值?