Can a a href act as a "submit" too?

Hi all.
I need my <a href> to act as a "submit" button too so when i press the link i will also send parameters to a Servlet.
can i do it ?
I wrote this in my Jsp but it dosn't work:
<a href="<%=url%> name="submit" <%=name %"></a>
Pls help...

Hi ash.
U wrote:
Try using the following script in the html where the parameters are >needed (i.e. the called page)Dear Ash.
The a href opens the html file that the a href itself represnting.
This html file isn't one of my project files. it's a regular html file on the net.
Therefor when i click on it, a new window is opened (no parameters are passing to this html...), and i want that click to also send parameters to my servlet. So? what now? put the script in my servlet instead the
request.getParameter(...) ?
This is what i tried to do in my Jsp:
<form action = "/servlet/Search.HTML.getSearch">
// I tried with the "HIDDEN" Types and without them with no succcess.
<INPUT type= "HIDDEN" name=recipe_name value="<%=recipe_name%>">
<INPUT type= "HIDDEN" name=recipe_url value="<%=recipe_url%>">
<INPUT type= "HIDDEN" name=site_name value="<%=site_name%>">
<a href="<%= recipe_url %>?recipe_name=<%=recipe_name%>?recipe_url=<%=recipe_url%>?site_name=<%=site_name%> name="submit"<%=recipe_name%</a">In my servlet i get null in all the parameters...
Hope u (or any1 else) have an answer.
Cheers.</a>

Similar Messages

  • Strange. I can play all my clips in FCP 7, but can not export them via share, nor submit them via Compressor. What happened? Thank yiou for your kind help, I can not continue my work! FCP 7!

    Strange. I can play all my clips in FCP 7, but can not export them via share, nor submit them via Compressor. What happened? Thank yiou for your kind help, I can not continue my work! FCP 7!

    When FCP/FCS begins to act unexpectedly, the usual first step is to trash your preferences:
    https://discussions.apple.com/docs/DOC-2491
    MtD

  • In Finder, can the "Return" key act as "Open" instead of "Rename" ?

    In Mail the "Return" key act as "Open"
    In iTunes "Return" act as "Play"
    But in Finder "Return" act as "Rename" instead of "Open" ?
    Can we make "Return" act as "Open" ?
    Thanks

    You can try this
    http://pqrs.org/macosx/keyremap4macbook/

  • Can a single OHS act as proxy for 2 different WLS host?

    Can a single OHS act as proxy for 2 different WLS host? If yes how to do that?
    And also a single webgate can be used to protect two hosts???

    yes.
    <IfModule mod_weblogic.c>
    MatchExpression /<URI> WebLogicHost=<hs1>:<port>
    MatchExpression /<URI> WebLogicHost=<hs2>:<port>
    </IfModule>
    Sean Bu

  • My eBay pages don't work properly. There are parts missing. The symbols on the My eBay page have gone. The £ paid sign, checkout, feedback, and probably more. I can't list an item as the submit button has disappeared. It all works fine on IE.

    My eBay pages don’t work properly. There are parts missing. The symbols on the My eBay page have gone. The £ paid sign, checkout, feedback, and probably more.
    I can’t list an item, as the submit button has disappeared.
    It all works fine on IE. I’ve uninstalled and reinstalled Firefox, but still the same.
    How can I regain my missing bits please.
    Thanks

    Can you attach a [http://en.wikipedia.org/wiki/Screenshot screenshot]?
    Use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed the maximum file size (1 MB).
    See http://kb.mozillazine.org/Websites_look_wrong
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Can I get Href attributes in HTML page ?

    Can I get Href attributes in HTML page ?
    I want to get HTML's table include href.
    I want to get columns "item", "item href", "value" from below table in a HTML web page.
    <table>
    <thead>
    <th>item</th>
    <th>value</th>
    </thead>
    <tbody>
    <tr>
    <td><a href="http://xxx.com/blue">item blue</a></td>
    <td>10</td>
    </tr>
    <tr>
    <td><a href="http://xxx.com/red">item red</a></td>
    <td>20</td>
    </tr>
    </tbody>
    </table>
    Regards,
    Yoshihiro Kawabata

    Hello Ben, I'm using some methos Web.Contents+Text.FromBinary+Text.Replace+Web.Page for href on HTML.
    source1 = Web.Page(
    Text.Replace(
    Text.Replace(
    Text.FromBinary(
    Web.Contents(url)),
    "href=""",
    ">"),
    "q=xx"">", "q=xx,")),
    This query transform href attribute to text in specific HTML.
    Original:
    <table>
    <thead>
    <th>item</th>
    <th>value</th>
    </thead>
    <tbody>
    <tr>
    <td><a href=http://xxx.com/blue?q=xx>item blue</a></td>
    <td>10</td>
    </tr>
    <tr>
    <td><a href="http://xxx.com/red?=q=xx">item red</a></td>
    <td>20</td>
    </tr>
    </tbody>
    </table>
    Result:
    <table>
    <thead>
    <th>item</th>
    <th>value</th>
    </thead>
    <tbody>
    <tr>
    <td><a>http://xxx.com/blue?q=xx, item blue</a></td>
    <td>10</td>
    </tr>
    <tr>
    <td><a>http://xxx.com/red?q=xx, item red</a></td>
    <td>20</td>
    </tr>
    </tbody>
    </table>
    Regards,
    Yoshihiro Kawabata

  • Can apple time capsule act as a wireless hard drive storage by Samsung smart tv?

    Can apple time capsule act as a wireless hard drive storage by Samsung smart tv? Samsung smart tv is connected to apple time capsule through wireless  as a modem at the moment

    If you look on the right side there pops up similar questions.. which works better than search btw..
    https://discussions.apple.com/message/16432256#16432256
    The Samsung.. may not be able to see the Time Capsule hard disk..
    because it does not contain any files it can read.
    because it is not conformed to standard SMB file system.. the TC name is often illegal.. remove all spaces and special characters and keep it short.
    Same for wireless name and all passwords.
    There is no media player in the TC so it is useless for your TV even if it can see the hard drive .. the TC is a dumb backup device.

  • If I make a genius bar reservation for iPhone problems, can the Apple tech look at my MacBook too?

    If I make a genius bar reservation for iPhone problems, can the Apple tech look at my MacBook too? please help! thanks!

    Be sure to indicate you are bringing both in for service.

  • I can't open my document on Page 09 (too old !), so what ?

    I can't open my documents on Page 09 (too old !), so what ?
    I just buy a new imac and grrrrr

    Pages 5 can not open Pages '08 files, you must first open and resave them in Pages '09.
    Pages 5 may actually damage files opened from previous versions, proceed with caution and don'r save until you have checked them.
    Read the reviews of Pages 5, it is not an upgrade as such, much more a downgrade.
    Peter

  • HT4205 Can I update my iPod touch 2nd generation with iOS 4.2.1 to restore the iOS  to a new and improved iOS? Can I go from iOS 4.2.1 too iOS 5.0.

    Can I update my iPod touch 2nd generation with iOS 4.2.1 to restore the iOS  to a new and improved iOS? Can I go from iOS 4.2.1 too iOS 5.0.

    All you can do is get a newer model iPod. The 2G can only go as high as 4.2.1. Its hardare does not support a higher iOS version

  • When I go to my iTunes Store and download something, for some reason it's not letting me download app it's saying there's a billing issue, when I correct it, it's says contact iTunes/ support can someone please help me, I really want too listen to paying

    When I go to my iTunes Store and download something, for some reason it's not letting me download app it's saying there's a billing issue, when I correct it, it's says contact iTunes/ support can someone please help me, I really want too listen to paying

    You need to do as provided - contact iTunes Store support.
    http://www.apple.com/emea/support/itunes/contact.html

  • Having a hard time installing the latest verison of i-tunes. my laptop can't find the path ITUNES64.MSI" WHAT TOO DO NEED HELP . uninstall the old one now i can't install the new one..heip

    can"t install lastest verison of itunes. path too ITUNES64.MSI" unable to find. uninstall tunes and still having the same problems
    what do i do to reinstall itunes????

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • I purchased OSX 10.8 can I put it on my wifes computer too even though she has a different apple ID?

    I purchased OSX 10.8 and it is on 2 of my computers can I put it on my wifes computer too even though she has a different apple ID?

    The OS X license states that you can install it on as many computers as YOU own and control. So, technically speaking, your wife needs to get her own license; however, if you both use the same Apple ID......
    FWIW, the license is not transferable, so if you sell/gift your computer, you must uninstall it and reinstall the original system (or the buyer will encounter major problems such as not being able to reinstall the OS if necesssary).

  • Bluetooth Wireless Apple Keyboard comes with Energizer batteries? Can't seem to register my new keyboard too.

    Bluetooth Wireless Apple Keyboard comes with Energizer batteries? Can't seem to register my new keyboard too.
    I bought this new keyboard from the Ala Moana Store and was surprised to open the sealed box with two Energizer AA batteries inside. I didn't know batteries were supplied. The road clear plastic seal over the battery door was also missing. I am a little suspicious that this was a resealed return item.
    The next thing I am trying to do is get it registered (like all my other apple items) just in case this turns out to be a lemon, but I can't seem to find a way to add it to my other items. There's no category 'Bluetooth' or 'Keyboard' in the equipment selection list.
    So here's my question, did I get a used item that was resealed and put on the shop shelf? Someone else paid for this so it isn't showing up on my list of items. I would like to add it.
    Thanks.
    Mike

    Hello Mik:
    You cannot register a KB.  Apple does not keep a database of peripheral devices.
    I would question the store about the unwrapped batteries....  I would suspect that the device was returned by someone else.
    Barry

  • I purchased lightroom for my mac desktop, can i download it to my macbook pro too?

    I purchased lightroom for my mac desktop, can i download it to my macbook pro too?

    Install it just as you did on your Mac desktop.
    Which version?
    You can download from Adobe
    Adobe - Lightroom : For Macintosh
    Install then enter your serial number. That's it.

Maybe you are looking for

  • Report Print Order

    Post Author: gsrk CA Forum: General I am creating a Pack Slip using a crystal repot and i am running in to a problem in the Print Order.  I've created a simple report to show a carton items for a shipment and the report is grouped by carton ID (datat

  • Change from expired .mac apple ID to a new .me?

    I set up my iPad using my apple ID which is my expired .mac address. I'd like to set up a .me email for iCloud that I can actually use but keep my apple ID for iTunes purchases. Everything I've read says to do this when you first set up the iPad....

  • ITunes wants to replace IPod contents with New Laptop Library

    Help please guys. Please bear with me while I will try and explain what my problem is. Purchased new laptop, loaded ITunes, authorised laptop as the 3rd of my 5 allowable computers, then finally transferred all purchased content to my Laptop via my I

  • Apps do not remember full screen mode

    When I open a app, like Safari, and I go to full screen mode the app works great. When I'm done, I close the app and after a while I open it again. In my case it will open the app, but it will open in the "normal" mode, not the full screen mode. Anyo

  • IPhoto won't recognize my iPhone

    hi hello, all of suddenly my iPhone 3GS will not appear in my iphones when i sync to my iMac. Now I can't retrieve any photo's I've taken. There was no preference changes, and I already tried Applications>Image Capture>Preferences>Camera:when a camer