Questions tagged [getparameter]
135 questions
2
votes
2 answers
JSP request get parameter throws an exception
I'm beginning JSP. I have the following HTML form.
And the…

LPB
- 515
- 4
- 12
- 20
2
votes
1 answer
Form submit from Bootstrap 3 and JSP get parameter
I'm new to Bootstrap. But I'm pretty familiar with HTML. The thing is I cannot get parameter values from JSP. The parameters are from HTML page with Bootstrap 3. Here're the code. I don't understand. If I make simple html only page, then I could get…

Mingoo
- 477
- 2
- 7
- 17
2
votes
1 answer
Security and GET-parameter or page-parameter in Seam/JSF
Page parameter (in Seam) or GET parameter (general) are often mentioned as a proper means to transfer information from one view to another. But obviously it is not a good idea to have sensitive data in the url, e.g //myserver/show.jsf?userId=12,…

joshd
- 91
- 9
1
vote
1 answer
Tomcat request.getParameter("_xmldata") takes 25second for 30MB data
I have clients that need to post 30MB of xml data. The data is in binary form and is heavily encrypted. The client hit to my servlet running on tomcat, then i get the data via
Servlet request.getParameter("_xmldata");
The problem is, it takes…

Reusable
- 1,888
- 7
- 27
- 46
1
vote
0 answers
request.getParameter returns null for form data sent using jquery ajax in tomcat10 servlet
I have simple jsp servlet project. it has one jsp page having an jquery ajax request code. There is a servlet which gets called in the above ajax request. The project have only a jsp page and a servlet.
Following is JSP Page Code
…

Param-Ganak
- 5,787
- 17
- 50
- 62
1
vote
0 answers
How to take a value from span tag to scriplet tag
I am trying this id="captcha" to read in scriplet tag in jsp...ANY help will be appreciated thankyou
Below code follow from span tag...this span tag give the random generated value but when taken to sciplet tag it give null. Please help

Gagan Vivek
- 11
- 2
1
vote
1 answer
Best way to block XSS injection having decode and getParameter
I have a lot of this type of old code in my Liferay app :
String code = request.getParameter("code");
It seems that in Liferay there is a "HtmlUtil.escape" function, so I assume I can use it like :
String code =…

user2178964
- 124
- 6
- 16
- 40
1
vote
0 answers
Read Env Vars from a File in AWS Elastic Beanstalk during deployment
We traditionally stored our env vars in Environment->Configuration->Software in Elastic Beanstalk console and access it in our NodeJS app by typing process.env.VariableName. There's a hard limit for the number of vars stored there, so we moved our…

Ash
- 43
- 2
1
vote
1 answer
Wordpress add_filter('query_vars', 'my_new_vars'); not working as expected
I have an issue with Wordpress (there's a shocker), where it removes my get parameter, which i understand thats a WP feature for security and some other reasons.
What i'm trying to achieve is the following:
Load product page
When customer clicks…

Richard Skinner
- 738
- 3
- 10
- 26
1
vote
0 answers
Get parameter of a specific Simulink Block and compare it, Matlab
I'm parsing a text file with matlab which looks like this :
[Date]
2019-03-27 10:45:10.167618
[Component]
Component_Name : Manager principal
Component_ID : _ocl_MEu9Eemg_bhrv2HEbw
{Port}
Port_Name : FOP 1
Port_ID :…

Lucas
- 247
- 3
- 13
1
vote
1 answer
Creating mod_rewrite rule with one GET variable regardless of url-level
I'm trying to get this scenario to work:
URL: www.domain.com/sub/level/details/123/
Should be processed as: www.domain.com/sub/level/?product=123
"sub" and "level" can vary. It could also be /foo/doo/details/1/ or with even more sublevels:…

A.H.
- 13
- 2
1
vote
1 answer
$_GET error while changing jQuery from 2.x to 3.x through AJAX
I used to get my php-params within AJAX like this:
$.ajax({
url: "php/loadPictures.php",
***data: { id: $_GET['id']},***
dataType: 'json',
success: function( data ) {...
As I changed to jQuery 3.x this doesn't work anymore and…

xMen
- 11
- 4
1
vote
0 answers
request.getParameter() strips the xml value of angle brackets but request.getParameterMap() returns xml intact, can somebody explain why
request.getParameter() returns XML without angle brackets
?xml version="1.0" encoding="UTF-8"?
where as request.getParameterMap() returns proper xml
any idea why this behavior?

user2685466
- 11
- 2
1
vote
1 answer
Url rewriting in php using .htaccess with more than two GET variables
My URL is :
http://example.com/demo/my_list.php?id=122&name=test files
Wan't to change this into:
http://example.com/demo/my_list.php/test files/122
Currently My htaccess is as followes,
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
…

Renjitha22
- 213
- 1
- 7
- 22
1
vote
2 answers
Cycle and access Method's parameters value
I have the following Method (I exemplify what I need in the comments of the method):
public static Dictionary Foo(bool os, bool rad, bool aci, bool outr, string distrito = null)
{
if (os == false && rad == false && aci == false && outr…

Dillinger
- 341
- 3
- 16