![]() |
|
Модераторы: PILOT |
![]()
|
|
| freelancers |
|
|||
|
Unregistered |
Нужно сделать две простые формы для посылки текста и картинки на сайт.
Подробности ниже. Готовность - не позже вечера 14.10.04 Нужны будут объяснения как это работает. Getting Started To complete this exercise you will have to have access to Linux PC. I will ask you to create a simple Java Servlet application running on Tomcat and Postgresql with IBatis. Install Java JDK 1.4.x. For Linux users; find an RPM of Postgresql or use apt-get ( on Debian ). Install Postgresql. Create a new database mydatabase. Download and unpack Tomcat 4. Don't use Tomcat 5! Delete all sample web applications. Download Postgresql JDBC driver http://jdbc.postgresql.org/download.html. Put it in tomcat/common/lib. Download Sample Ibatis / Struts application from http://www.reumann.net/reumann/struts/rr_lesson_ibatis.zip. Extract war file into new folder in Tomcat webapps directory; name the folder rr_lesson_ibatis. In the rr_lesson_ibatis folder you'll find AddToServerXML.xml file. Add this to tomcat/server.xml file. Change yourDatabaseName to mydatabase. Also specify a valid database user. Run tables_script.sql file on mydatabase. Restart Tomcat. Check error messages. Tomcat will tell you if there are any errors. If Tomcat is unable to connect to the database then check your postgresql.conf file in data directory and make sure tcpip_socket is set to true. Play with the sample application and understand its functionality. Exercise This simple application will have two pages. First page will be a form allowing a user to submit text and a JPG image. Once text and image are submitted they will be stored in a database. Do not store the image in file system. The second page will fetch text and image from the database and display them on a HTML page. Both pages must use Struts and IBatis. To handle image file upload you can use Struts' FormFile object. To fetch an image you can use a plain Java Servlet. You are welcome to use Velocity or JSP for the form and resulting page. |
|||
|
||||
| BearBeer |
|
|||
|
Опытный ![]() ![]() Профиль Группа: Модератор Сообщений: 902 Регистрация: 25.3.2002 Репутация: 1 Всего: 9 |
Модератор:
Исходя из данных первого поста, тема уже закрыта. |
|||
|
||||
![]()
|
| Правила форума "Объявления о найме специалистов" | |
|
|
В случае невыполнения данных правил Ваши сообщения могут быть удалены без предупреждения. Полный спискок правил. С уважением, BearBeer. |
| 0 Пользователей читают эту тему (0 Гостей и 0 Скрытых Пользователей) | |
| 0 Пользователей: | |
| « Предыдущая тема | Объявления о найме специалистов | Следующая тема » |
|
|
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности Powered by Invision Power Board(R) 1.3 © 2003 IPS, Inc. |