Slava,
I think the problem may be in your use of content_type. This (if you are
using JSP 1.0) should be
%@ page contentType="text/html" %
Cheers,
Peter
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL
I want to call a Servlet from my JSP page.when I was trying to use
href,my servlet is invoked but the session which was created earlier is
found to be null(may be because of the request parameter not passed from
JSP)
When I was using
jsp:forward page="http://localhost:8080/../..Servlet" /
Hi,
In such cases, what I do is to use the "POST" method in my form so when
the user hits reload he will be asked whether he really wants to submit
the form data again. That's what I think the post method was designed
for. You can still get in trouble if they hit the reload button and
answer
Hi:
I want to find a tutorial about JSP technology, but I tried it without
succesful. I anybody knows, please, tell me.
Thanck you.
===
To unsubscribe: mailto
HI all,
I'm new to this JSP stuff and have got some questions that I hope
someone will be able to help me with.
I need to develop a database driven site and am unsure of the methods
used to implement this. I have knowledge of SQL server and IIS on the NT
Server Platform and have a basic
Hi Everyone,
I have looked through all the emails that are raging at the
moment about session timeouts. I have a similar problem but when the session
times out I have to remove his entry from a database table.
Basically the scenario is this:
The user logs into the system and an entry is
Probally, you'll must modify the bean.
You must do the select ordered by a field (the ID of the table for example), then
you must declare two vars, and save the minium and the maxium value of the query.
So, the links'd be like:
prev: same_page.jsp?min=MIN_ID
next:
I'm using the JSWDK on a win98 machine for training purposes, can
anybody explain the following error message and tell me what I can do
about it?
The code I have used to cause the error was copied straight out of a
book, so I'm sure there's something wrong with my server setup.
I'm getting a
Hi Ian,
You might try to use the HttpSessionBindingListener interface. You can
put and object in the session context that implements this interface and
when the session is timed out, it will be notified through a
valueUnbound() call nad inside this method you can remove the entry from
the
sigoff JSP-INTEREST
unsuscribe
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
__
Get Your Private, Free Email at http://www.hotmail.com
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
Hi people,
thanks for that advice. I have tried it but it seems that these methods are
getting called everytime the bean is used by a different page.
I.e. I have the usebean tag at the top of each page getting hold of the
sessioned beans, and it is being put into session and then got out. These
Hi to everyone.
I have a problem with JSWDK. If I configure a site in JSWDK to run some
JSP pages, everything works all rigth if I try with a URL like:
www.myserver.com:8080/mynewsite/jsp/index.jsp
but if I try with a URL without specify a JSP page, for example:
I've seen references to "Model 1" and "Model 2" applications. Where are
these described so that I can find out what the pros/cons of each are?
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Ximo,
Its a "welcome page" problem.
I don't remember how to set it with JSWDK, it probably in a properties.file
BTW you may want to switch to Tomcat that is the next generation (servlet
2.2 and JSP 1.1)
http://jakarta.apache.org
Hi to everyone.
I have a problem with JSWDK. If I configure a
"Hines, Bill" wrote:
I've seen references to "Model 1" and "Model 2" applications. Where are
these described so that I can find out what the pros/cons of each are?
Try http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc_p.html
for a quite nice explanation...
Hope it helps
//Rikard
Ian Graham wrote:
Hi people,
thanks for that advice. I have tried it but it seems that these methods are
getting called everytime the bean is used by a different page.
I.e. I have the usebean tag at the top of each page getting hold of the
sessioned beans, and it is being put into session
HAI GUYS,
i have a typical problem.can i use in the same
application two diff servers(JWS,IIS)
and access asp pages from iis and servlets from
jws.will i be able to maintain the session state on the two servers?if yes,how
do i pass the session variable from the servlet page of jws to asp
"Hines, Bill" wrote:
I've seen references to "Model 1" and "Model 2" applications. Where are
these described so that I can find out what the pros/cons of each are?
The terms were originally used in the JSP 0.92 specification to describe two
overall strategies for architecting a JSP-based
unsubscribe
It was out and I got one. A great book on servlet but only cover JSP 1.0
within one chapter...
- Original Message -
From: "Hines, Bill" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 12, 2000 9:44 AM
Subject: Re: request for reviews: Professional Java XML Programming
HTML
HEAD
script
function display()
{
if(document.iform.but1.value()=="")
{
alert("hello enter the value");
}
}
/script
/HEAD
BODY BGCOLOR="#FF"
form name=iform
input type=text name=but1 value=""
a href="javascript:display()"img
Ghosh,
The forward tag is invisible to the browser. As far as the browser is
concerned, it requested a specific resource form
the server (identified by the address in the browser). That resource was
returned - the actual contents of that resource
(in this case, obtained on the server side by
How can I configure Tomcat 3.0 (on Redhat 6.1+Apache+Sun JDK2 RC2) to load a
servlet (with connection pool) when it starts?
I check server.xml, tomcat.conf, web.xml but no luck.
Thanks in advance,
Leon
===
To unsubscribe:
Marc Vila Pérez wrote:
Hi
I have to implement a push method, where from an html page, with a
FORM (FORM ACTION="reciver.jsp" METHOD=POST
ENCTYPE="multipart/form-data"), I send a file (an
image for example).
In the receiver side I don't receiv any parameter.
Can anybody help me?
You
Hi to all
I want to know whether jsp supports javascript.
thanx in advance.
regards
sharat
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
hi all -
i've been monitoring the group for a couple of weeks. i'm so happy it's out
there and i'm very excited about this technology.
i have a question:
what's the best combination version -wise of jdk, servlet sdk, jsp engine
and anything else that would make a stable learning environment
Hi All,
I am New to JSP Technology. I want to use an Anchor in JSP page. Can you
please give me a hint.
Satya.
-Original Message-
From: Ian Stacey [SMTP:[EMAIL PROTECTED]]
Sent: Monday, January 24, 2000 1:24 AM
To: [EMAIL PROTECTED]
Subject: Newcomers Questions
HI all,
Hey Chary,
The jsp:forward tag should always use a relative URL. Try that instead!
-AMT
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, January 24, 2000 5:02 AM
To:
the forward tag uses a request dispatcher works locally only
Use a relative url like "/servlet/MyServlet" for this and it will work
-Sameer
"[EMAIL PROTECTED]" wrote:
I want to call a Servlet from my JSP page.when I was trying to use
href,my servlet is invoked but the session which was
The problem that I have is that i can process the paramters because the
java.util.Enumeration enum=request.getParameterNames(); returns no data.
Anybody kowns why?
Thank U!! Bye
Marc
Jason Hunter wrote:
Marc Vila Pérez wrote:
Hi
I have to implement a push method, where from an
Hi All,
I am New to JSP. I want to Know how to use Anchor, Including a file,
Including an img file,Running an Ordinary JavaBean from JSP. Any help is
Highly Appriciated.
Satya
-Original Message-
From: Craig R. McClanahan [SMTP:[EMAIL PROTECTED]]
Sent: Monday, January 24, 2000 8:26 AM
Hi,
Nice article at www.brainopolis.com
bye,
Mohan
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
Does anybody get the following error when trying to run the "Simple Custom
Tag example" that comes with Tomcat?
Error: 500
try to access class com/sun/xml/tree/ParentNode from class
org/apache/jasper/compiler/TagLibraryInfoImpl
Man, if I could only moonlight as a consultant answering questions like this
. . .
It's just like HTML. The unmarked, or default playing field in a JSP is
HTML. So all JSP/Java code goes within special tags like % and % or %@
%, and all HTML roams free. OF course this gets turned inside out
your script is client-side javascript. nothing to do with jsp. the below
should work (value is an attribute, not a method!).
if (document.iform.but1.value == "") {
alert("something");
}
-hai.
Sharat Babu wrote:
HTML
HEAD
script
function display()
{
Has anyone dealt with stopping posts on ulta-low speed uploads? We've seen
200 bit per second upload transfers before - that takes a LONG time on a 5
meg upload. does the class deal with the post being cancelled in the
middle well?
Thanks to Jason for writing the classshould save a lot of
I get an error when using my own tag library. Anybody know what I'm doing
wrong?
Error message is:
Error: 500
try to access class com/sun/xml/tree/ParentNode from class
org/apache/jasper/compiler/TagLibraryInfoImpl
In the output window it says it's an unhandled error of type
Hi,
I am using following code to execute my stored procedure SQL_EXEC, which
takes the qry string as a parammeter and execute it. How do I get a return
of rowcount number when doing insert, delete and update?
try{
String
Does content that has already been written to the out stream affect
forwards? For example the following JSP:
%@page session="true" language="java" %
%!
boolean bSomething = false;
boolean doSomething()
{
return bSomething;
}
%
%
if (
Ravi Kishore Kakani wrote:
HAI GUYS,
i have a typical problem.can i use in the same application two diff
servers(JWS,IIS)
and access asp pages from iis and servlets from jws.will i be able to
maintain the session state on the two servers?if yes,how do i pass the
session variable from the
Hi,
I think the problem is your using value() instead of value.
function display()
{
if( document.iform.but1.value()=="")
should be
if( document.iform.but1.value == "" )
alert("Hello enter the value");
}
Kevin Duffey
Software Engineer
[EMAIL PROTECTED]
JSP is a SERVER side technology. JavaScript is CLIENT side. So..in that
regard, JSP has NOTHING to do with JavaScript. However, if you are
referring to how a JSP engine parses a JSP page and if it supports
JavaScript, I can assure you it works fine. I use JavaScript form
validation on our site
Hi All,
I am New to JSP Technology. I want to use an Anchor in JSP page. Can you
please give me a hint.
Satya.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
Jsp Supports Javascript.
Satya
-Original Message-
From: Sharat Babu [SMTP:[EMAIL PROTECTED]]
Sent: Monday, January 24, 2000 9:49 AM
To: [EMAIL PROTECTED]
Subject: does jsp support javascript
Importance: High
Hi to all
I want to know whether jsp supports javascript.
Hi,
What are the different methods that you are using to debug JSP pages ?
Are the error messsages viewed in the browser always ?
bye,
Mohan
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
I share the same stylistic / pragmatic view as Hans.
One example where %! does not introduce this problem is when it is used
to define methods used elsewhere in the JSP page. I personally would
tend to do this by defining objects (introduced via a custom tag) and
invoking methods on them, but
Hope this will solve your problem.
HTML
HEAD
script
function display()
{
if(document.iform.but1.value=="")
{
alert("hello enter the value");
}
}
/script
/HEAD
BODY BGCOLOR="#FF" onLoad=alert("");
form name=iform
input type=text name="but1"
Hi,
Rajiv has given me the solution for diplaying the records page by page(say
10 records per page). But Once i get all the records from the database i
dont want to use my EJB to do any thing. I just want those records obtained
in a vector or array to be displayed page by page
Has any body more
49 matches
Mail list logo