Questions tagged [getparameter]

135 questions
0
votes
2 answers

Can you somehow use the base-tag to pass parameters?

I written some custom debugging code to a large framework, by adding ?debug to any url I get some custom server-data. Whenever I click a link, the ?debug disapears, ofcorse can I keep it there somehow? My idea was using the…
Himmators
  • 14,278
  • 36
  • 132
  • 223
0
votes
1 answer

symfony 2 get Value from manyToOne confusion

I have an entity which looks like . . . /** * @ORM\ManyToMany(targetEntity="PrLeadBundle\Entity\Stock") * @ORM\JoinColumn(name="stock_id", referencedColumnName="id", nullable=true) */ private $stock; public function…
TheTom
  • 934
  • 2
  • 14
  • 40
0
votes
0 answers

NullPointerException when fetching applet parameters

I'm working on a basic applet and I'm getting the following error when I compile in Eclipse: java.lang.NullPointerException at java.applet.Applet.getParameter(Applet.java:191) at com.putable.clickaid.ClickAid.(ClickAid.java:18) at…
r.ree
  • 35
  • 5
0
votes
1 answer

submitting form still risks from XSS

I am assigned to fix security issues on legacy code and I was given results from security scan: Poor Error Handling: Server Error Message ( 10932 ) Basically, when the scan tries to access with some weird…
Angelina
  • 2,175
  • 10
  • 42
  • 82
0
votes
1 answer

get information from other function Zend Framework

I've selected some data and put them in table . It's shown by pagination (localhost/books/users) id is primary key and phone and detail is another columns in my table, if user press "detail" , he goes to another page.…
Farzan Najipour
  • 2,442
  • 7
  • 42
  • 81
0
votes
0 answers

Why is • replaced by '/u0095'149 when using request.getParameterMap() in Java?

I am passing a String value from one jsp to another using the request.getParameterMap() method in Java. The String contains the HTML code for bullet '&bull' and when I use my debugger to step through I see that the '&bull' has been replaced by a…
billy_blanks
  • 105
  • 1
  • 3
  • 12
0
votes
1 answer

GetParameterValue in Java Servlet with comboboxes / option boxes

I am trying to get info from option boxes from my JSP page. An example of those are:
kaspertje15
  • 3
  • 1
  • 6
0
votes
2 answers

request.setParameter in JSP

I tried to do in JSP action will determine the value of a text field and saw no action request.setParameter. I tried to search online solutions and unfortunately I did not find. I'd love to help, thanks in advance.
Ofir
  • 98
  • 1
  • 1
  • 10
0
votes
1 answer

Java request.getParameterMap() apostrophe not being recognised

I am trying to obtain URL parameters via request.getParameterMap() and I found apostrophe is not getting decoded & is passed as space. sampleURL : xyz.com/somename?Marke=Sch%C3%B6ffel%7CLevi%27s Here : Levi%27s is encoded format of Levi's But when…
user1651561
  • 197
  • 3
  • 3
0
votes
1 answer

REST API using GET Params

Say we have the following server resource: api.example.com/event/1 Which returns some arbitrary resource, say: { id: 1, details: { type: 'webinar', .... }, attendees: [ { user_id: 1, …
moesef
  • 4,641
  • 16
  • 51
  • 68
0
votes
2 answers

take 5 numbers one at a time from a form in a jsp page and calculate the average with a java class?

I have a form , i want to input numbers one at a time. I create an object and pass the getParameter() values to it,
Aaron
  • 75
  • 8
0
votes
1 answer

Why is a null value provided to my JSP snippet from the form submission?

Hi I wish to get a users age from a form and convert that String to an int and use elsewhere in a java class The .jsp snippet looks like this <% String str = request.getParameter("age"); int convertInt = Integer.parseInt(str); …
Aaron
  • 75
  • 8
0
votes
1 answer

getParameter - URL parameter with dynamic name values

I've been strugling looking for a way to set a cookie if a URL parameter is persent. The problem is, the name of the URL parameter is half dynamic. The URL would be: http://zzzz.test.bbbb/index.html?transaction[XXXX][zzzzz]=YYYYY Where XXXX and…
adrian.m123
  • 85
  • 1
  • 3
  • 11
0
votes
0 answers

HttpServletRequest.getParameter() truncates the value sent through jQuery.ajax

I am having an issue when I sent data via POST using jquery.ajax and try to read the value from the HttpServletRequest in java. I am using jdk6 jboss-4.0.3 Struts 1 and for ajax I am using GSON and jquery in the client side Here is my code : JSP …
0
votes
1 answer

Read Value of Display Block in Simulink using get_param

I need to read the value of Display block in Simulink model through m-file command using get_param function. What should be the command syntax i.e. get_param ('mymodel/BockName', ???) Appreciate your support. Many Thanks
Ocean Blue
  • 33
  • 4
  • 7
1 2 3
8 9