|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
JavaBeans
Hi,
im having problems passing input from one jsp file to another for use in a javabean. At the moment my code embedded in HTML looks like this <jsp:useBean id="Logon" class="Beans.Logon" scope="session"> <jsp:setProperty name = "Logon" property = "username" value = "<% =request.getParameter("Username")%>"/> <jsp:setProperty name = "Logon" property = "stu_password" value = "<% =request.getParameter("Password")%>"/> </jsp:useBean> i think the problem is with the value?? Thanks! |
|
#2
|
|||
|
|||
|
could be a configuration issue too.
|
|
#3
|
||||
|
||||
|
Is it possible to output the values in the request object before you set them in the bean?
<p>The username is <%=request.getParameter("Username")%>!</p> <p>The password is <%=request.getParameter("Password")%>!</p> Otherwise, the problem might lie in the script that's calling this script. Try accessing the page using page.jsp?username=One&password=Two |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Development > JavaBeans |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|