Need to hide completely the name of an attribute/parameter

I need to pass an attribute or a parameter from a JSP to an action, so the user can NOT know the name of the parameter/attribute
I need it because I'm afraid the user can use the knowledge of the name of the parameter to use it in the URL like "...?name=valor"
If I use a form with the POST method and html:hidden�. Users are able to see my parameter seeing the �view source code�
If I use a link and parameters on the URL obviously the can see the name.
I thought putting it into the request in the �onclick� instant:
<html:link href="${linkURL}" onclick="<%=request.setAttribute("name", nameValue)%>">But�.
I get an error on the XML syntax because of the <%= inside the <html:link
And over all,�. I�m not sure if it will work cause maybe the request get cleared on the click�
Any idea to solve the problem of hiding the name of the attribute????
Thanks in advance for any help!
Mar�a
Edited by: mery on Jul 15, 2008 7:21 AM

I'm showing a page with a lot of links each of them has an ID (like voting news, with the newsId)
I have an URL link (or a form with a post method) similar to: Voting.do?newsId=15
Voting.do calls an action that gets the newsId, check you didnt voted for it before and counts one vote more....
Since de Id is known for the user I thought of hidding the name of the parameter/attribute
I'm afraid someone saying.... "please visit.... Voting.do?newsId=15" and people just visiting is voting without knowing....
I thought using a captcha but I prefer not using more steps.... although if I had no other way to do it...
About Ajax, it could be great.... (if I knew it... ;)
I guess it has to be a easy solution because there are a lot of places doing something similar but maybe I have a bad day or I can not see it clearly because I thought too much about it...
Thanks to all of u are helping me ;)
Mar�a

Similar Messages

  • HT203167 I have just bought this iPad-so all is new. I was downloading an app from the montessorium site on the Internet -paid for the app -it said I needed iTunes to complete the download - which I thought I had done - but I don't have the app on my iPad

    I have just bought a new iPad -I was downloading a new app from montessorium web site-paid for the app-was told toi needed iTunes to complete the download-so opened iTunes but nothing happened- can anyone help me??

    Welcome to the Apple community.
    I'm not really sure what you did, however you can only purchase apps from the App Store not from individual websites. I've taken a look at the website myself and it does direct you to the App Store, is this what happened for you.

  • Need help with changing the name.

    I got my palm pre from an uncle who lives in the states. The problem is I can't call tech support to ask them because I live in belize. The proble I have with my pre is that I have added my email account to the phone, but when I send an email, they receive it in my uncles name, my name is lanny and they receive an email form cesar, I think you can see where the problem lies. Is there anyway I can change it to my name? Please help!
    Post relates to: Pre p100eww (Sprint)

    Hello and thank you for using the Palm Help Forums!
    I would create a new Palm Profile. To do this you will need to go to the Device Info app, Reset Options, then select Full Erase. All pictures, videos, and anything else stored in the USB side of the device will be erased. I recommend that if you want to keep any of that to connect your device to a computer then click and drag everything you want to keep off of the device and onto your computer.
    After you perform the Full Erase the device is going to reboot. It is going to come up with a screen to sign in to a Palm Profile or Create a New Palm Profile. NOTE*** You will need a data connection to do this. Select Create a New Palm Profile and fill in the blanks. Once you are back into the device you can set up your email accounts again and it should display the name you created the Palm Profile with.
    I hope this helps,
    -Pat

  • Help needed to properly capitalize the names of the songs

    Is there a method to properly capitalize the first letter of the words in the name of the songs in my library (like changing 'sultans of swing' to 'Sultans of Swing')? Obviously, I can do this manually one by one, but I have hundreds of song names to change.

    Is there a method to properly capitalize the first letter of the words in the name of the songs in my library (like changing 'sultans of swing' to 'Sultans of Swing')? Obviously, I can do this manually one by one, but I have hundreds of song names to change.

  • Really need help to complete the Apache 2 upgrade

    short history
    used the following to install
    ./configure --enable-layout=Darwin --enable-rewrite --enable-so
    make
    sudo make install
    below is the file/folder output.
    I get the following error message when I try to start from command line
    sudo ./apachectl -k start
    Password:
    httpd: Could not open configuration file /usr/local/apache2/conf/
    httpd.conf: No such file or directory
    so I tried the file option and got
    ./apachectl -f /private/etc/apache2/httpd.conf start
    Usage: /usr/sbin/httpd [-D name] [-d directory] [-f file]
    [-C "directive"] [-c "directive"]
    [-k start|restart|graceful|graceful-stop|stop]
    [-v] [-V] [-h] [-l] [-L] [-t] [-S]
    Options:
    -D name : define a name for use in <IfDefine name>
    directives
    -d directory : specify an alternate initial ServerRoot
    -f file : specify an alternate ServerConfigFile
    -C "directive" : process directive before reading config files
    -c "directive" : process directive after reading config files
    -e level : show startup errors of level (see LogLevel)
    -E file : log startup errors to file
    -v : show version number
    -V : show compile settings
    -h : list available command line options (this page)
    -l : list compiled in modules
    -L : list available configuration directives
    -t -D DUMP_VHOSTS : show parsed settings (currently only vhost
    settings)
    -S : a synonym for -t -D DUMP_VHOSTS
    -t -D DUMP_MODULES : show all loaded modules
    -M : a synonym for -t -D DUMP_MODULES
    -t : run syntax check for config files
    So what is the best approach from here? Is this apachectl -f syntax incorrect?
    Thanks everyone.
    Mike
    here is the install file/folder outpu
    Installing configuration files
    mkdir /etc/apache2
    mkdir /etc/apache2/extra
    mkdir /etc/apache2/original
    mkdir /etc/apache2/original/extra
    [PRESERVING EXISTING HTDOCS SUBDIR: /Library/WebServer/Documents]
    Installing error documents
    mkdir /usr/share/httpd/error
    [PRESERVING EXISTING ICONS SUBDIR: /usr/share/httpd/icons]
    mkdir /var/log/apache2
    [PRESERVING EXISTING CGI SUBDIR: /Library/WebServer/CGI-Executables]
    Installing header files
    Installing build system files
    Installing man pages and online manual
    mkdir /Library/WebServer/share
    mkdir /Library/WebServer/share/httpd
    mkdir /Library/WebServer/share/httpd/manual
      Mac OS X (10.4.6)   intel

    Well
    I created /usr/local/apache2/conf/httpd.conf
    Each directory has root wheel user-group assingments, each dir seems to have 755 permissions, and httpd.conf has 644 permissions. Are these correct?
    ls -l /usr/local/apache2/conf/
    total 32
    -rw-r--r-- 1 root wheel 13462 Apr 17 11:40 httpd.conf
    error_log shows
    [Tue Apr 17 08:51:38 2007] [error] (2)No such file or directory: could not create /usr/logs/httpd.pid
    [Tue Apr 17 08:51:38 2007] [error] httpd: could not log pid to file /usr/logs/httpd.pid
    [Tue Apr 17 11:40:55 2007] [error] (2)No such file or directory: could not create /usr/logs/httpd.pid
    [Tue Apr 17 11:40:55 2007] [error] httpd: could not log pid to file /usr/logs/httpd.pid
    nothing in access_log
    Is this enough information ?
    Mike

  • How to evalute the name of an attribute at runtime?

    hi, I have a custom tag that accepts dynamic attributes. I would like to pass attributes names that are defined at run time, by EL, but didn't find a way to do it
    this is what I tried without success
    ${name1} <!-- "email" -->
    ${name2} <!-- "username" -->
    <mytags:customtag>
       <jsp:attribute name="${name1}"> some jsp here </jsp:attribute>
       <jsp:attribute name="${name2}"> some jsp here </jsp:attribute>
    </mytags:customtag>it seems that jsp:attribute name attribute is rtexprvalue="false", so it doesn't evaluate name1 to "email".
    Is there a way to do what I'm trying here?
    Edited by: DMD_ANFINI on Apr 12, 2010 2:23 PM

    You can use dynamic attributes for custom tags created with tag file. Please see the sample code given below;
    <%@ tag body-content=’empty’ dynamic-attributes=’tagAttrs’%>
    <%@ attribute name=’optionsList’ type=’java.util.List’ required=’true’ rtexprvalue=’true’ %>
    <%@ attribute name=’name’ required=’true’ %>
    <%@ taglib uri=”http://java.sun.com/jsp/jstl/core” prefi x=”c” %>
    <select name=’${name}’
    <c:forEach var=”attrEntry” items=”${tagAttrs}”>
        ${attrEntry.key}=’${attrEntry.value}’
    </c:forEach>
    >
    <c:forEach var=”option” items=”${optionsList}”>
        <option value=’${option}’> ${option} </option>
    </c:forEach>
    </select>A * R

  • What's the difference between avariable,attribute & parameter?

    I always confuse with them.

    In order to distinguish the three concepts I'll be simplifying a bit, but here goes.
    A variable is part of the Java programming language.
    "A variable is a name that your program associates with a storage location in memory".
    When talking about variables, as opposed to parameters and attributes, forget Tomcat, the web, and so on. Variables are about Java itself.
    They appear in web pages in scriptlets, if you use them, or in java classes called by .jsp pages, or in servlets.
    Ok, nit-pickers will say that Parameters and Attributes are kinds of variables too, if we use the term in a generic way, but that might confuse an issue I'm trying to simplify.
    Parameters are the original means of passing values between web pages (only Strings can be passed), and are used by all web servers without exception, whereas Attributes are more specific to the Java Servlet and .jsp specifications.
    Parameters are passed in urls such as the totalEggs parameter in this url:
    http://www.somesite.com?totalEggs=3
    or they can be passed in hidden html input fields.
    <input type="hidden" name="totalEggs" value="3">
    in the servlet specification they can be collected by using request.getParameter(), which always returns a String value.
    Attributes are a useful way of passing values between web pages using the Servlet api. Apart from the fact that they are invisible to the web page itself, they can also pass objects, not just String values, which is very useful. You can pass a HashMap, or even a ResultSet, if you want to.
    You set an Attribute at one point in your web application, using either the request or session, and you can collect it at another point (in a .jsp page for example) using request.getAttribute() or session.getAttribute().
    e.g. Let's say you have created a HashMap variable called eggMap, then you set it as an attribute like this, giving the attribute a name that you can use to collect it later:
    request.setAttribute("eggMap", eggMap);
    Since you can send any object this way you must cast to the object you are passing, when you collect it at the other end.
    If you have set a HashMap attribute then you collect it this way:
    HashMap eggMap = (HashMap)request.getAttribute("eggMap");
    Hope I've explained reasonably well.

  • How to find the name of query for a given report

    Hi All,
    I am having the name of a report and i need to find out the name of query for that report . Plz tell me how to find out the name of the query for a given report.
    Thanks.
    Regards,
    Pooja Joshi.

    Use this FM
    RSAQ_DECODE_REPORT_NAME
    This FM takes program name as I/P and gives Query Name as O/P.
    This FM uses the structure AQADEF to fetch the data.
    Hope this helps.
    Regards
    Vinayak

  • Steps to complete the pay run process

    I need steps to complete the pay run process in detail.

    Yes! I have got the answer from Metalink "WHITE PAPER : R12 Payment Process Request - Functional and Technical Information"

  • Reading the name without comma

    Hi All,
              I got a query to resolve.
    the issue is that for example i have a name with a comma (sudheer,)
    i need to read only the name sudheer without the comma .what is the logic for this.
    Good answers will be rewarded points.
    Thanks in Advance.
    Regards,
    sudheer.

    d@mn me and my inability to correctly type in words.
    but yes i ment File.
    It has a listFiles() method and an isDirectory()
    method. With those two and a loop you should be able to do it.
    Lima
    Message was edited by:
    LimaBravo -- trying to type d@mn without it being filtered :S

  • What is  the name of Robohelp's content frame?

    A web browser's Print command provides unpredicatable results
    for users for Robohelp documentation.
    1) You can add a print command to any frame by inserting the
    following javascript command in the hyperlink "Link to:" field for
    the print graphic or text command that you insert :
    javascript: window.print()
    However, for consistency in your documentation, this needs to
    be inserted on every page, or in the header or footer used on every
    page in your manual.
    2) A better solution would be to add a print icon and label
    to the toolbar. (The javacript above enables you to print the
    content of the frame in which it is located - the toolbar; this is
    not useful.) You need to use your skin editor to add a custom item
    to the main toobar. In the Action window, select Javascript, and
    OnClick. Then insert the following javascript command:
    javascript:framePrint('FRAMENAME')
    All you (and I, unfortunately) need to know is the name of
    Robohelp's content frame to make this work. Does anyone know the
    name of the content frame in Robhelp's standard three window frame
    set?

    Welcome to the forum.
    Have you looked at Robowizard's site? Download his Skinny on
    Skins. I think you will find the answer in there.
    http://www.robowizard.com/RoboWizard/NewProject.htm#Downloads/Skinny_on_Skins.htm

  • Jdev - How to set the default format for Attribute Name

    Hi, I am using Jdeveloper 10.1.2.0.0 (build 1811), is it possible to change the format of the attribute name generated such that it follows the name as created in the database?
    For example, if in the database the column name is 'some_column_name' , when you create an entity object, the automatically generated attribute name will become 'SomeColumnName'. Is it possible to make it such that the generated attribute name follow the database column name i,.e 'some_column_name'

    That means i still have to change the name for each attribute?
    Could it make it such that when the entity obejct is created, the name is already following as it is from the database? i.e some_column_name in the database will not become SomeColumnName in the entity object.

  • Cannot view the names under the Main Navigator

    Hello,
    In the Main Navigator we have different type of segments. Under that for each and every segment we have different attributes assigned. For example the segments Food, Chemistry and Metal Processing. And for these we have different attributes assigned Main Industry Food and Main Industry Manufacturing Industry and Application Manufacturing Industry. But I cannot see the names under Manin Industry Manufacturing Industry where as I can see all the names under diffrent attributes. Can anyone help me how to view the names under Main Industry Manufacturing Industry.
    Thnx in advance
    Cheers
    Murali

    Hello Karsten,
    This is Knowledge Management. In the R&D Globe under MainNavigator I get this problem. I have set all the properties under content Management. I cannot view the Allowed Values(csv) under the MainIndustryManufacturingIndustry. Please help me.
    Thnx.
    Cheers,
    Murali

  • I have just overwritten important data, i.e. the names of those who completed the forms.  I need to restore but wasn't able to 'undo'. Please help

    I have just overwritten important data, i.e. the names of those who completed the forms.  I need to restore but wasn't able to 'undo'. Please help

    Hi,
    Unfortunately, it is not possible to retrieve the deleted data. If you have made the changes to the response and closed the response window; new data must have been saved automatically. In future, if you accidentally overwrite any data; please press ctrl+z to undo the change.
    Regards,
    Nakul

  • Cannot backup my files / copy my files and folders due to error message " The operation can't be completed because an item with the name ".DS_Store" already exists. "

    Hi Apple community!
    I have a [rather worrying] problem.
    When I try to copy all my files from my documents on my mac [or the entire documents folder] into an external drive, I get this error message
    " The operation can’t be completed because an item with the name “.DS_Store” already exists. "
    I am not given an option to skip this file or anything else.
    But I simply cannot complete the operation!
    I have tried deleting a few of the .ds_store files, [both in the original and in the destinations]
    but no success.
    The same thing keeps happening.
    At first, this was just happening when I was trying to backup to my dropbox folder [the one on my mac's harddrive, which gets synced to the cloud],
    but then I tried to back up my documents to my external hard drive, and I realized it is giving me the same error message.
    So effectively, it seems I cannot backup my files anywhere!
    Any help or advice would be greatly appreciated.
    Thank you.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

Maybe you are looking for