request-object

Using request.setAttribute in a JSP page

Is it possible to use request.setAttribute on a JSP page and then on HTML Submit get the same request attribute in the Servlet? ...

JSP, Parameter Passing without use of HTML Forms

I have done some research, and majority of the examples I have found use forms (obviously for user input) to collect data which is then passed to another JSP page through the request object. My question is: "Is it possible to pass a parameter between JSP pages IF the parameter hasn't been set in HTML tags?" Thankyou, Lucas ...

How to programmatically distinguish element/control types from ASP.NET Request.Form key/value collection?

I have a simple ASP.NET web form as below: <form id="form1" runat="server"> <asp:TextBox ID="txt" runat="server"></asp:TextBox> <asp:DropDownList ID="ddl" runat="server"> <asp:ListItem Text="X" Value="X"></asp:ListItem> <asp:ListItem Text="Y" Value="Y"></asp:ListItem> <asp:ListItem Text="Z" Value="Z"></as...