• Post Reply Bookmark Topic Watch Topic
  • New Topic

Appending String in <c:set>  RSS feed

 
Jean Moul
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I would like to append a string to an existing var. I did not manage to have anything working.
What I want to achieve should look like :




then later in my jsp file




I tried several solutions by changing slightly the code but I have the same error : " The page failed validation from validator: "org.xml.sax.SAXParseException: The value of attribute "test" associated with an element type "null" must not contain the '<' character." It does not look very related to my piece of code but its appears each time I uncomment it. If anybody knows, I would be very grateful.

Thanks
Jean Moul
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65899
135
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you create a small example that exhibits the issue?
 
Jean Moul
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually I wanted to do


I retried before posting this theard and finally it worked.

I don't know why it was not working before.
Thanks anyway !

Jean Moul
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!