Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2006

Tip: Looking for answers? Try searching our database.

passing values from a java file to a webpage

Thread view: 
leorulez@gmail.com - 28 Feb 2006 22:11 GMT
I have a java program which can pass values (d_name,item) to any file
that I desire. I chose html and after linking this html file with the
java program, when I open the html file the address bar is something
like this:

"http://abcd.org/test.html?op=add&d_name=NAME&item=data@19b9e1e"

I want to use these passed values in my html file. Is there any way I
can refer to these passed arguments? Is there any other good choice
like perl with which I can do this?
Thanks for any help.
Monique Y. Mudama - 28 Feb 2006 22:25 GMT
> I have a java program which can pass values (d_name,item) to any
> file that I desire. I chose html and after linking this html file
[quoted text clipped - 6 lines]
> I can refer to these passed arguments? Is there any other good
> choice like perl with which I can do this?  Thanks for any help.

Are you asking how, in HTML, to refer to arguments provided via GET?

Signature

monique

Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html

leorulez@gmail.com - 01 Mar 2006 18:48 GMT
I wanted to know how to refer the arguments provided by Java in the
HTML page. I was wondering if I need to include any statement within
Java program.

> > I have a java program which can pass values (d_name,item) to any
> > file that I desire. I chose html and after linking this html file
[quoted text clipped - 14 lines]
> Ask smart questions, get good answers:
> http://www.catb.org/~esr/faqs/smart-questions.html
Thomas Weidenfeller - 02 Mar 2006 08:06 GMT
> I wanted to know how to refer the arguments provided by Java in the
> HTML page. I was wondering if I need to include any statement within
> Java program.

Applet.getParameter(). Please read the API documentation, that answers
such questions in a second.

/Thomas
Signature

The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.