What package is the Bean1.java in exactly?
What does it's package line look like?
jspbook.ch04 or com.awl.jspbook.ch04
if it's the first you need
WEB-INF/classes/jspbook/ch04/Bean1.class
if it's the other one you need
WEB-INF/classes/com/awl/jspbook/ch04/Bean1.clase
> -Original Message-
Just pass it as an argument to your function
BTW, you already have a String argument there but you don't use it.
It would be even better to put that function in a separate class instead of
in the page itself.
If you want to do the same check in another page, you can reuse the class,
but you canno
Hi, Rohit, Bean1.java is compiled. I tried all the possibilities ( including
Mr. Simms's suggestion) without success. I suspect the problem may be in
those two files but can't figure out myself.
Roland
-Original Message-
From: A mailing list about Java Server Pages specification and refe
Could u be a little bit more specific ? Tell us about clientDataBean. I
think thats where the problem lies. I am afraid i am not very clear on ur
question either
javax.servlet.ServletException: package6/clientDataBean
^- ?!
Mayure
- Original Message -
From: "Choak Visavayodhin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 06, 2001 8:22 PM
Subject: How can I set Java.library.path ?
> hi all,
> I 've a problem here. I'm using TOMCAT 3.2.1 and JDK 1.2.1. I write my
> JSP program and this progr
Hi,
Can somebody tell me from where can I get a free download of a chat server
(sourse code), which can be modified to my requirement.
Thanks.
Dantus
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INT
u can use
request.getPathInfo( ) or
request.getPathTranslated( )
ramanathanp <[EMAIL PROTECTED]>@java.sun.com> on 03/07/2001
09:57:39 AM
Please respond to A mailing list about Java Server Pages specification
and reference <[EMAIL PROTECTED]>
Sent by: A mailing list about Jav
i know that this has been posted before. but i want the exact syntax. i.e,
syntax of the referer
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body:
Hi
u can try setting
c:\jakarta-tomcat-3.2.1\classes;c:\jakarta-tomcat-3.2.1\lib\webserver.jar;c:
\jakarta-tomcat-3.2.1\lib\jasper.jar;c:\jakarta-tomcat-3.2.1\lib\xml.jar;c:\
jakarta-tomcat-3.2.1\servlet.jar;c:\jakarta-tomcat-3.2.1\lib\tools.jar;c:\ja
karta-tomcat-3.2.1\lib\jspengine.jar;c:\jdk
hi all,
I 've a problem here. I'm using TOMCAT 3.2.1 and JDK 1.2.1. I write my
JSP program and this program has error that it can't find my library in its
path.
I wanna know where I can set this "java.library.path" to point my path?
or if I can't change it where is it in the real path?
tha
Ronald said:
>2. I created subdirectory ch04 under WEB-INF/class and put into it the file
Bean1.java.
This may sound stupid, but did you compile the .java file to generate a
.class file.
Rohit.
- Original Message -
From: "Roland Dong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tue
Correct me if I'm wrong, but using mailto:[EMAIL PROTECTED]]On Behalf Of JSP Insider
Sent: Tuesday, March 06, 2001 6:45 PM
To: [EMAIL PROTECTED]
Subject: Re: using variable defined within <% %> in <%! %>
You don't.
Only use <%! declaration if you really understand the timing.
for a quick 5 sec
Hi,
I have a JSP from which I need to access a EJB.
(For the time being forget about MVC architecture etc.).
My JSP is residing in one Appserver (iPlanet) and my EJB is residing in Weblogic.
My JSP needs to look up for the bean in Weblogic.
Now, I am interested in knowing which protocol does t
Hi Angela,
You should have installed the Java Server Web Development Kit 2.1 or 2.2 for
compiling Servlets or JSP. Because that only contains the servlet.jar file which needs
to be included the classpath. You need NOT add tools.jar as you have mentioned. The
classpath should as follows
SET C
thanks Harlamov..
i'm able to get the 2nd method with
<%= request.getQueryString()%>
how do i get getRequestURL(HttpServletRequest req) work?
for url myrefererpage.jsp?name=bill&age=25
what i'm trying to do is replacing query parameter age with
other value, i've tried appending &age=30, but whe
Hello Tom,
comment is also available in jsp
<%-- your comment is here --%>
Friday, January 19, 2001, 7:09:09 PM, Tom Simpson wrote:
TS> Hi
TS> I'm new to JSP and would like to know how you debug
TS> I tried using but the jsp page
TS> doesn't have the comments.
TS> Can some one tell me how t
You don't.
Only use <%! declaration if you really understand the timing.
for a quick 5 sec definition read
http://www.jspinsider.com/reference/jsp/jspscript.html
But I suggest reading the JSP specifications for more information.
http://java.sun.com/products/jsp/download.html
For your current p
hi,
how do i use the variable defined within scriplet tag( <% %> ) in
declarataion (<%! %>)?
e.g
<%
String name = "abcd"
%>
.
.
<%!
public boolean checkName(String str){
boolean validity = false;
if(name.equals("nishit"){ //want to
HP Bluestone, is pleased to announce early support for the Struts
initiative. Struts is an open source initiative - sponsored by the Apache
Software Foundation - focused on creating an application framework for
developing Web applications. Struts complements the J2EE architecture by
providing a
hi,
I have problem running JSP using JDK 1.2.2, but i was
able to run servlet. I am guessing the problem is at
my classpath setting.
i have windows 98, and i install JDK 1.2.2 in my C
drive, this is what i have in my autobat.bat file
% CLASSPATH=C:\JDK1.2.2\lib\tools.jar;%CLASSPATH%
SET PATH=%
Dude - I think this is best done with a plug-in at the webserver level.
much easier to accomplish.
I think Apache has this available.
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Tony Leake
>
Hi,
I needed to rephrase this questions. I have a concept I need a little help
with.
I'm trying to do a dynamic include page based upon a value in the URL, some
thing like this:
<%
String sender = request.getParameter("page");
%>
History behind this code is :
I want to assign the valu
Hi!
I want to make the authorisation of a user, who is logged in, invalid.
The situation is following: The user has logged in:
String authorization = request.getHeader("Authorization");
if(authorization == null) {
response.setStatus(response.SC_UNAUTHORIZED);
response.setHeader("WWW-Authen
Looks like you didn't initialize the ORB Session. BTW this is for sure not a
jsp problem. Next time include some source code otherwise it's not that easy
to figure out what's the problem. Ciao, Vittorio
-Original Message-
From: David Cate [mailto:[EMAIL PROTECTED]]
Sent: martedì 6 marzo 2
Hi Ahbi. Seems you forgot the root of the page where to find information
about Apache + Tomcat.
doc\uguide\tomcat_ug.html
or maybe it's because i've just joined the list and haven't noticed about
related mails.
I was looking for information about this issue, hope you can help me.
Thanks
I have been doing JSP's for some time now but have only recently started
with CORBA. I have a JSP that makes a call to bean, that in turn uses the
IOR file to get a handle. When I try this, inside of a ctach block I receive
the following error:
can't instantiate default ORB implementation IE.Iona
-Original Message-
From: Shaikh, NeelKamal (MED, TCS America)
Sent: Thursday, February 22, 2001 9:34 AM
To: [EMAIL PROTECTED]
Subject: Re: images and html files
u can create a seperate folder each one for storing image and html
files.these folders should be kept along with the jsp ,web-i
here is the url
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug.html
JJ Fu
SUN Certified Java programmer
Web Developer
Compass Bank
(205)558-5255
>>> Sello Mathibe <[EMAIL PROTECTED]> 03/06/01 01:25AM >>>
Hi All!
I want Apache to serve my static pages, and Tomcat serve
When you "http://localserver:8080/.jsp A>, or just like you were
accessing it through the web when you tested it...
JD
Sello Mathibe wrote:
> Hi All!
>
> I want Apache to serve my static pages, and Tomcat serve my JSP and
> Servlets, but I really don't know how to do that. Can anyone please
u can create a new DLL including jni.h, its functions would call to
no-sources-DLL functions (like a wrapper), thus u could access the DLL from
Java...
Hope it helps...
-Mensaje original-
De: Kai Hackemesser [mailto:[EMAIL PROTECTED]]
Enviado el: martes 6 de marzo de 2001 13:43
Para: [EMA
Hi there, I'm currrently running NT Server 4, Tomcat 3.2.1, & Apache Web
Server, the problem is, I can access my login page because I'm not accessing
any Beans, I think there problem is I didn't register any Servlets in my
WEB-INF, well I think I did, but I still get errors. Can you please help me
>>> I 'm very new user of JSP. I 've a problem here, I 've many DLL(restore
>>> in windows\system32\) files that I was use it like ASP service object.
Now,
>>> I very interrest in JSP and wanna know can I use it like past?
>>
>> You can't. JSP is Java (!) Server Pages. You can access every Java c
Ok, but if you need to use DLL's, there's no such
thing as a 100% pure Java solution is there? Very
often you need to use already developed modules
because it would be too expensive to rewrite them or
no need to rewrite them mainly because they're working
just fine. If that's the case, you can't s
hello all,
i remember a small discussion thread about JavaMail quite some time back. I
should remember because i offered a small peice of source and i recd over
100 rquests for the same. In case anyone is still looking for a tutorial on
the same .. i came across one
http://www.javaworld.com/java
Can you not use response.sendRedirect("index.jsp")??
If you can manage to get the handle for the HttpServletResponse object??
or else, you can include this code in JSP page to get the handle to it.
I am not sure I got your problem correct.
Regards,
Sripada
Ron Quartel wrote:
> I have creat
> Well, if your jsp/servlet will reside on a Windows
> machine, an easy way to use your DLL's would be to
> make a Java wrapper in Visual J++ and call the DLL's
> methods from those...
hmm. That may be possible. But is that 100% pure JAVA? I think not. I'm a
100% pure JAVA programmer.
ciao!
Kai
did u try looking at jars.com ? There are a lot of apps which can do this
and more !
Mayuresh
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Jose Kuzhivelil
Sent: Tuesday, March 06, 2001 4:18 PM
To: [EMA
When the user successfully logs in u can put a value on sesion object.
for e,g session.putValue("UserId",id of user)
then on each page first check whether session.getValue("UserId") is
null and if null
redirect user to login page.
Ron Quartel <[EMAIL PROTECTED]>@java.sun.com> on 03/06/2001
05:
Well, if your jsp/servlet will reside on a Windows
machine, an easy way to use your DLL's would be to
make a Java wrapper in Visual J++ and call the DLL's
methods from those...
/Johannes
--- Choak Visavayodhin <[EMAIL PROTECTED]> skrev: > hi
all,
> I 'm very new user of JSP. I 've a problem
I have created the following session listener class which works but now I
want to redirect the client to the start page of the application (index.jsp)
if they are trying to enter the application from another page.
Easy peasy lemon squeezey in asp using global.asa but at a loss with java.
Any hel
This error occour if you have not closed connection after each use or
release connection after each use. If you have own connection pool code make
sure that you are releasing the connection after each use.If you are
relasing connection properly then most of time number of connection in pool
doesn
Your page may not be returning the connection to the pool.
You can use a time out to reuse expired connections.
Check out
http://www.javaworld.com/javaworld/jw-06-1998/jw-06-object-pool_p.html
&
http://www.webdevelopersjournal.com/columns/connection_pool.html
Tushar
> --
> From:
Dear JSP developer,
our company has developed a JSP/JAVA-class- and tag-library over the last
year.
We would like to offer this development with/without source code
to you and would like to know about your interest.
This libraries contain:
- about 200 (!) tags for dynamic HTML (JSP/JAVA int
Hi all,
is there a way to show rotating Ad banners in JSPsomething like
the Ad Rotator component in ASP...
thanx,
Jose
- Original Message -
From: Madhan M Srinivasan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 06, 2001 3:33 PM
Subject: connection pooling
U can access DLLs from Java through JNI, have a look to SUN docs...
bye
---
Miguel Angel Fernández Moreno
SIEMENS, S.A. Mobile Internet Solutions
C/ Ronda de Europa, 5 - 28760 Tres Cantos - Madrid (Spain)
Software Engineer
tl: 34 91
Hai
In our prj.. we are using connection pooling with db as oracle in win nt .we are
recving an error :
number of connection exceeded 200 .
we 've set the max no of connection as 200 and every page accessing the bean
(connection pooling ) @ the
end of every page a method from the bean is called
Hi
> I 'm very new user of JSP. I 've a problem here, I 've many
DLL(restore
> in windows\system32\) files that I was use it like ASP service object.
Now,
> I very interrest in JSP and wanna know can I use it like past? and if it
> can, Haw can I make it? and if Ican't use it can I use EXE f
Hi
if u want to access the net then there are plenty of resources..if u want to
take a book for urself then the wrox press one is best i think..
online resources..
http://www.npac.syr.edu/projects/tutorials/servlets/SERVLETS/
http://www.apl.jhu.edu/~hall/java/#Tutorials
Regards
Sri
>
if you already have tomcat then this is the place where the info
doc\uguide\tomcat_ug.html
cheers
abhi
> -Original Message-
> From: ext Sello Mathibe [mailto:[EMAIL PROTECTED]]
> Sent: 06. March 2001 9:26
> To: [EMAIL PROTECTED]
> Subject: Apache + Tomcat
>
>
> Hi All!
>
> I want Apache t
hi all,
I 'm very new user of JSP. I 've a problem here, I 've many DLL(restore
in windows\system32\) files that I was use it like ASP service object. Now,
I very interrest in JSP and wanna know can I use it like past? and if it
can, Haw can I make it? and if Ican't use it can I use EXE file
Hello dion,
and to javax.servlet.http.HttpServletRequest.getQueryString()
:)
--
Best regards,
Harlamovmailto:[EMAIL PROTECTED]
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff J
Hello Dion,
Just look at javax.servlet.http.HttpUtils.getRequestURL(HttpServletRequest req)
--
Best regards,
Harlamov mailto:[EMAIL PROTECTED]
===
To unsubscribe: mailto [EMAIL PROTECTED] with body
I need to convert a php script to jsp.
In php i buffer all output to the page so that nothing is sent. I can then
gzip the output for the whole page and send it to the browser (for those
that support gzip)
I need to do a similar thing if possible using JSP and/ or stand alone
classes/beans.
Can
U should also be able to find more examples on www.javascriptsource.com
Mayuresh
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Anubhav Jain
Sent: Monday, March 05, 2001 10:47 PM
To: [EMAIL PROTECTED]
Su
start here:
http://www.cetus-links.org/oo_java_servlets.html#oo_java_servlet_start_here
regards,
-antonio-
Sello Mathibe wrote:
>
> Hi Folks, I need to learn how to write Servlets, but I need to know if
> there's some resources that I can access that I will teach me in no time.
>
> Thanks
> Osca
A very quick serch of java.sun.com/jdc would have yeilded the following
results:
http://developer.java.sun.com/developer/onlineTraining/index.html
- Original Message -
From: Sello Mathibe <[EMAIL PROTECTED]>
Date: Monday, March 5, 2001 11:25 pm
Subject: Beginner: Servlets
> Hi Folks, I
56 matches
Mail list logo