|
|
|
Struts -> message-resources -> problem
|
|||
|---|---|---|---|
|
#18+
Struts: 1.2.4 Tomcat: 5.0.28 ----------------------------------------------------------------- Ошибка: SEVERE: Parse Error at line 54 column 66: Element type "message-resources" must be declared. org.xml.sax.SAXParseException: Element type "message-resources" must be declared. .................. .................. SEVERE: Parse Error at line 57 column 17: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-forwards?,action-mappings?)". org.xml.sax.SAXParseException: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-forwards?,action-mappings?)". ----------------------------------------------------------------- struts-config.xml: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. 51. 52. 53. 54. 55. Чё то ему не нравица как я объявляю message-resources . Если message-resources закоментить, то не ругаеца =) Подскажите в чем трабла. Спасибо. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 06.08.2006, 03:56 |
|
||
|
Struts -> message-resources -> problem
|
|||
|---|---|---|---|
|
#18+
нашел =) авторMost probably its the wrond struts version...you cannot use message resources in struts i.0, might want to change the head of the struts-config.xml to <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd"> помогло =) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 06.08.2006, 04:10 |
|
||
|
|

start [/forum/topic.php?fid=59&fpage=707&tid=2148483]: |
0ms |
get settings: |
5ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
72ms |
get topic data: |
7ms |
get forum data: |
1ms |
get page messages: |
41ms |
get tp. blocked users: |
1ms |
| others: | 207ms |
| total: | 347ms |

| 0 / 0 |
