Hi there,
I am new in Java EE and I am developing web application with Spring framework. I use NetBeans 6.1 and Sun java system application server 9. When I was instaled NetBeans it was installed SJSAS. This all is OK and I finish my application.
Next I download SJSAS from Sun web pages and install it on Linux server (Debian etch). It was created domain domain1 and I can start this domain (asadmin start-domain domain1 ). I setup what I need and try to deplay war application using autodeploy (latter using web admin console). By now all seems to be fine. But when I try send HTML form, there is very strange behaviour. Look at this:
Related part of JSP page:
<form:form commandName="addeditImage" enctype="multipart/form-data">
On my localhost (in NetBeans) generate HTML from JSP as follows:
<form id="addeditImage" method="post" action="/context/admin/imageedit.htm" enctype="multipart/form-data">
It is OK, but the same page on server generate code as follows:
<form id="addeditImage" method="post" action="/context/WEB-INF/jsp/admin/images/edit.jsp" enctype="multipart/form-data">
And this is wrong.
Please have you any idea what was happen? I can not solve this problem and it is necessary to solve this issue.
Thanks for any help.
BlackShark_CZ
[Message sent by forum member 'blackshark' (blackshark)]
http://forums.java.net/jive/thread.jspa?messageID=281693