Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有这行代码:
<p><img src="/Hangman/img/hangman-0.png" /></p>
因此,我想使用这样的整数,而不是 hangman-0.png:
<p><img src="/Hangman/img/hangman-INTEGER.png" /></p>
我怎样才能把整数值放在我所说的地方?
提前致谢
你可以试试这个(BalusC 的评论已经足够好了):-
<p><img src="/Hangman/img/hangman-${bean.imageId}.png" /></p>