1
我有下面的jsp代碼。國際化jsp頁面?
<section class="loginform cf">
<form name="login" action="index_submit" method="get" accept-charset="utf-8">
<ul>
<li><label for="usermail">Email</label>
<input type="email" name="usermail" placeholder="[email protected]" required></li>
<li><label for="password">Password</label>
<input type="password" name="password" placeholder="password" required></li>
<li>
<input type="submit" value="Login"></li>
</ul>
</form>
</section>
在這裏,我想外化所有的標籤名稱和標籤名稱將顯示基於語言環境。 基本上我需要i18n的jsp標籤。我怎樣才能做到這一點?
謝謝!
這應該涵蓋您的需求:http://stackoverflow.com/questions/4276061/how-to-internationalize-a-java-web-application –
@Sotirios,感謝您提供有用的鏈接.. – user755806