help on jsp

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
aschandra27
Forum Newbie
Posts: 3
Joined: Wed Jul 18, 2007 5:55 am

help on jsp

Post by aschandra27 »

hi javaites

i got a problem with jsp forms. i have a form which takes user details along with user picture. if i put them in one form and write its not working. but if i put in two forms. 1 for fileupload and 1 for data storing they are working fine. i need some help on code.
miro_igov
Forum Contributor
Posts: 485
Joined: Fri Mar 31, 2006 5:06 am
Location: Bulgaria

Post by miro_igov »

How about adding enctype?

Code: Select all

<form id="form1" name="form1" method="post" action="" enctype="multipart/form-data">
What is javaites?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

This is a PHP forum you so probably won't get much JSP help here ;) I also suspect, as the above post suggests, that you have not got your enctype set correctly on your form. Maybe you could post the code?
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Re: help on jsp

Post by superdezign »

aschandra27 wrote:hi javaites
We're more like... PHP-ers.
Post Reply