Hi all,
I am trying to run Java Server Web Development Kit on windows millenium. In
the first place I would like to know if Windows Millenium Edition offers any
kind of support for JSWDK. I am repeatedly getting an error and the only
reason that I see is the Windows edition.
***If anybody has
Yes i have but what exactly is your problem
You simply have to create the connection in your bean and call that method
on your JSP page.
Tasneem Talawala
JSP Developer
[EMAIL PROTECTED]
www.verchaska.com
Verchaska - Helping your bussiness succeed
- Original Message -
From: "Mutahar
hi all,
how do u define and call a function in a jsp page..
Please if possible send a sample code.
Nova
__
Do You Yahoo!?
From homework help to love advice, Yahoo! Experts has your answer.
http://experts.yahoo.com/
Hi
I am trying to run the iteration.war Custom JSP Taglib example at:
http://java.sun.com/products/jsp/tutorial/TagLibrariesTOC.html
the first page index.jsp comes on well.
but i get a parsing error in list.jsp
---
Parsing of JSP File
Hi,
If your jsp is in /examples/myjsp (=
c:\jakarta-tomcat\webapps\examples\myjsp),
your 'className' must be copied in:
c:\jakarta-tomcat\webapps\examples\Web-inf\classes\package1\package2\
Good luck,
Dung.
-Original Message-
From: Raghu [mailto:[EMAIL PROTECTED]]
Sent: Friday, November
Hi guys
I'm also travelling in the same boat. my server OS is WINNT 4.0 with
ColdFusion4.5 applicatiion server.
I have installed Tomcat 3.2 on NT as a service and followed the same steps
so the IIS redirects servlets/jsp requests to Tomcat, but not successful, is
it because it tomcat should be
Hendrik Schreiber
help me please, I make a counter ,but it reports the errorness as follow. I use
tomcat3.1
Error: 500
Location: /website/index/file/jsp/count.jsp
Internal Servlet Error:
javax.servlet.ServletException: count.txt (ϵͳÕÒ²»µ½Ö¸¶¨µÄÎļþ¡£)
at
it is not a good practice eto define a function in jsp
it is better if u put code in a bean
still if u want to define then see howw i have define the test function
html
H1THIS TEXT IS NORMAL HTML TEXT /H1
%
java.util.Date today = new java.util.Date();
for(int i=0;i5;i++){
Hi
Thats what beans are meant for.
Whatever Business logic is to be included or other methodologies go into the
bean and thats how you make the JSP functionality free and only include the
Presentation Logic in them
for which it is meant for.
If u have further questions email me
Hope it helps
Hi Raghu !
if You do not want to put classes into web-inf/classes folder of current
context :
1. if You are using WinNT you should reboot machine after setting classpath
with system environment panel
2. You can modify tomcat.bat file to add You packages to "tomcat running
time" classpath. See
Hi
hi all,
how do u define and call a function in a jsp page..
Please if possible send a sample code.
Nova
%
// Main page processing part
out.println("now call Do SMTHG");
doSMTNG();
%
%!
// Definition Part
public(private) void doSMTNG()
{
out.println("in Do
Hi,
can someone give me some help, I stucked here almost 2 days...
8. on the bottom of results.jsp will has a hyperlink "begin a new search"
bring user back to the
searchForm.jsp.
the above steps are all works fine if I do one search after another.
I am sure if here You press back button
V.A. Kozhevnykov
I have try it on Tomcat3.1+win98+jdk1.2.2,but it produce errors as follows.
Error: 500
Location: /website/index/file/jsp/function.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for
Hi,
Try it:
- copy rt.jar to c:\jakarta-tomcat\lib\
- add this line in tomcat.bat:
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\rt.jar
I hope this helps.
Dung.
-Original Message-
From: Yang cun dong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 2:10 PM
To: [EMAIL
I am thinking if it is possible to pass object via hyperlink??
From: Andy Purshottam [EMAIL PROTECTED]
To: "'hua ge '" [EMAIL PROTECTED],"'[EMAIL PROTECTED] '"
[EMAIL PROTECTED]
Subject: RE: help:session variable could not retain old data if back butto
n clicked
Date: Thu, 2 Nov 2000
The out variable is local to the servlet's service method. This means you
don't have it as a variable in your doSMTHG function. If you want to print
data to out, you need to pass it to doSMTHG
% doSMTNG(out);%
%! public(private) void doSMTNG(PrintWriter out){
Geert Van Damme
Hi
Sorry guy!
I have forgotten one thing
in definition part %! ... % all implicit JSP Page object are unreachable
so :
1. System.out.println -- You can see it in tomcat window ( if it is not an
system service )
2. You should do this
%
HttpServletRequest sRequest;
How did you install Tomcat as a service in NT. Can you elaborate on this.
Thanks,
Shireesh Thanneru
On Fri, 3 Nov 2000, Venkat wrote:
Hi guys
I'm also travelling in the same boat. my server OS is WINNT 4.0 with
ColdFusion4.5 applicatiion server.
I have installed Tomcat 3.2 on NT as a
Hi all,
I have employed the model 1 architecture for building my application.
I have few jsp pages and each jsp page is associated with a java class
file which inturn calls the beans.
I create a session for the user in the first page (say login page) and
invalidate this session in logout page.
V.A. Kozhevnykov£¬ÄúºÃ£¡
sorry,it cant pass!I am a novice to Jsp,please help me, thanks
Error: 500
Location: /website/index/file/jsp/function2.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for
raghav,
you are also missing the "page" keyword in your page directive tag.
should be:
%@ page language="java" import="package1.package2.className" %
-katherine
-Original Message-
From: Quoc Dung Tran [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 03, 2000 4:15 AM
To:
Hi All !!
Situation :
Request are going to servlet - servlet calculates path to jsp and forward
request to jsp that makes huge processing
Question :
If it is possible i want servlet to output some short string to browser
like- "processing"
and jsp should clear this and produce it's own
Hi
How can i return a PDF file to a client?
Thanks
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
Hi
If anybody can advice me what sites to go for testing and preparation for
java certification.
Thank you.
Elena
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about
http://jchq.net is a good place to start. It has all info and many useful links.
Shireesh Thanneru
On Fri, 3 Nov 2000, Emeline Barns wrote:
Hi
If anybody can advice me what sites to go for testing and preparation for
java certification.
Thank you.
Elena
Hey Kalyan and all WinMe users,
I have WinMe (since the beta phases), and it's working fine. Tomcat I
succeeded at installing, but I don't use it (Why? Just cuz. I will after I
incorporate XML capabilities to my box which already has
HTML/PHP/CGI/ASP/JSP/PerlScript/CFM and
Hello ,
This is my first mail to the list. I am just asking a fairly stoopid
question.
I just want to know how to pack the java files in one executable so that the
whole software can be distributed in one package and can be installed
properly and also it should have inbuilt JRE with it. .
Thanx
I used http://www.javaranch.com. There is some testing there also, a pretty
cool cow roundup game, but do not use that solely to see whether you are
ready! The real test is much harder. There are links to other sites from
that one which also have info and tests. The test is pretty hard, in some
can you send me the code.
thanks
-Original Message-
From: Tasneem [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 1:17 PM
To: [EMAIL PROTECTED]
Subject: Re: DB Bean
Yes i have but what exactly is your problem
You simply have to create the connection in your bean and call
I need to programmly refresh a jsp page when the browser back button back to
this jsp page.
how to do it? I mean how to detect that the browser back button is clicked
and then force the jsp page refresh?
thanks
helen
_
Elena,
Visit the following site and take as many mock exams as you can
before taking the test.
http://www.javaprepare.com/
http://www.javaprepare.com/links.html
These sites will have links to various other useful certification
sites. Hope this helps.
Thanks,
===
Using the JMS API and XML in content-based routing
All Knowledge Management solutions face the challenge of putting the
right information in front of the right people. It's possible to confront
this challenge with the
I'm trying to figure out the NumberFormat class and the books I have
aren't much help. Does anyone know where I can find a tutorial?
-Daniel
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
org.apache.jasper.JasperException: Unable to compile class for
JSPC:\tomcat\work\localhost_8080\_0002fwebsite_0002findex_0002ffile_0002fjsp_0002ffunction_00032_0002ejspfunction2_jsp_3.java:22:
Undefined variable or class name: out
out.println("hi checking function in jsp");
Hi All,
I am looking for a Java HTML parser that works
with jsp.
Tanks
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
Hi all:
I am trying to use the
jsp:include
to include another jsp file. I want to pass a few parameters to the
included file. I used the statements like the following:
jsp:include page="Test.jsp" flush="true"/
jsp:param name="username" value="eric"/
jsp:param name="editable" value="ok"
Think of included JSP files as being part of the file the include command is
in. If you want the included file to see something, like a string, just
make the String declaration before the include command and then use that
variable in the included file.
Example.
Test1.jsp:
...
%
String username
Rajesh,
1) If the user clicks the 'back' button of the browser and tries to do some other
operation , I want to show him a page
telling his session has expired. How can I achieve it ?
=== When user logs in, you can create one Session variable saying "user loggedin" and
check for this
"Hernandez, Rey" wrote:
Think of included JSP files as being part of the file the include command is
in. If you want the included file to see something, like a string, just
make the String declaration before the include command and then use that
variable in the included file.
Example.
It is possible, however, why would you want to use and array why not
use a vector of hashtables. I posted a response to a similiar problem
using servlet to jsp last month (I believe more toward the middle of
October). Why don't you search the archive and see if that helps you
at all.
-
More specifically, take your result set and place it in a collection
and pass the collection to the JSP. (Check the archive for exactly how)
- Original Message -
From: Tasneem [EMAIL PROTECTED]
Date: Thursday, November 2, 2000 1:16 pm
Subject: Re: DB Bean
Yes i have but what exactly is
Daniel Lynn£¬ÄúºÃ£¡
I have try it,But i produce results in the console
ÔÚ 00-11-3 16:25:00 ÄúдµÀ£º
org.apache.jasper.JasperException: Unable to compile class for
JSPC:\tomcat\work\localhost_8080\_0002fwebsite_0002findex_0002ffile_0002fjsp_0002ffunction_00032_0002ejspfunction2_jsp_3.java:22:
can you send me example code?
-Original Message-
From: T A Flores [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 03, 2000 3:32 PM
To: [EMAIL PROTECTED]
Subject: Re: DB Bean
More specifically, take your result set and place it in a collection
and pass the collection to the JSP.
Check the archive I believe the exact date is 19-October is gives both
the JSP side and a Servlet side that I am sure will more than suffice
for your purposes. the archive also give you the ability to search on
the posters address which is this case is [EMAIL PROTECTED]
If I took the time to
- Original Message -
From [EMAIL PROTECTED]
Date Fri, 03 Nov 2000 14:14:49 -0800
To malla reddy choodi [EMAIL PROTECTED]
Subject Re: Any one knows JMS users mailing lists..
If you go the hyperlink that I have included you will find a forum for
just about everything. In future,
I do a _lot_ of work with servlets and many of them use some simple
HTML templates to output variables to the user by simply replacing
HTML comments. Lately, these variables are coming from a database and
I'm trying to decide whether switching over to JSP is worth it for
me. I'm especially
Hi,
why not put the resultset into a TableModel format for
transport. Whatever display, if Applet/App, can use
JTable, if html, can loop rows and columns into a
table tag. etc.
ron
--- T A Flores [EMAIL PROTECTED] wrote:
It is possible, however, why would you want to use
and array why not
It seems to me that unless you are using custom tags or want to develop
them to define a templating engine. Someone like the one in the J2EE
blueprints and therefore reuse pages etc. Moving to JSP won't buy you
anything. It certainly won't help you get data from the database any
better and IMHO
I use collection to move the db Result Set from the database to a JSP
and then enumerate through the collection. My move to JSP was very
simple, I can't stand writing HTML or all those println's. See my 19-
October post. This should work regardless if you are using a Bean or a
Servlet.
If you use the tableor JTable how exactly are you getting the result
set from the Servlet/Bean?
- Original Message -
From: Ron Chan [EMAIL PROTECTED]
Date: Friday, November 3, 2000 5:02 pm
Subject: Re: resultset to jsp
Hi,
why not put the resultset into a TableModel format for
Hi,
I am working with WeblogicServer5.1.
my JSP can not set the cookie to the client
My JSP use MonMdaCookie Bean where I am using two methods:
one for computing cookie and the second to send them to the Client but it
's not work
Can someone help me?
this method would send the cookie to
Hi everybody,
I am new on JSP/SERVLETS and I should write an JSP-Site/SERVLET or an Java
program, which should test if some servers are online (like ping or header
answer, if an request was ok) Web-, Mail- and Database-Server (Send then an
Mail). Can somebody help. Have somebody an sample.
Thx
52 matches
Mail list logo