You can do this by using Javascript.
A link that posts
I think that
A link that posts
should work also.
This code may not be perfect, I haven't tested it, but it should point
you in the right direction.
Carles
Sanjay Garg wrote:
>
> Hi,
>
> I am trying to invoke doPost() method of a s
Is there anyway to reverse html encoding, which for example, encodes > to >?
I need to convert character encodings such as ࢩ to their ascii equivalents.
Thanks in advance.
===
To unsubscribe: mailto [EMAIL PROTECTED] with b
Sanjay Garg wrote:
> Hi,
>
> I am trying to invoke doPost() method of a servlet from a hyper
> text link in my JSP, but it is always calling doGet(). I am doing
> different stuff in each method, so can't do a doPost() within
> a doGet(). Is there a way I can force a method type for my servlet
> w
I've heard a lot of great things about using XML in combination with JSP to
make it easier to change the presentation for other languages(Spanish,
German, etc.) and protocols (e.g. WAP/WML). I know very little about XML
but from what I have read it seems like it would have very significant
run-ti
Actually WebSphere has never supported JSP 0.92 which is likely the source
of your confusion. JSP 0.91 is what WebSphere 2 supports doesn't have an
application scope. You can store objects in the request and session scopes.
WebSphere documentation shows you how to do this.
You can also view the
Does anyone know of an Emacs mode for editing JSP's? I'm mainly looking for
text highlighting and formatting.
Thanks,
Dave Kincaid
[EMAIL PROTECTED]
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTERE
Firstly, try closing the browser and reopening it.
Load the SECOND page (without loading any other pages first).
Does the correct file load?
I may be able to comment further when I know this.
Barry Scott
IJava UK
- Original Message -
From: Dustin Aleksiuk <[EMAIL PROTECTED]>
To: <[EMAIL
Dustin,
Check your web server to make sure that there aren't any virtual software servers
by the name of "c:\jswdk\serverdata\directorytwo\index.jsp"
Your web server may be configured so that a call to www.company.com looks in the
same directory as a call to www.company2.com (assuming you have a
The Servlet 2.1 spec says, under ServletContext.setAttribute and
ServletRequest.getAttribute
#
# Attribute names should follow the same convention as package
names.
Then the JSP 1.0 spec says in 2.13.1, paragraph 1:
#
# A action associates an instance of a Java
# object defined within a given sc
You can see the comments at http://www.cs.duke.edu/~dsb/kgv-faq/errors.html#bad-entity
I came across this when running the HTML validator at W3C http://validator.w3.org/ When
there's an error, such as & in there, the explanation is the above
'bad-entity' link.
David
- Original Mes
Gonzalo Jose wrote:
> Hi All.
> How can I store an object in the application scope, and how can I access
> and modify it from a JSP page.
> I've read that you can do it using
> getServletContext().setAttribute("MyNean", mybean) but I've tried it and I
> get an error message saying that getServle
Arun Thomas wrote:
> Can each of the included pages be full HTML pages, with separate Body tags
> in each included page? I noticed that when a JSP include directive is used,
> all the text in the included file is inserted. Won't this lead to invalid
> HTML unless one takes a great deal of care?
Umm, no, to be honest I have never heard of such a
thing.
It sounds as if you are referring to URL's, and I don't
believe anyone has proposed changing the way URL's are created. Changing
the & to a ; seems like a disastrous idea, and in no way shape or form could
possibly be linked to n
hi guys
I am newbie in JSP/e-commerce.
My first question is .
1)Is it ok to design e-commerce web site with JSP.
2)Is there any resource available with examples where working model
examples are discussed.
Thanks
Vinod
__
Get Your Private, F
More to the point, i.e. "how is it done," we've had some good discussions on this
sig on that topic, so you might want to search the archive.
A simple way is to use a hashtable on connection, test the value of a (hidden)
variable: if the variable is unassigned, then assign it (even with a simple
Ken Pullin wrote:
>
> Hi - when I add a method to my bean and try to call the method in my
> servlet, I'm getting a java.lang.NoSuchMethodError. [...]
> The method setKen() was added to the bean. I've stopped and restarted the
> appserver(Websphere) and webserver(IIS 4.0), but the changes are ju
Hi,
I am trying to invoke doPost() method of a servlet from a hyper
text link in my JSP, but it is always calling doGet(). I am doing
different stuff in each method, so can't do a doPost() within
a doGet(). Is there a way I can force a method type for my servlet
when invoked from a link.
In HTML
I am getting the below error. Can some one explain this error? Thank you.
Fri Nov 19 14:11:33 EST 1999: Running servlet
{ (Running servlet) java.lang.IllegalStateException: Cannot forward to same URI
'/telecom/ErrorJSP.jsp'.
at
com.livesoftware.jrun.JRunServletContext$JRunRequestDispatcher.f
Everything I read related to HTML 4.0 is that the & to
separate parameters (based on the older CGI convention) has been deprecated. The
W3C suggests using ; instead. Does anybody know if the servlet APIs (2.1 is the
one I'm looking over) will ever support the ability to set the separator rath
Hi,
I received many mails asking me for examples of using JSP's in frames.
Since i can't reply individually to each of them i am posting some example code
which works for me. Feel free to look at them and if any mistakes are made (by
me) correct me. Thank you.
Cheers,
Amar..
MAIN.JSP
-
Hi Everyone,
First let me thanx all of you(specially Craig) that our first JSP/Servlet
project is in production and everybody just loves it, could'nt have done it
without your help.
Second, I have another project now, but it requires alot of fancy gui work
that HTML+ javaScript+DHTML doesnt supp
Hi All.
How can I store an object in the application scope, and how can I access
and modify it from a JSP page.
I've read that you can do it using
getServletContext().setAttribute("MyNean", mybean) but I've tried it and I
get an error message saying that getServletContext() doesn't have a method
Did you change the interface? If so, have you stopped and re-started your
server?
-Original Message-
From: Ken Pullin
To: [EMAIL PROTECTED]
Sent: 11/19/99 10:16 AM
Subject: Bean Changes are not being seen by Servlet
Hi - when I add a method to my bean and try to call the method in my
se
There is only two ways this could go:
1. Advertisements for recruiting businesses.
2. More advertisements for JSP programmers (Hell we need
them also.)
Let's keep this technical. Try searching the web!
Tom Ivers
http://www.portera.com
-Original M
Can each of the included pages be full HTML pages, with separate Body tags
in each included page? I noticed that when a JSP include directive is used,
all the text in the included file is inserted. Won't this lead to invalid
HTML unless one takes a great deal of care?
-AMT
> -Original Mess
Title: RE: Converting ActiveX objects into Beans
For your information, Java developers journal (OCT 1999, issue) has in-depth example in writing JAVA-COM object.
-Original Message-
From: Ian [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 18, 1999 11:41 PM
To: [EMAIL PROTECTED]
Hi everyone,
I'd really appreciate some help on this, even if you have only a suggestion
or guess as to what might cause this problem.
Consider these two paths:
c:\jswdk\serverdata\directoryone\index.jsp
c:\jswdk\serverdata\directorytwo\index.jsp
If I start my server and go to localhost/direct
Hi - when I add a method to my bean and try to call the method in my
servlet, I'm getting a java.lang.NoSuchMethodError. The code looks like
this:
HttpSession session = request.getSession(true);
com.Vital.VitalTest.FusionDataObject fd = null;
fd =
For an JSP to ActiveX example, check out the first item item "More ...":
http://www.linar.com/jintegra/doc/
J-Integra can be used as a JSP->COM bridge -- using it you can access ActiveX objects
from JSPs running in any JVM on any Web Server using any OS. It requires no native
code.
Regards,
It's possible that you might not fully understand
my suggestion.
If you take in information from an applet and use
JDBC and SQL to store the data in a database, the JSP can read the information
from the database. The applet and JSP do not communicate directly.
In the case of a username an
It's hard to see what you are trying to acheive without seeing the specifics
of your project, but a brief explanation may help.
Scenario:
I want to produce a frames like site in which I have an advertising banner
across the top of the page, a nav bar on the left and a content pane on the
right. N
Give us some more info, George!
I can possibly help.
Barry Scott
IJava UK
]
- Original Message -
From: Barry Scott
To: Siva Surya Kumar ; [EMAIL PROTECTED]
Sent: Friday, November 19, 1999 9:25 AM
Subject: Re: Hello Applet to JSP comms
No this won't work.
You are actually open
No this won't work.
You are actually opening a connection to the JSP
file and not the JSP object itself.
If you want to update table info the best way I can
think of is to run a small DB or text data source on the server, update it from
the applet using JDBC. Then when you load the JSP it can
33 matches
Mail list logo