Topic awaiting preservation: setting variables |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: |
posted 06-08-2004 17:17
yo on some pages they have address.jsp?varient=hi is this for setting variables on the pages that could be picked up by javascript or what i would like to know can anybody help? |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 06-08-2004 17:27
jsp are Java Server Pages - and since javascript doesn't have anything to do with Java... |
Bipolar (III) Inmate From: Israel |
posted 06-08-2004 20:53
You can get the parameters (GET or POST) in the JSP (Java code) using the following: code: <%
code: //<protocol>://<user>:<password>@<server>:<port>/<URI>?<param1>=<val1>&<param2>=<val2>&<param3>=<val3> |
Bipolar (III) Inmate From: |
posted 06-09-2004 14:06
well i have actually seen it on all extesions .php .htm.jsp and so on and if it isnt so that the variable can be picked up by javascript does anybody know how it works? |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 06-09-2004 15:04
come in again, I couldn't understand one sentences. |
Bipolar (III) Inmate From: |
posted 06-09-2004 15:57
whatever man i dont understand punc-tu-a-tion what i asked was does anybody know why you would put ?somthing=somthing after the file exstension |
Paranoid (IV) Inmate From: France |
posted 06-09-2004 16:00 |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 06-09-2004 16:20
ah, one would do that because one understands punctuation. |