aspose file tools*
The moose likes Beginning Java and the fly likes HTML and other java info Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "HTML and other java info" Watch "HTML and other java info" New topic
Author

HTML and other java info

Sean Magee
Ranch Hand

Joined: Aug 23, 2004
Posts: 69
Hey there everyone

just wondering if anyone can provide me any info on where i can learn how
java and html work together over the web.

What are the good api's for extracting html data?


Also, how can i get a program to change its code with recompiling itself all the time? I have heard suggestions about property files, but i dont know where to start.

anyone have some helpful info on these subjects or good references?



Thanks everyone,

Sean
[ May 22, 2005: Message edited by: Sean Magee ]
Roger Chung-Wee
Ranch Hand

Joined: Sep 29, 2002
Posts: 1683
Looks like you want to know about JavaServer Pages. Check these out.

http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro.html#wp100465
http://www.coderanch.com/forums/f-50/JSP


SCJP 1.4, SCWCD 1.3, SCBCD 1.3
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
It is probably a bad idea to create code that changes itself and needs to be recompiled. For one thing, compiling takes time. If the project is large enough, the amount of time for recompiling can be significant. It would probably be better to use property files or some other scheme where the changing values can be stored. Can you be more specific about what you are trying to accomplish with this idea? I am willing to bet there is a simpler, and more elegent, solution instead of recompiling the code each time something changes.

Layne


Java API Documentation
The Java Tutorial
Jeff Bosch
Ranch Hand

Joined: Jul 30, 2003
Posts: 804
Property files are the way to go. It's never a great idea to hardcode data into a program -- that's what files are for. If you've downloaded the free Java Tutorial from Sun (which I highly recommend doing if you haven't already), there's a tutorial on how to store and retrieve properties. If you've download the SDK, check the API docs, and the Sun free tutorial on J2EE.


Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
Sean Magee
Ranch Hand

Joined: Aug 23, 2004
Posts: 69
Also, how can i get a program to change its code with recompiling itself all the time? I have heard suggestions about property files, but i dont know where to start.


I meant to say "without compiling itself all the tinme"
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
Originally posted by Sean Magee:


I meant to say "without compiling itself all the tinme"


Heh, that makes more sense. It's strange how much difference one word can make.

Do you have a specific example? If so, we can probably help a lot more if we discuss this in the context of the example.

Layne
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTML and other java info
 
Similar Threads
PDF for simon roberts
how do i create chatrooms
XML library that can 'prettify' XML?
XML, HTML, what's the difference?
Time Need to learn android