Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
request.getparameter
- Page 1
Re: how to create a simple elevator simulation?
Programming
Software Development
1 Day Ago
by trueframe
To make a basic elevator simulation, first, identify the floors and the elevator's capacity. Then, use loops and conditionals in programming to mimic its movement. Include buttons for users to call the elevator and select floors. Test thoroughly for accuracy.
How Do I address ERROR: access violation writing 0x0000000000005140,
Programming
Web Development
1 Month Ago
by A_957
…py file: from flask import Flask, render_template,
request
, jsonify import logging from gpt4all import GPT4All app…e}") return "Error processing your
request
." @app.route('/chat', methods=['POST']) def… chat(): user_input =
request
.form.get('inputPrompt') response = make_request(user_input) …
Re: AirTM API: How to Build a Form?
Programming
Web Development
1 Month Ago
by Dani
… create a Purchase via an HTTP POST
request
. That can be done with a cURL
request
. cURL requests require some backend programming…
Re: Design vs. Coding
Programming
Software Development
2 Months Ago
by cored0mp
… strengths and weaknesses. Yes, but given that the req will
request
five properties, if someone is good at four of those…
Re: AirTM API: How to Build a Form?
Programming
Web Development
1 Month Ago
by pritaeas
You cannot safely use a form to post directly to AirTM. Post to your own PHP script, which can then use curl to make the
request
, including headers.
Re: How Do I address ERROR: access violation writing 0x0000000000005140,
Programming
Web Development
1 Month Ago
by rproffitt
Python shouldn't create such an error. Reference https://www.reddit.com/r/learnpython/comments/kv83hc/error_code_exception_access_violation_writing_0x0/ I can't duplicate your issue but if this was mine I'd place a logging command in my python script at each step so I could nail down which line of code threw the error. Tutorial on that at …
Re: How Do I address ERROR: access violation writing 0x0000000000005140,
Programming
Web Development
1 Month Ago
by Dani
I don't have any python experience, sadly, but I am super awesome at jQuery. Once you solve this server-side problem at hand, if you find yourself with the jQ side of things not working, please don't hesitate to post.
Re: ADDITION OF TWO NUMBERS IN SERVELET?
Programming
Web Development
11 Years Ago
by jalpesh_007
request
.
getParameter
() method returns the value in string. So you have to take String object to store the value of that text field instead of int a write String a and String b. Then convert into integer using INTEGER.parseInt(a) and then add both. Thank you.
Re: reading jsp array in to java(servlet) program
Programming
Web Development
14 Years Ago
by Thirusha
getParameter
only works if the parameter you are accessing exists in … url encode for brackets which would be %something), then using
request
.
getParameter
("myArray") would return the array.
Re: save textbox value in session variable
Programming
Web Development
16 Years Ago
by jwenting
request
.
getParameter
works just fine. You shouldn't use it of course as you should NEVER use any Java code on a JSP, but it does work.
Re: problem with text field.. help
Programming
Web Development
15 Years Ago
by pokahantos
request
.
getParameter
("UserName") always return null even if there is an input text.. and it always enter the condition as it is True.. i have tried your code.. and the same things happened.. i entered my name, it got inside the if stm as it is true.. when i tried to print the text field value it print "null" ??
Re: help me
Programming
Web Development
16 Years Ago
by jwenting
request
.
getParameter
("someparameter") comes to mind. Executed in a servlet of course, not a JSP.
Re: data are not showing in a Jsp using link
Programming
Web Development
14 Years Ago
by kvprajapati
request
.
getParameter
(param) method must be called to read [b]value[/b] parameter.
request.getParameter()
Programming
Software Development
16 Years Ago
by nar12281
Hi All, from my form bean when i am giving input as a german character, from the method
request
.
getParameter
(), it's converting it into some other data, can you people help me what should i do.
request.getParameter return null value
Programming
Web Development
12 Years Ago
by sagar2dumbre
… Ajax JSP Code:- [CODE] <body> <% String area=
request
.
getParameter
("area_id"); response.setContentType("text/html"); response… my testing purpose when i write [CODE]System.out.println(
request
.
getParameter
("emp")); [/CODE] on submit button click event …
request.getParameter value passing null
Programming
Web Development
16 Years Ago
by mimsc
…] <% System.out.println("error...: "+
request
.
getParameter
("weatherState")); String sValue =
request
.
getParameter
("weatherState"); Vector theCities = WeatherDAO.getWeatherCities(sValue…
request.getParameter returns input string: "undefined"
Programming
Web Development
14 Years Ago
by albertkao
… response) throws Exception { int rowsPerPage = 20; String rowsPerPageStr =
request
.
getParameter
("rowsPerPage"); logger.info("rowsPerPageStr " + rowsPerPageStr); if (…
Re: request.getParameter returns input string: "undefined"
Programming
Web Development
14 Years Ago
by javaAddict
… rowsPerPageStr is the String: "undefined": [ICODE]String rowsPerPageStr =
request
.
getParameter
("rowsPerPage");[/ICODE] So here: [CODE] window.location = "…
Re: Request.getParameter()
Programming
Software Development
18 Years Ago
by jwenting
I hope you're sending the form to a servlet. If so, indeed simply get the values using
request
.
getParameter
(), and send them to the database using whatever mechanism you decided to use for that (Hibernate, JDO, direct JDBC, or whatever).
Re: Accessing integer variable of a html form from jsp... request.getParameter() nt wrkng
Programming
Web Development
15 Years Ago
by javaAddict
…;1">[/CODE] [CODE] String value =
request
.
getParameter
("1"); [/CODE] "1" …quot;123">[/CODE] [CODE] String value =
request
.
getParameter
("textName"); int intValue = Integer.parseInt(value); …t enter a number, or the [ICODE]
request
.
getParameter
("textName")[/ICODE] might return null if…
Re: JSP's request.getParameter returns null
Programming
Web Development
15 Years Ago
by stephen84s
Are you sure that the element from which you are extracting the values in the previous page has the same value for [icode]name[/icode] as the one you are using in the [icode]
request
.
getParameter
()[/icode] method call @Thirusha [icode]
request
.
getParameter
()[/icode] in a JSP page can be used for both GET(the one you mentioned) and POST requests.
Re: JSP's request.getParameter returns null
Programming
Web Development
14 Years Ago
by cat_sin
… with "multipart/form-data" then you cannot use
request
.
getParameter
.[/QUOTE] Hi adatapost, Nice to meet u and thanks for… reply. I am using multipart/form-data. If cannot use
request
.
getParameter
, what method should i use? Hope to get ur guidance…
does request.getParameter() return string type only?
Programming
Web Development
16 Years Ago
by Ankita B
Hi, I am tryin to insert values entered by user into oracle db.I am using jsp and java beans for this.
request
.
getParameter
() works fine for string parameters but what should i use for fields such as date?..thx
Re: does request.getParameter() return string type only?
Programming
Web Development
16 Years Ago
by ~s.o.s~
Yes, [ICODE]
request
.
getParameter
()[/ICODE] always returns a string unless you plan on challenging …
JSP's request.getParameter returns null
Programming
Web Development
15 Years Ago
by loken
… (laszlo parameters) and pass them onto jsp through: String myField=
request
.
getParameter
("myParamName") it returns a null value and that…
Re: JSP's request.getParameter returns null
Programming
Web Development
15 Years Ago
by Thirusha
[QUOTE=stephen84s;645089] @Thirusha [icode]
request
.
getParameter
()[/icode] in a JSP page can be used for both GET(the one you mentioned) and POST requests.[/QUOTE] thanx stephen84s.
Accessing integer variable of a html form from jsp... request.getParameter() nt wrkng
Programming
Web Development
15 Years Ago
by cool_mike
In JSP,
request
.
getParameter
(x) returns a null value if x is integer.So what to use to get integer value of x?
How to use request.getParameter & ahref to pass & display image in another .jsp page?
Programming
Web Development
14 Years Ago
by Netti
… step at a time. On which page must i apply
request
.
getParameter
="" and <a href = "Rank.jsp?file…
Re: JSP's request.getParameter returns null
Programming
Web Development
14 Years Ago
by kvprajapati
If html form's tag enctype attribute is set with "multipart/form-data" then you cannot use
request
.
getParameter
.
Request empty in JSP ComboBox?
Programming
Web Development
13 Years Ago
by suncica2222
…quot;, "Studenti"); if(
request
.
getParameter
( "cmbx" ) == "Studenti" ||
request
.
getParameter
( "cmbx" ) ==…
request
.
getParameter
( "cmbx" ) == "Studenti" ||
request
.
getParameter
( "cmbx" ) == "Predmeti") b1.setKombo(
request
.
getParameter
…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC