Questions tagged [getparameter]

135 questions
0
votes
2 answers

get parameter for JApplet not working

I am experiencing a little problem reading parameters from an html page to an applet. my code (necesssary for question): on html page: in applet (init): String strName = getParameter("name"); The applet…
Javanova
  • 1
  • 2
0
votes
1 answer

two jsp's that are mixed up in contents! (the second jsp loads over the first one)

I want to read in a textbox a name and I want to pass-it to the next form, and it would be a problem that the form doesn't reset to show only the second form, "basic.jsp". Is there any command to reset the form? Now it shows me the content of…
WDrgn
  • 521
  • 10
  • 29
0
votes
1 answer

getting null on request.getParameter() on submit of form in java code?

IN JAVA CODE IN JSP as below i m getting null value for field"noOfRecords". if (request.getMethod().equalsIgnoreCase("POST")) { try { noOfRecords=Integer.parseInt(request.getParameter("noOfRecords").trim()); } …
Maddy.Shik
  • 6,609
  • 18
  • 69
  • 98
0
votes
1 answer

getParameter() in servlet returns null

I'm trying to retrieve a selected value from a .jsp in a servlet. The values displayed in the option are from ArrayList of "Item" objects (with variables ID, name, descript, price, quant). in itemsCatalog.jsp (partial):
user2315422
  • 3
  • 1
  • 2
0
votes
2 answers

how to place a request.getParameter("") and place it into a bean.method()?

Hi I'm new to java and jsp. I can't get my value from jsp. Here is my code. These are made in jsp.
user1651129
  • 25
  • 2
  • 6
0
votes
1 answer

FMOD how to use DSP getParameter function in C?

I'm using FMOD. how to use DSP getParameter function in C? when I used followed code, program shut down. I don't know what's wrong with my code. of course, I've implement DSP setParameter function. Now I have trouble at getParameter function. If…
choijuho
  • 75
  • 1
  • 1
  • 8
-1
votes
2 answers

Java String Request Parameter ignoring #

Am new to Java. Am appending a new parameter at the end of the URL as below. http://localhost:8080/BugReport/home?projectName=Thrivent:PS_Thrivent_SOW#04_YSL1.1AggFL&Consulting Am reading this in my servlet as below with request.getParameter String…
-1
votes
1 answer

How should be htaccess rewrite rule?

example adress: mysite.com/search/?q=notebook my rewrite rule; RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)$ example.php?param1=$1¶m2=$2 this rule ignore ?q= characters. How should be htaccess rewrite rule for accept this special character?
-1
votes
2 answers

How to get a character from a html to a servlet

Gender: