in jsp I do <p>${ob}</p>
I can get the object, but it's hard to read as the object size is not small. Can I print it using javascript? It's an email so I don't think I can use javascript.
Try like this :
console.log("${ob}");
Don't forget
double Quotes
else by JS it would be interpreted as a variable name
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.