|
|
|
ошибка context.xml ( The markup in the document following the root element must be well-f)
|
|||
|---|---|---|---|
|
#18+
context.xml Код: xml 1. 2. 3. 4. 5. все как в туториале: http://tomcat.apache.org/tomcat-7.0-doc/config/context.html You can configure named values that will be made visible to the web application as servlet context initialization parameters by nesting <Parameter> elements inside this element. For example, you can create an initialization parameter like this: Код: xml 1. 2. 3. 4. 5. 6. но при запуске апплета или при проверке XML пишет ошибку : The markup in the document following the root element must be well-formed. подскажите, где я ошибаюсь, как правильно написать xml - файл? спс ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.03.2013, 15:50:00 |
|
||
|
ошибка context.xml ( The markup in the document following the root element must be well-f)
|
|||
|---|---|---|---|
|
#18+
Ну как где - все внутри контекста должно быть - а ты контекст однотэговым сделал - слэш в конце. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.03.2013, 16:05:58 |
|
||
|
ошибка context.xml ( The markup in the document following the root element must be well-f)
|
|||
|---|---|---|---|
|
#18+
oneHalf, не соображу можете написать, как правильно буду сильно благодарен! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.03.2013, 16:08:21 |
|
||
|
ошибка context.xml ( The markup in the document following the root element must be well-f)
|
|||
|---|---|---|---|
|
#18+
VladislavVVoneHalf, не соображу можете написать, как правильно буду сильно благодарен! В туториале Parameter внутри Context. У вас - снаружи. Писать как в туториале. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.03.2013, 16:15:39 |
|
||
|
ошибка context.xml ( The markup in the document following the root element must be well-f)
|
|||
|---|---|---|---|
|
#18+
Blazkowicz, спс за помощь вот так сработало Код: xml 1. 2. 3. 4. 5. 6. а где лучше (Best practic) хранить параметры для подключения к БД: в context.xml или в web.xml ? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.03.2013, 16:22:58 |
|
||
|
|

start [/forum/topic.php?fid=59&msg=38200709&tid=2129683]: |
0ms |
get settings: |
12ms |
get forum list: |
24ms |
check forum access: |
5ms |
check topic access: |
5ms |
track hit: |
52ms |
get topic data: |
12ms |
get forum data: |
4ms |
get page messages: |
47ms |
get tp. blocked users: |
2ms |
| others: | 293ms |
| total: | 456ms |

| 0 / 0 |
