User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 402,903 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,105 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 531 | Replies: 2 | Solved
Reply
Join Date: Nov 2006
Posts: 38
Reputation: apontutul is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
apontutul's Avatar
apontutul apontutul is offline Offline
Light Poster

is it possible to link a java file?

  #1  
Aug 31st, 2007
what I mean is that, when I click a hyperlink on a webpage it will call a .java file which will then show "text or image"..is it possible? if yes how?....please suggest.......thanks
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2007
Location: USA
Posts: 2,660
Reputation: Ezzaral is a glorious beacon of light Ezzaral is a glorious beacon of light Ezzaral is a glorious beacon of light Ezzaral is a glorious beacon of light Ezzaral is a glorious beacon of light 
Rep Power: 11
Solved Threads: 262
Featured Poster
Ezzaral's Avatar
Ezzaral Ezzaral is offline Offline
Posting Maven

Re: is it possible to link a java file?

  #2  
Aug 31st, 2007
Yes, this is easily possible with JSP and Servlets. Please post the question over in the JSP forum, which is there for just such questions.
Reply With Quote  
Join Date: Aug 2007
Posts: 74
Reputation: lookof2day is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 9
lookof2day lookof2day is offline Offline
Junior Poster in Training

Re: is it possible to link a java file?

  #3  
Aug 31st, 2007
A .java file is a source file i.e., a text file so only the java source code will be visible.

In case you want to load an Image or some other text use Java Applet programming. You can find a good amount of examples with the JDK installed on your system. Go to <JDK_HOME>/demo and run the demo applications provided. Its the best place to get started with Java applications and learn Java Programming by looking the source code and then writing your own.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Java Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Java Forum

All times are GMT -4. The time now is 3:19 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC