Questions tagged [getparameter]
135 questions
0
votes
1 answer
How to retrieve Data from html page using jsp keywords?
for (int i = 1; i <= 3; i++)
{
ques1 = (String)request.getParameter("ques%><%=i%><%");
out.println(ques1);
}
I just want to get the parameters from the HTML page for ques1, ques2, ques3 and so on. But it's giving unterminated String…

Manish kumar
- 1
- 2
0
votes
2 answers
Spring Boot Thymeleaf GetParameter
How to get to the controller the user entered data at html - checkBox and select list. I have used Thymeleaf and SpringBoot.
0
votes
1 answer
Swiftmailer Ampersand Decoding Issue (&)
I've got a weird problem with Swiftmailer 5.x:
$mailUrl = htmlspecialchars("$serverDiff/test/?action=passwordreset&token=$user_token");
$mailtext = "Für Ihren Account wurde das Zurücksetzen des Passwortes veranlasst. Bitte gehen Sie über…

Lightningsoul
- 552
- 5
- 16
0
votes
1 answer
Open Xava: How to get the parameter from the URL in Open Xava?
I'm developing a web application (says it's ExtApp, in Open Xava), where it will be called from another Application's Action Menu (says it's InApp).
So when user click on the "Action Menu" button in InApp, it will launch the ExtApp, and i can see…

user3029675
- 1
- 2
0
votes
0 answers
How to get Parameter from a post request in java?
I am trying to upload a simple image to server. Other than image data I have 1 more parameter which specifies to whom it belongs.
Client:
0
votes
0 answers
GET Parameters not passing with window.location
Ok, so i am changing url when the bootstrap3 modal hidden.bs.modal event is triggered, here's an example of that
$(document).ready(function(){
$("#exampleModal").on('hidden.bs.modal', function () {
window.location =…

geegeeWap
- 35
- 9
0
votes
1 answer
data from selected rows to servlet
This code is written in jsp.it is a dynamic table with rows and columns .When clicked on the submit button,only the selected rows and the data in that row should be fetched into the servlet.
``<%@ page language="java" contentType="text/html;…

rino
- 1
- 1
0
votes
3 answers
spring boot not registering optional GET parameter
I am following a tutorial and I have the following method:
@RequestMapping(value = "/viewstatus", method = RequestMethod.GET)
ModelAndView viewStatus(ModelAndView modelAndView, int pageNumber) {
System.out.println();
…

frc
- 548
- 2
- 10
- 20
0
votes
1 answer
Android Volley getParam() method not call for JsonArrayRequest GET method
I want to do GET request with parameters using volley JsonArrayRequest. I have call getParam() method with parameters but its not calling.
JsonArrayRequest jreq = new JsonArrayRequest(Request.Method.GET,"http://api.openchargemap.io/v2/poi/",null,
…

Nitish Patel
- 1,026
- 2
- 19
- 36
0
votes
2 answers
Get parameter broken
I have an issue with a get parameter function, I have 2 parameters engTrackid and eng. The parameters are added automatically to my URL links. I need to grab the eng parameter, but instead it grabs the engTrackId and breaks it.
I.e.…

AMVL
- 1
0
votes
0 answers
java getParametr() returns wrang value of russian char
I,ve got the problem with returning "letter" (russian chars) value.
The request string is: http://localhost:8080/Library_1/pages/books.jsp?letter=Г
// books.jsp
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include…

Dionisius1976
- 107
- 1
- 1
- 7
0
votes
2 answers
How Laravel handle url-rewriting?
Just for curiosity... How Laravel framework captures "get" parameters?
I just opened their .htaccess and found the content bellow:
Options -MultiViews
…

CarlosCarucce
- 3,420
- 1
- 28
- 51
0
votes
1 answer
Why isnt my Java Echo applet working?
what am I doing wrong ? I really do not get it.
It is basically supposed to display the text I enter into input, however if mark off the checkbox, it should recognize \n and \t and respond to them according in the output.
Thank you !
//html code…

Stardust1992
- 13
- 2
0
votes
1 answer
Radio buttons not responding in JSP / Java
Im trying to make a simple form with radio buttons in a JSP-page.
After getting it to work, I would like to send the user to a new page called "matematikQuiz", but right now I am just focusing on letting the java know which of the three radio…
0
votes
2 answers
How to replace a query string in an Apache Velocity template?
In my web application I'm trying to prevent users from inserting JavaScript in the freeText parameter when they're running a search.
To do this, I've written code in the header Velocity file to check whether the query string contains a parameter…

Victoria
- 901
- 3
- 15
- 30