I have a problem when starting the server. I know I am supposed to have two
dos screens when executing startserver.bat, but the second dos window quick
disappears before I could even read what on it. It may not be a JSP related
problem, but can anybody give a clue? Is this problem related to
con
I installed jdk1.3 first but I could not start the server. Then I installed
jdk1.2.2. I coudl
start the server but I could not stop the server. When I excute
stopserver.bat, it gives me the
following error message:
Using classpath:
.\classes;.\webserver.jar;.\lib\jakarta.jar;.\lib\servlet.jar;.
\
I have the book in hand but the CD-ROM is missing. Can anyone tell me if
there is website I could download the example code for the book: JavaServer
Pages by Larne Pekowsky?
Thanks a lot,
Roland
===
To unsubscribe: mailto [
I remember someone posted Login-related question recently. I have a newbie
question on this.
In my web application, I have login1.jsp which calls login2.jsp to handle
the actual login process. I use JDBC-ODBC-Oracle to handle the database
connection. If successfully logged in, the user will be
Does anybody know if there is a jsp-job related web sites or mailing list?
Roland
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTER
Just wondering why EJBs are much preferred to JDBC? Can you give an example?
Roland
You can use "like" in a prepared statement; as I recall, all you'd need is
to make sure the string you're setting has the wildcards. To wit:
PreparedStatement ps=connection.createPreparedStatement(
"select *
Tried to get my JSP connected to the Oracle database via JDBC but could not
get JDBC-ODBC bridge work! Could not find a JDBC mailing list either. Can
anyone help? Or direct me a related mailing list? Hope this is not too
off-topic.
I previously installed ORACLE 8 and the JDBC-ODBC driver worked f
Hi, I am trying to run an examples using beans from the book JavaServr Pages
by larne Pekowsky. Could not get it work. I am using Tomcat3.21.
Basically, beanexample1.jsp tries to get properties from Bean1.java. When I
run it I got Error 500:
Internal Servlet Error:
org.apache.jasper.JasperExcept
, but IMHO your package statement
should read jspbook.ch04; and not com.awl.jspbook.ch04; Hope this helps.
Rohit.
- Original Message -----
From: "Roland Dong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, 05 March, 2001 9:09 AM
Subject: Can you help with JSP
, but did you compile the .java file to generate a
.class file.
Rohit.
- Original Message -
From: "Roland Dong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, 06 March, 2001 4:11 AM
Subject: Re: Can you help with JSP example?
> Thanks a lot, Rohit,
&g
Hi, I just set up my orion server running in UNIX, but it can not run jsp. I
got the following error message
Can anyone explain what does the following error mean? Any solutions?
Thanks,
Roland
500 Internal Server Error
Error parsing JSP page /index1.jsp
Syntax error in sourcejava.lang.Intern
Hi, I just set up my orion server running in UNIX, but it can not run jsp.
Can anyone explain what does the following error mean? Any solutions?
Thanks,
Roland
500 Internal Server Error
Error parsing JSP page /index1.jsp
Syntax error in sourcejava.lang.InternalError: jzentry == 0 at
java.
; From: Roland Dong [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 08, 2001 3:08 PM
> To: [EMAIL PROTECTED]
> Subject:
>
>
> Hi, I just set up my orion server running in UNIX, but it can
> not run jsp. I
> got the following error message
>
> Can anyone explain wha
I am having a problem with Welcome.jsp not showing up. I have a servlet
which
checks user name and password in database. If validated, user will be
allowed to login either as administor or customer. If customer successfully
logs in, Welcome.jsp should show up. However, instead of displaying
Welc
I have a.html calls login.java(servlet) to check user name and password. If
user/password is true, login.java will redirect to b.jsp. My question is
Question 1: If a.html is a frame, how can I open a new browser window for
b.jsp?
I have tried this:
res.sendRedirect("\"http://localhost:8080/jsp
g the password with it (But its
not secure.)
--- Roland Dong <[EMAIL PROTECTED]> wrote:
> I have a.html calls login.java(servlet) to check
> user name and password. If
> user/password is true, login.java will redirect to
> b.jsp. My question is
>
> Question 1: If a.html is
Please help with the following problem.
(I am using Orion 4.7)
I am trying to use the value of the session variable for database
accesses( I am not concerned about security).
First, I tried to get the session value back in b.jsp by:
String pwd =(String)session.getAttribute("Login.Password");
what is the difference between using JSP Taglibs and using Javabeans?
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
I have installed tomacat to set up Oracle JDBC-ODBC driver,
data source... but ran into some problmes:
The database connection with Oracle only works with .java
files but does not work with jsp files.
For example: test.java would work but test.jsp would not.
This is the error message I got when
Is there a way to connect to more than one datasource in a
single jsp page?
I am using mysql.It seems to me no matter what I tried it
always sticks to the first datasource.
For example:
my datasource is
String URL="jdbc:mysql://localhost:3306/myDatabase";
query="xxx";
Class.forName(DRIVER)
On 4/16/02 3:14 PM, "Richard Yee" <[EMAIL PROTECTED]> wrote:
> SC,
> Look at the web.xml file in your Apache Tomcat 4.0 conf directory.
> The 'listings' init-param of the default servlet entry controls whether
> directory listing is allowed. The welcome-file-list parameter entry
> controls what f
I am using two taglibs to handle sending an email attachment.
One taglib handles uploading the file to the server. The other handles
sending out the file as email attachment.
So I need first upload the file from local disk to the server. My problem
is that with new clustered server configurati
Richard,
Thanks for your reply.
Actually, it is ONE jsp handles both upload and email attachment.
//upload.jsp
..
..
//upload file
File is:
<% name="test/test1/"+A; %>
.
.
//attache file
<%=name%>
.
.
I was told by our IT department user will not be able to up
Hi,
I am writing a jsp program in which user can send email attachment. Since
users are not allowed to upload file from their local machine to the server.
Is there a way to write a jsp program which can send out the email
attachment WITHOUT first uploading the file to the sever? It is urgent ,
codes?
Thanks a lot,
Roland
On 5/21/02 9:39 PM, "Andy Engle" <[EMAIL PROTECTED]> wrote:
> On 5/21/02 10:15 AM, "Roland Dong" <[EMAIL PROTECTED]> wrote:
>
>> I am writing a jsp program in which user can send email attachment. Since
>> users are
Richard,
Thank you so much! I will do that.
Roland
On 5/22/02 12:09 AM, "Richard Yee" <[EMAIL PROTECTED]> wrote:
> Roland,
> Search the Servlet-Interest archives for messages having the subject of:
> Sevlet Upload Question
> and
> Re: Sevlet Upload Question
>
> There was a discussion about c
Thanks for all your inputs! Ok, is it possible to check if there is a
previous session, so that before the second user actually logs in, he would
get a warning that a session already exists?
Thanks a lot
===
To unsubscribe:
I am testing a session object so
I created
p1.jsp with the snippets:
<%
HttpSession currSession = request.getSession(true)
currSession.setMaxInactiveInterval(3600);
currSession.setAttribute("user", Name);
currSession.setAttribute("id", ID);
...
%>
In P2.jsp
<%
.
currSession.inv
I have a jsp page displaying the data retrieved from database. When database
records are updated. I want to click 'refresh' button to update the jsp
page. Unfortunately, I get no pointer errors when I do that.
This happens only on IE5. It works fine in Netscape and IE5.1. Is there a
work around
Does anyone on this list know what is the problem with the orion mailing
list? Is there an alternative mailing list?
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PR
ad of the image src making
> a direct link to the image it calls the servlet which gets the image and
> outputs it in the correct format.
>
> -Original Message-
> From: Roland Dong [mailto:rdong@;CAIT.ORG]
> Sent: Tuesday, October 22, 2002 3:54 PM
> To: [EMAIL PROTECTED]
I am working on a project which retrieves jpeg image files and heave them
displayed in the browser.
These jpeg photos are stored as base64 in LDAP server.
I am using JSP for this project.
My questions are
1. How do I retrieve images from LDAP using jsp? I know how to retrieve any
data of string
gt; thus instead of the image src making
> a direct link to the image it calls the servlet which gets the image and
> outputs it in the correct format.
>
> -Original Message-
> From: Roland Dong [mailto:rdong@;CAIT.ORG]
> Sent: Tuesday, October 22, 2002 3:54 PM
> To: [EMAI
On 11/26/02 1:12 PM, "Hans Bergsten" <[EMAIL PROTECTED]> wrote:
> Deepak wrote:
>> Hi folks
>>
>> Can I have a vector as a bean property?
>> If so how can i set the property using
>>
>> for example the property "csvorders" is a vector.
>> How can I pass a vector as the value of this property?
>>
I am trying to implement a admin jsp page which display all ACTIVE users at
the moment. Is it possible to somehow use session mechnism to implement
that?
For example:
User A login with the user name "UA" and that user name is stored in a
session variable "loginName". the current time is sto
you want and
> then store the username and timestamp in the ServletContext.
>
> Ritesh
> ----- Original Message -
> From: "Roland Dong" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 01, 2003 12:32 AM
> Subject: How to get values o
I want to a jsp program which displays all CURRENTLY loggied on users. So I
want to A.jsp to populate login info (basically login names) to a global
hashtable.
Then I need a bean B.java(NOT jsp) which implements HttpSessionListener to
get the login information from A.jsp and process them. If user
37 matches
Mail list logo