Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need to add quotes to Param String using jstl  RSS feed

 
LaTeef Lusk
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a parameter that I need to add quotes to so it will be passed as string rather than an integer. Is there a way to add quotes to a param value. I am trying to pass this to a stored procedure but without the quotes it is treating the param as an integer and throwing an error because it has an alpha character.



 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65828
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All request parameters are passed as strings.
 
Senthil Manoharan
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it will pass the parameters as String Only.

if you want to include quotes then you can add \" , that will add quotes to your string.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!