Ask Experts Questions for FREE Help !
Ask
    akshaykulkarni's Avatar
    akshaykulkarni Posts: 1, Reputation: 1
    New Member
     
    #1

    Jun 6, 2009, 11:04 PM
    Applets and Jsps - calling and passing parameters
    I have an applet which calls lots of jsps from within itself. There are many parameters being passed to the jsp pages. Currently, the parameters are passed by forming a query string, making a URL object and calling the showDocument method on the AppletContext. But this is a concern from application security point of view. I would like the parameters to be passed without displaying the same in the url. Is there a way to do that? Is it possible to POST the parameters from inside the applet? If there is, can anyone please provide an example so that I can try to use the same?

    I have to find a solution by tomorrow.

    Thanks in advance.
    LanMan's Avatar
    LanMan Posts: 14, Reputation: 1
    New Member
     
    #2

    Jun 9, 2009, 11:04 AM
    Take a look at the Apache HttpComponents project (HttpComponents - HttpComponents Overview). You can do a post using some of the classes it contains. Another option would be to use JavaScript. Have the applet, via Javascript, complete and post an HTML form. This would be a bit more involved though.

    p.s. there is an example of a basic POST using the HttpComponents at the Apache site. Just click on the 'examples' link on the left side menu.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

2weeks late & passing passing clots [ 1 Answers ]

My period is weeks late and yesterday I had some bad cramping. I had some light bleeding & then I passed to large clots. I have never had any clots this size before. I am still bleeding. Is this just a late period or am I having a miscarriage ?

Java Applets do not run [ 3 Answers ]

Here's my problem(s): When using Quicken 2008 rev. 9: I try to talk to my bank to download information. It fails and I get an error message back saying that Java is not enabled. Windows XP, Professional SP3: I checked under IE > Tools> Internet Options > Manage Add Ons - and find...

Closing jsps from an applet [ 1 Answers ]

I have an applet which launches the jsp in a new window using showDocument method. When I exit from an applet, all jsps launched from an applet should also get closed.

About applets [ 1 Answers ]

can any one suggest me a method to get the values in the dialog box using applets(Swing technology)... I desperately need it for my seminar..

Can't view Java Applets! [ 2 Answers ]

Hey Everybody, I have Juno (5.0) installed on my PC (Windows 98SE), and I also use Internet Explorer 6.0. I did go to http://www.java.com to make sure everything is up-to-date. I have JVM 1.4.2 installed. When I view web sites with java applets on them, they work fine. The problem is when I...


View more questions Search