Model 2 architecture only works with forms?

Hi,
I want to implement model 2 architecture for my application i have model as java classes, Controller the servlet and JSP the view.
I want to know if this architecture is only for forms?.
I want to implement for a event like when a hyper link is clicked then some method in my Java class is invoked and the result displayed on JSP.
Can this be implemented using model 2 architecture ?
Thank you.

I want to know if this architecture is only for forms?.Forms are irrelevant.
They just provide a way to enter and submit parameters from the user.
You can just as easily use hyperlinks with parameters encoded on the URL. The server side handling for retrieving parameters remains the same: request.getParameter().
However there are a couple of limitations because Hyperlinks can only use HTTP "GET", where forms can use HTTP "POST" as well.
- parameters will be visible in the address bar
- you have a limitation on a length of the parameters (Post doesn't have this limitation)
The Model2 architecture is completely independant of whether you use get or post to submit your parameters. What makes it model2/mvc as opposed to model1 is that you run through a servlet layer, rather than doing absolutely everything in JSPs
Cheers,
evnafets

Similar Messages

  • Rotate tool not working in cs6. It says "Could not complete your request because it only works with OpenGL enabled document windows." Its worked fine in the past....

    Rotate tool not working in cs6. It says "Could not complete your request because it only works with OpenGL enabled document windows." Its worked fine in the past....
    -CharlieH23

    Copy and paste only this area, you may have to scroll down.
    Adobe Photoshop Version: 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00) x64
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:10, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
    Physical processor count: 2
    Logical processor count: 4
    Processor speed: 2494 MHz
    Built-in memory: 6019 MB
    Free memory: 3360 MB
    Memory available to Photoshop: 5227 MB
    Memory used by Photoshop: 60 %
    Image tile size: 128K
    Image cache levels: 4
    OpenGL Drawing: Enabled.
    OpenGL Drawing Mode: Advanced
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    OpenGL Allow Old GPUs: Not Detected.
    OpenCL Version: 1.2
    OpenGL Version: 2.1
    Video Rect Texture Size: 16384
    OpenGL Memory: 2112 MB
    Video Card Vendor: Intel
    Video Card Renderer: Intel(R) HD Graphics 4000
    Display: 1
    Display Bounds: top=0, left=0, bottom=768, right=1366
    Video Card Number: 1
    Video Card: Intel(R) HD Graphics 4000
    Driver Version: 10.18.10.3958
    Driver Date: 20140930000000.000000-000
    Video Card Driver: igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igdumdim32,igd10iumd32,igd10iumd32
    Video Mode: 1366 x 768 x 4294967296 colors
    Video Card Caption: Intel(R) HD Graphics 4000
    Video Card Memory: 2112 MB

  • Ipod Classic 160 6th g. doesn't sync w/Imac g5 non intel OS 10.4.11. This is a replacement for same ipod which was stolen recently. That pod worked fine with Itunes 9! Now this pod says it only works with Itunes 10.7. ***!!!! Why has Apple screwed up?

    My ipod classic 160 6th gen. was recently stolen. It had 3000 tunes on it and it synced perfectly with Itunes 9 on my Imac G5 non intel OS 10.4.11. So I recently bought same model and guess what, it doesn't sync at all. Now message says it only works with Itunes 10.7 and up. I certainly cant afford to buy a new intel based Mac and I really dont need a new pc. It feels like Apple has dropped the ball on its long time users and tough luck to you and all the $$$$$$$ spent on downloading songs and buying ipods over the years! I AM SO ANGRY THAT I CANNOT BRING MY MUSIC WITH ME ANYMORE. I dont know if there is any solution to this except being extorted to upgrade to new tech! I have been trying to get answers to this issue but nothing seems to work. Any help would be greatly appreciated. I am not a tech genius so extremely techy solutions will be in vane.

    one more detail, after a restore, when I attempt to reload music to the ipod, if I try and move, say, 20 files, the transfer seems to work as it should but then stalls on the last file.  Eventually, the status will change to "Updates Files on (my ipod)" a and suggests the iPod is syncing  even though I have the auto sync feature turned off.
    This process eventually works itself out, and seems to take longer relative to the number of files I attempt to transfer.   Once done, howver, if I try and eject and dismount the iPod, iTunes stalls with the spinning pinwheel and I am warned that the iPod is syncing again with the spinning candy cane status bar.     Eventually thisd works itself out and the iPod dismounts from iTunes and the desktop and eventually the iPod is free to disconnect.
    Then if I try and play the music I just transfered, the iPod says there is no music loaded.
    Ideas?

  • Help my MBP 2011's USB ports only work with powered devices

    Hey.
    My USB ports are only working with powered devices ( such as an interactive white board) they are not working wiht a USB modem, it picks up but doenst have the energy to dial out. it also doesnt work with a flash drive.
    this is only recent after i updated non vital programs such as printer things.
    now the other problem is that i have not updated this too recently but i dont mind losing some info.
    ps. i have done all of the restarts such as smc, ram. pram. the only thing i have not done is take out the batt. but thats becuase its really hard to do and there are warnings all over it saying dont remove.
    p.p.s i am running snow10.6.8
    Please help becuase i need it to help teach some of my stundets and not being able to use a USB or the internet to research is impeeding my planning.
    Thanks so much in advance
    Andrew

    One final detail. it is a 2011 early model. if there is any more details that you want please ask. i am very desperate because i dont want to take it to apple unless i have to.

  • Hd intel 4000 code 43 on windows 8.1 - It only works with an older driver version

    Hi there I have an HP Pavilion Sleekbook 14 PC (HP Pavilion Ultrabook 14), with  a 18FA motherboard - version 82.23,  F.12 Bios, and a Intel(R) HD Graphics 4000.  The graphic card only works with the 9.17.10.2932 (12/12/2012) driver, and everytime I try to update to a newer driver version, it shows the "Code 43" error. Does anyone knows how to update the drive and solve the "Code 43" error? Without solving this issue, I can't install the Windows 10. I've tried to update to Windows 10, but it doesn't run this old graphic display driver and it only gives me a blue screen, and if I install a new driver version, there it comes the "Code 43" error. Thank you, guys.

    Hi  ,
    Thank you for visiting the HP Forums! A great place where you can find solutions for your issues with help from the community!
    I came across your post about the Notebook, and wanted to assist you! I have looked into your issue about your HP Pavilion14 Sleekbook and issues with the Drivers for Windows 8.1. If your computer is having problems finding and installing operating system updates, try using the Windows Update Troubleshooting tool to fix the problem.
    I would be happy to assist if needed. How Do I Find My Model Number or Product Number?
    Please let me know.
    Thanks.

  • I bought this iPhone from Apple Retail Store for the full amount, but  it does not work with my SIM card only works with AT&T

    Hello,
    I have an iPhone 4S 32Gb White AT&T, product part No. MC921LL/A, Serial No. C39GMLPWDTDC
    I bought this iPhone from Apple Retail Store (from Fifth Avenue, NY) for the full amount. Now it does not work with my SIM card only works with AT&T. I restored the phone several times, but I have not received "Congratulations your iPhone has been unlocked". Please activate my iPhone to work with different SIM cards
    Thanks,
    Best Wishes

    When did you buy it?
    Apple did not begin selling an unlocked version of the iPhone 4S in the US until 11/11/11. I believe it went on sale only through the online store at that time. I'm not sure if it's available at retail yet.
    What you purchased was a phone without a contract commitment. It is still locked to AT&T. AT&T will NOT unlock iPhones for any reason.  Return it and get your money back, then use that to purchase an unlocked phone.

  • Can't sign in using any 3rd party email client with my iCloud account on any Mac. Tried every settings, My iCloud only works with Mail.app

    Can't sign in using any 3rd party email client with my iCloud account on any Mac or any other Mac. My iCloud will only work with Mail.app. All the clients I tried work perfectly well as long as I sign in with somebody else's iCloud account. But mine won't work no matter the client (Postbox, Unibox, Airmail...) and no matter the computer.
    I can access my account on iCloud.com, but I can't use email clients without getting error messages prompting me to check my password or login.
    I was able to use those clients in the past but a couple of months ago I got logged out of Airmail and the issue started just like that!
    I tried every possible mail server settings including the following:
    IMAP information for the incoming mail server
    Server name: imap.mail.me.com
    SSL Required: Yes
    If you receive errors when using SSL, try using TLS instead.
    Port: 993
    Username: The name part of your iCloud email address (for example, emilyparker, not [email protected])
    Password: Your iCloud password
    SMTP information for the outgoing mail server
    Server name: smtp.mail.me.com
    SSL Required: Yes
    If you receive errors when using SSL, try using TLS instead.
    Port: 587
    SMTP Authentication Required: Yes
    Username: Your full iCloud email address (for example, [email protected], not emilyparker)
    Password: Your iCloud password

    Those are the correct settings, and they work with any email client that supports Imap.
    Try again.

  • I am using Windows 7 64-bit on a partitioned hard drive on a MacAir.  The trackpad will only work with a click.  How do I get the full function of tap and scroll?

    I am using Windows 7, 64-bit on a partitioned hard drive on a  2012 MacAir.  The trackpad only works with clicking.  How do I get the full function of tap and scroll? (I have this on a 2011 Mac Pro with 32 bit Windows 7 and it works properly.)

    Windows Control Panel>Boot Camp Control Panel>Trackpad.

  • Boot Camp won't make a Windows XP driver disc, OS X disc only works with Win7

    First time Mac user. Just got a new Macbook Pro.
    I have successfully installed Windows XP on the Mac using Boot Camp. But I need the driver disc. The right mouse button doesn't even work and Windows is impossible to navigate without that. The disc eject button does not work, one has to eject a disc using laborious menus. Very frustrating.
    When I run Boot Camp it only has the option to make a Windows 7 driver disc. I don't see any way to make a driver disc for Windows XP.
    Everywhere I have searched on the Net the information says to put the OS X Leopard disc in the drive when WinXP is running and it will automatically install drivers. When I try that a window comes up saying it only works with Windows 7.
    This web site shows screen shots of a Beta version of Boot Camp that makes Windows XP drivers discs.
    http://www.askdavetaylor.com/how_do_i_install_windows_xp_on_my_mac_using_boot_ca mp_1.html
    How can I make a Windows XP driver disc?
    I really hope Apple didn't discontinue/eliminate the option to make a Windows XP driver disc altogether, forcing everyone to use Windows 7 only...
    Is there a way to install an older version of Boot Camp over the latest version I'm running? Where would I find it?
    Macbook Pro
    OS X 10.6.7
    Boot Camp 3.0.4
    Thank you for your time in helping me on this.

    The retail OS X 10.6.3 DVDs unlike your OEM DVD does have a complete set of drivers for $29 w/o having to deal with questionable bitorrent.
    Microsoft EOL'd XP and Vista SP1.
    Your Mac has Intel Thunderbolt and you don't see Apple doing backward compatibility. You can't run 10.5 on new Mac. So yes it comes with those limitations, but XP is also 20x more vulnerable, IE9 is more secure and XP has not kept up with the latest hardware, besides which I don't see a place or need for a 32-bit OS, any platform today.

  • When trying to install an extension for InDesign CC 2014 I get an error message saying that the extension only works with version 7.0 or greater. My version is 10.0.0.7 x64 Build I was using this extension fine with InDesign CC

    When trying to install an extension for InDesign CC 2014 I get an error message saying that the extension only works with version 7.0 or greater. My version is 10.0.0.7 x64 Build I was using this extension fine with InDesign CCError message with InDesign CC 2014

    Used the 64bit version before CC 2014 as well so don't think that's the issue. Here is the text in the .mxi file if I have missed something:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <macromedia-extension id="PrintUI Tools" name="PrintUI Tools" requires-restart="true" version="3.0.0">
      <author name="PrintUI.com"/>
      <description/>
      <license-agreement/>
      <products>
        <product maxversion="" name="InDesign" primary="true" version="7.0"/>
      </products>
      <files>
        <file destination="" file-type="CSXS" products="" source="PrintUIManagement.zxp"/>
      </files>
      <update url="http://printui.com/public/downloads/updates/printui_tools_update.xml"/>
    </macromedia-extension>

  • I purchased Adobe photoshop elements II and Adobe premiere elements II. They are both on one disc. My computer crasded and I had to reload Windows. I only have one serial number and it only works with photoshop II. The same serial number will not work for

    I purchased Adobe photoshop elements II and Adobe premiere elements II. They are both on one disc. My computer crasded and I had to reload Windows. I only have one serial number and it only works with photoshop II. The same serial number will not work for Premiere. I dont have any other serial numbers. What do I do???

    Static_Unit
    I am getting a bit concerned about what is happening in your situation. Yesterday you posted your question in at least two different forums, one of them being here in the Premiere Elements Forum.
    Don't Have Serial Number for Premiere, Only Photoshop?
    Wherever you posted, the reply was to contact Adobe via its Adobe Chat. It is the only one who can sort out this matter for you.
    In the thread cited above I offered to help you with the difficulties that you were having visualizing the Adobe Chat in its web page. I was waiting for your follow up on that in the above thread. Instead, I find your same question in a new Adobe Premiere Elements Forum thread this afternoon with no refer the prior threads or prior recommendations given you.
    I will also mention again...when you buy the Photoshop Elements and Premiere Elements bundled in one packaging and with installation files for each on the same installation disc, each program has its own serial number. The Photoshop Elements serial number does not work for Premiere Elements and vice versa. The serial numbers are on labels on a box which houses the installation disc envelope(s). So, if you purchased both programs and found the Photoshop Elements serial number, then the Premiere Elements serial number should be in a label right underneath the label with the serial number for Photoshop Elements. I recall writing this in your yesterday's thread on this matter.
    The moderator will no doubt be along shortly to close or delete this thread. So, just in case, please bookmark your yesterday's thread cited above so that we can continue this communication which is trying to help you.
    Thanks.
    ATR

  • I had an iphone 4s and it worked nice with facetime and imessage using my phone number but  it was stolen on December so I buy a new iphone 4s using the same cellphone number  but now imessage and facetime does not work with my number, it only works with

    I had an iphone 4s and it worked nice with facetime and imessage using my phone number but  it was stolen on December so I buy a new iphone 4s using the same cellphone number  but now imessage and facetime does not work with my number, it only works with my apple ID.   Please Help me I speak Spanish so  if my English is not ok  I´m sorry about it.
    Do you think that apple has to   reset in their database of the old serial number attached with my phone number and that’s why I can´t activate imessage and facetime with my number in the new iphone 4s?? 

    I understand all of this Meg; that is why I bought an Iphone; but never expected my phone not even give a at least a 24 or even 12 hours....I work 12 hour shifts and also would expect to have to charge each night but not twice a day or more.  I am not always somewhere I can charge my phone.
    Your points are true; however it doesn't help me......

  • Can I connect my iPad mini to a data projector using a lightning to 30-pin adapter connected to a 30-pin to VGA connector? Or will this only work with a lightning to VGA connector.

    Can I connect my iPad mini to a data projector using a lightning to 30-pin adapter connected to a 30-pin to VGA connector? Or will this only work with a lightning to VGA connector?

    The lightning to 30 pin adapter does not support video as per the item description in the Apple online store:
    http://store.apple.com/us/product/MD823ZM/A/lightning-to-30-pin-adapter
    This adapter lets you connect devices with a Lightning connector to many of your 30-pin accessories.* Supports analog audio output, USB audio, as well as syncing and charging. Video output not supported.
    You will need to the Lightning to VGA adapter directly
    http://store.apple.com/us/product/MD825ZM/A/lightning-to-vga-adapter?fnode=3a
    Or the Lightning Digital AV Adapter
    http://store.apple.com/us/product/MD826ZM/A/lightning-digital-av-adapter
    If the projector supports HDMI input.

  • External monitor only works with clam shell open

    external monitor only works with clam shell open

    Are you using the method in this Apple article? If you do, it should work.
    Mac notebooks: How to use your computer in closed clamshell (display closed) mode with an external display

  • I am from turkey and Iphone4 can be used Turkcell and vodafone(carriers) in turkey but i bought my iphone in usa and it only works with at&t.Is there anything i can do to use my iphone with turkcell or vodafone?

    I am from turkey and Iphone4 can be used Turkcell and vodafone(carriers) in turkey but i bought my iphone in usa and it only works with at&t.Is there anything i can do to use my iphone with turkcell or vodafone?

    No. Return it and get your money back if still within the 30 day return window. All US iPhones are carrier locked and cannot be officially unlocked.

Maybe you are looking for

  • Iphone 4s won't sync to iTunes. Unknown Error (-54)

    I have Windows 8.1 and this is not the first time I've received this error. I have uninstalled and reinstalled iTunes, I have completely reset my phone, and I keep having this issue pop up. All I'm trying to do is sync music onto my phone, and it nev

  • How to pass a document as an attachment to a BPEL process?

    Hi Guys, Currently I have a BPEL process that get's invoked from a JSP page with some scriplets in it. The following bit of code calls the BPEL process in the JSP scriplet: try{        String givenNames = request.getParameter("givenNames"); String se

  • Call a smartform in the SAP R/3 from portal

    Hi Friends My requirement is to call a smartform in SAP R/3 from a portal application. Please guide on how to connect to SAP R/3 and print the smartform from portal. Regards, Saran

  • SSIS Package execution error from powershell

    Hi I have written a powershell script to exec SSIS packages. I am passing variable values at runtime by reading it from a text file. But it throws an error. Here is my script. #Read Data from Parameter File $variable=Get-Content D:\Batch\Bin\ETLParam

  • Message: This library was created with unreleased version of iPhoto. HELP.

    The message goes on to say, open in iPhoto 2 or 4 before trying to upgrade to 6. I have numerous Libraries on external RAID. All opened fine under 5. I certainly never had unreleased version of any Apple program, nor do I know where to get copy of iP