aspose file tools*
The moose likes JSP and the fly likes jsp:setProperty. JSP to servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp:setProperty. JSP to servlet" Watch "jsp:setProperty. JSP to servlet" New topic
Author

jsp:setProperty. JSP to servlet

Manohar Karamballi
Ranch Hand

Joined: Jul 17, 2001
Posts: 227
Hi all,
I have a question.
is it not possible to use
<jsp:setProperty......> for setting valuebeans from form submission (in JSP)to servlet..
Pls clarify.
TIA
Manohar
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Manohar,
<jsp:setProperty name="mybean" property="*" />
The names of the properties in the Bean must match the names of the request parameters.


Groovy
Manohar Karamballi
Ranch Hand

Joined: Jul 17, 2001
Posts: 227
Yes they are matching..
Prob is it's working when my action is some JSP but not working when my action is some servlet invocation
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Prob is it's working when my action is some JSP but not working when my action is some servlet invocation

Come again. I did not get the above.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp:setProperty. JSP to servlet