AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

to open new window of JSP on the applet

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Sat Oct 28, 2006 7:11 am    Post subject: to open new window of JSP on the applet Reply with quote



Hi,
I want to know is there is any way to open the new window of jsp
when ever i clicked on the applet. I had tried by using url but didn't
get web page.By this i get only html tags nothing beyond that.That is
not my requirement.Will give syntax for getting jsp page on applet.
ThanQ.
-Sree
Back to top
Andrew Thompson
Guest





PostPosted: Sat Oct 28, 2006 7:11 am    Post subject: Re: to open new window of JSP on the applet Reply with quote



sree.it (AT) gmail (DOT) com wrote:
Quote:
Hi,

Hello ..again.

Please refrain from multi-posting in future.

(X-post to c.l.j.h./p., w/ f-u to c.l.j.p. only)

Andrew T.
Back to top
Manish Pandit
Guest





PostPosted: Tue Oct 31, 2006 8:10 am    Post subject: Re: to open new window of JSP on the applet Reply with quote



Quote:
Will give syntax for getting jsp page on applet.

For that your applet needs to be able to parse and render the HTML that
you get from the server. If you are fetching a JSP *as is*, you will
get the whole JSP source code. If you are accessing it via an
application server (protocol://server:port/resource), you will get a
processed JSP (HTML code) and the applet/receiver need to be able to
parse it - pretty much like a mini browser. Hope this helps.

-cheers,
Manish
Back to top
rajbala.3399@gmail.com
Guest





PostPosted: Tue Oct 31, 2006 8:11 am    Post subject: Re: to open new window of JSP on the applet Reply with quote

Manish Pandit wrote:
Quote:
Will give syntax for getting jsp page on applet.

For that your applet needs to be able to parse and render the HTML that
you get from the server. If you are fetching a JSP *as is*, you will
get the whole JSP source code. If you are accessing it via an
application server (protocol://server:port/resource), you will get a
processed JSP (HTML code) and the applet/receiver need to be able to
parse it - pretty much like a mini browser. Hope this helps.

-cheers,
Manish


Hai manish,
Thanks for ur help.It somewhat Helps me.But i
didn't get clearly. Would you please send a piece of code for this.
Ur help must be appreciated.
Back to top
Paul Hamaker
Guest





PostPosted: Tue Oct 31, 2006 2:15 pm    Post subject: Re: to open new window of JSP on the applet Reply with quote

You can request a browser to get and show a URL with showDocument.
http://javalessons.com/cgi-bin/fun/java-tutorials-main.cgi?sub=gui&ses=ao789
: g58.
If the jsp results in HTML3.2, you can embed it using JEditorPane.
http://javalessons.com/cgi-bin/fun/java-tutorials-main.cgi?sub=gui&ses=ao789
: g42.
--------------------
Paul Hamaker, SEMM, teaching ICT since 1987
http://javalessons.com
Back to top
Andrew Thompson
Guest





PostPosted: Tue Oct 31, 2006 2:34 pm    Post subject: Re: to open new window of JSP on the applet Reply with quote

Paul Hamaker wrote:
Quote:
You can request a browser to get and show a URL with showDocument.
http://javalessons.com/cgi-bin/fun/java-tutorials-main.cgi?sub=gui&ses=ao789
: g58.
If the jsp results in HTML3.2, you can embed it using JEditorPane.
http://javalessons.com/cgi-bin/fun/java-tutorials-main.cgi?sub=gui&ses=ao789
: g42.

Deja Vu!

Is that a second try? Or did you forget you already
said much the same thing, on the same subject,
to the same OP - on a different group?
<http://groups.google.com/group/comp.lang.java.programmer/msg/c9eaf0080324e7ba>

Andrew T.
Back to top
rajbala.3399@gmail.com
Guest





PostPosted: Tue Oct 31, 2006 8:40 pm    Post subject: Re: to open new window of JSP on the applet Reply with quote

Andrew Thompson wrote:
Quote:
Paul Hamaker wrote:
You can request a browser to get and show a URL with showDocument.
http://javalessons.com/cgi-bin/fun/java-tutorials-main.cgi?sub=gui&ses=ao789
: g58.
If the jsp results in HTML3.2, you can embed it using JEditorPane.
http://javalessons.com/cgi-bin/fun/java-tutorials-main.cgi?sub=gui&ses=ao789
: g42.

Deja Vu!

Is that a second try? Or did you forget you already
said much the same thing, on the same subject,
to the same OP - on a different group?
http://groups.google.com/group/comp.lang.java.programmer/msg/c9eaf0080324e7ba

Andrew T.

hi,
It's greate site.
But while i am clicking at any example i got error an error
" This page contains information of a type(application/x-java-vm) that
can only be viewed with the appropriate Plug-in ".

What i can do for that. I can't able get to see any output whch is
present in that web.
please help me.

-Raju
Back to top
rajbala.3399@gmail.com
Guest





PostPosted: Tue Oct 31, 2006 8:42 pm    Post subject: Re: to open new window of JSP on the applet Reply with quote

Andrew Thompson wrote:
Quote:
Paul Hamaker wrote:
You can request a browser to get and show a URL with showDocument.
http://javalessons.com/cgi-bin/fun/java-tutorials-main.cgi?sub=gui&ses=ao789
: g58.
If the jsp results in HTML3.2, you can embed it using JEditorPane.
http://javalessons.com/cgi-bin/fun/java-tutorials-main.cgi?sub=gui&ses=ao789
: g42.

Deja Vu!

Is that a second try? Or did you forget you already
said much the same thing, on the same subject,
to the same OP - on a different group?
http://groups.google.com/group/comp.lang.java.programmer/msg/c9eaf0080324e7ba

Andrew T.

hi,
It's greate site.
But while i am clicking at any example i got error an error
" This page contains information of a type(application/x-java-vm) that
can only be viewed with the appropriate Plug-in ".

What i can do for that. I can't able get to see any output whch is
present in that web.
please help me.

-Raju
Back to top
Paul Hamaker
Guest





PostPosted: Tue Oct 31, 2006 9:21 pm    Post subject: Re: to open new window of JSP on the applet Reply with quote

At the very least you need to have the JRE installed, the plugin is
installed in the process.
Can you open the Java Control Panel from Configuration ? If so, click
the Advanced tab and check the browser(s) that you find under <APPLET>
tag support.
--------------------
Paul Hamaker, SEMM, teaching ICT since 1987
http://javalessons.com
Back to top
rajbala.3399@gmail.com
Guest





PostPosted: Wed Nov 01, 2006 8:11 am    Post subject: Re: to open new window of JSP on the applet Reply with quote

Paul Hamaker wrote:

Quote:
At the very least you need to have the JRE installed, the plugin is
installed in the process.
Can you open the Java Control Panel from Configuration ? If so, click
the Advanced tab and check the browser(s) that you find under <APPLET
tag support.
--------------------
Paul Hamaker, SEMM, teaching ICT since 1987
http://javalessons.com

hi,
I had only Netbean IDE5.0. I dont know whether it has the JRE or
not.Is it possible for working with plugins without JRE.We can able
installed flash plugin in netbeans.Is it possible for using netbean
plugins.If possible please help me by sending example code.

Thank you.
-Raju
Back to top
rajbala.3399@gmail.com
Guest





PostPosted: Wed Nov 01, 2006 8:11 am    Post subject: Re: to open new window of JSP on the applet Reply with quote

Manish Pandit wrote:
Quote:
Hi,

Go to http://www.java.com and click 'Verify Installation' to check if
you have a JRE installed.

If not, from the verification page, click the link that says 'Download
Now'. This will install JRE on your box.

-cheers,
Manish

hi,
I had gone as per your suggestion. I verified insatalation. By
this i confirm that there is no lugin in my system and it same error
again that is
" "This page contains information of a type
(application/x-java-vm)that can only be viewed with the appropriate
Plug-in"

Actually we are working on the linux platform. Therfore in my system
Red hat linux 9.
" http://www.java.com " I think this for downloading in windows
platform only.
Give any another sugesstion.

-Raju
Back to top
Manish Pandit
Guest





PostPosted: Wed Nov 01, 2006 8:11 am    Post subject: Re: to open new window of JSP on the applet Reply with quote

Hi,

Go to http://www.java.com and click 'Verify Installation' to check if
you have a JRE installed.

If not, from the verification page, click the link that says 'Download
Now'. This will install JRE on your box.

-cheers,
Manish
Back to top
Manish Pandit
Guest





PostPosted: Wed Nov 01, 2006 8:11 am    Post subject: Re: to open new window of JSP on the applet Reply with quote

Quote:
Actually we are working on the linux platform. Therfore in my system
Red hat linux 9.

That explains why the browser is not automatically pulling in the
plugin.

Download the JRE as an rpm and install it on the box.
(http://java.sun.com/linux/).

-cheers,
Manish
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.