English 中文(简体)
获取关键价值奶制品的产权档案
原标题:Load the properties file to get the key value pair
PasswordBlurb7=u4E0Du53EFu4F7Fu7528u91CDu8907u5B57u5143uFF08u4F8Bu5982 aaa64135u3001111bcxjkuFF09

我的一份财产档案含有上述关键值的奶制品。 因此,当我试图装载这一钥匙时。 我拿不到价值。 ? 价值

  Properties prop = new Properties();
  InputStream in = application.getResourceAsStream("WEB-INF/classes/content/"+line);
String value;
prop.load(in); 
for(Object str: prop.keySet()) {
            value = prop.getProperty((String) str);
            hashMap.put((String)str, value);

}

因此,我照此而来。

??????????? aaa64135?111bcxjk? 

我正在像这个人那样做。

<html>
<head>
</head>
<body>
<table border= 2 >
<tr>
<th>Key</th>
<th>Values</th>
</tr>
<%
                        for (Entry<String, String> entry : hashMap.entrySet()) {
                                        String key = entry.getKey();
                                        String value = entry.getValue();
%>
<tr><td>
<% out.println(key); %>
</td>
<td>
<% out.println(value);  %>
</td></tr>
<%                                                      }
                        //out.println(hashMap);
                        } catch (FileNotFoundException e1) {
                                    e1.printStackTrace();
                        }
                        catch (IOException e) {
                                    e.printStackTrace();
                        } finally {

                        }

%>
</table>
</body>
</html>

我的法典存在任何错误。

最佳回答

财产是一种含有单条编码的替罪羊。 您看<代码>的原因? ?

u4E0Du53EFu4F7Fu7528u91CDu8907u5B57u5143uFF08u4F8Bu5982 aaa64135u3001111bcxjkuFF09 

不可使用重複?兇元(例如aaa64135、111bcxjk)
问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签