[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 171
  • Last Modified:

Passring values in jsp

Am I limited to passing one value from one form to another and if not how do I do that? this is what I have right now:

onclick="document.location.href='WASIPMForm.jsp?name=<%=applicationName%>'; "

I tried this and it seems it just passes the whole thing as the value of name:
onclick="document.location.href='WASIPMForm.jsp?name=<%=applicationName%>date=<%=createdDate%>'; "

thanks,
Nasrin
0
DESEI-SELB
Asked:
DESEI-SELB
1 Solution
 
sompol_kiatkamolchaiCommented:
Use & to separate your parameter.

onclick="document.location.href='WASIPMForm.jsp?name=<%=applicationName%>&date=<%=createdDate%>';

Hope this help,
Sompol
0
 
DESEI-SELBAuthor Commented:
Thanks, that does it.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now