i asked about this a while back and was surprised that i couldn't easily populate form fields using request parameters when directly specifying a JSP page, such as you're trying to do. the response i got was, this does not conform to MVC design, where the request is ALWAYS directed to an Struts Action instance first. ie. don't go directly to a JSP page. i see pros and cons to it, but in the end i stuck with the MVC design paradigm. i basically define an Action and Form. thus, in your example, my request would look like: http://localhost:8080/app/logon?restrictedPage=index.jsp the struts config looks like so. the validate is false, since we're only interested initially in displaying the form while still processing any request parameters normally. the capital L Login is the validating Action where all the work gets done. hope that made sense. jae <!-- Process a user logon --> <action path="/login" type="pg.app.auth.LoginAction" name="loginForm" scope="request" validate="false" input="/www/all/auth/login.jsp"> </action> <action path="/Login" type="pg.app.auth.LoginAction" name="loginForm" scope="request" validate="true" input="/www/all/auth/login.jsp"> <forward name="success" path="/www/all/auth/login_success.jsp"/> <forward name="newreg" path="/www/all/auth/login_success_state_newreg.jsp"/> </action> [EMAIL PROTECTED] writes: > Hello, > I'm having difficulty placing the value of a request parameter into a > hidden form field. Could anyone direct me on the correct syntax? > > This is what I've been trying... > I call my jsp page with something like the following >> > http://localhost:8080/test/logon.jsp?restrictedPage=index.jsp > > I create my bean with the following (which works for me): > <bean:parameter id="restrictedPage" name="restrictedPage" > value="NONE" /> > I'm able to print the bean if I place the following within my html page, and > the value prints correctly (index.jsp): > <bean:write filter="false" name="restrictedPage" scope="page" /> > > However, I don't know how to tell my hidden tag to use that value as the > default value. I tried something like the following unsuccessfully: > <html:hidden property="restrictedPage" value="<bean:write > name="restrictedPage" scope="page"/>" /> > > I appreciate any help, > Perry Tew > mailto:[EMAIL PROTECTED] > 678-415-3823 > >