Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

request.getParameter () returns null

Posted on 2003-10-29
8
Medium Priority
?
710 Views
Last Modified: 2007-12-19
Hi All,
 I have a jsp which has a post method on the form to process upload file (Using UploadBean) inmy servlet.
I have some other parameters which when tried to be retrieved inthe servlet retunr NULL.
If I make it "GET" method in the JSP. I get the values but the uplodbean doesn't work.
Any help is appreciated
Thnaks
Arschie
0
Comment
Question by:aarschie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 18

Expert Comment

by:bobbit31
ID: 9646063
assuming you are using the package from javazoom (javazoom.upload*, javazoom.upload.parsing.*):

http://www.javazoom.net/jzservlets/uploadbean/documentation/api/javazoom/upload/MultipartFormDataRequest


in particular:

MultipartFormDataRequest mfdr = new MulitpartFormDataRequest(request);
String param = mfdr.getParameter("<your parameter>");
0
 
LVL 18

Accepted Solution

by:
bobbit31 earned 2000 total points
ID: 9646067
and btw, make sure it's a post
0
 
LVL 14

Expert Comment

by:kennethxu
ID: 9647181
is this related to your previous question?
http://www.experts-exchange.com/Web/Web_Languages/JSP/Q_20780740.html
BTW, you have quite some open questions without your follwo up:
http://www.experts-exchange.com/Web/Web_Languages/JSP/viewQuestionHistory.jsp?mid=1349961
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 18

Expert Comment

by:bobbit31
ID: 9647474
the link i posted doesn't work for some reason.. try this one:

http://www.javazoom.net/jzservlets/uploadbean/documentation/api/index.html
0
 
LVL 3

Expert Comment

by:krispols
ID: 9648488
hello aarschie,

Just use jakarta Commons/FileUpload. It must solve all your problems.

regards
0
 
LVL 15

Expert Comment

by:dualsoul
ID: 9649060
yes commons/fileupload is a good product to parse multipart/form-data
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

WooCommerce is becoming the most powerful e-commerce plugin for Wordpress. And why not. The platform comprises of numerous core plugins that may come in handy, powerful options to make your website development task much easier.
Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question