Where have you placed the UserData.class file, it should be placed in the
/WEB-INF/classes directory.
In the above case it is assumed that the UserData.java doesnot have a
package statement.
Have a nice day.
With regards,
Sachin S. Khanna
http://www.emailanorder.com
- Original Message -
I am working in windows environment.
jsp file is in \examples\ directory
class file is in \examples\web-inf\classes\ directory
java_home = c:\jdk1.3
tomcat_home = e:\tomcat\bin
It is still giving same exception.
thanx for the reply.
Cheers !!
raj
-Original Message-
From: Sachin S.
Restart tomcat,try again!
Good luck
Laker
- Original Message -
From: Rajinder Sandhu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 17, 2001 3:03 PM
Subject: Re: configuring tomcat
I am working in windows environment.
jsp file is in \examples\ directory
Please try the following script:
abc\\d
- Original Message -
From: GLuka Raiss [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 17, 2001 3:22 PM
Subject: Re: Please Help me.
in the string put \ before
Like this: abc\d
it will be: abcd
Just checking the syntax of your useBean tag:
in your email you said you're using the 'Use:Bean' tag
this should be jsp:useBean. / eg:
jsp:useBean id=mybean scope=session class=MyClass /
This could be why tomcat can't find your class.
Hope this helps
Paul
-Original Message-
Post your entire code for the jsp and bean to this list.
Have a nice day.
With regards,
Sachin S. Khanna
http://www.emailanorder.com
- Original Message -
From: Rajinder Sandhu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 17, 2001 12:33 PM
Subject: Re: configuring tomcat
Try to use backslash(\) instead of slash(/).
set JAVA_HOME=c:\jdk1.3
The TOMCAT_HOME it's optional, don't set only if it's not working.
Hope this help
- Original Message -
From: Simon Chia [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 17, 2001 6:23 AM
Subject: setting up
now it is working..
1. i made a directory under examples and put my jsps in that.
2. Another directory same name in web-inf\classes.
3. java file has this line of code package directoryName ;
now it works fine.
I dont know why always i have to use package, it is supposed to take the
class file
I need some help on finding an ODBC Driver so I can open an MS Access
Database on a LINUX 7.0 server (Using Tomcat for JSP).
Has anyone here done this before?
I'm totally burned out search websites, forums, archives... =(
thanks,
Rich
Sounds to me like some other part of your code is causing this problem..but
I can't be sure. As Sachin said..post the whole thing.
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Sachin S. Khanna
Hi,
We are workin on creating an intranet solution. We have an item table
with around 5000 records which will keep growing.
This table is accessed on almost all pages by all users. (approx 500
users)
Which is the most efficient way of providing the access.. considering
that response
Hi
I installed Tomcat as a standalone Server an I also executed the examples.
But I´ve Problems when I want to execute my own Test files, Java_Home lives
at c:\jdk1.3.1
and I placed my File in Tomcat´s webapp directory.
Do I need more configuration, and which tomcat jar files should be included
what???
-Original Message-
From: Paul Meaney [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 4:08 PM
To: [EMAIL PROTECTED]
Subject: bean creation and scope
Hi there.
===
To unsubscribe: mailto [EMAIL
Hi,
I am trying to upload a file in a database using jspSmartUpload but when
I execute my jsp file Tomcat gets me the error:
***
Error interno del servlet:
javax.servlet.ServletException
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
at
Richard Diaz wrote:
I need some help on finding an ODBC Driver so I can open an MS Access
Database on a LINUX 7.0 server (Using Tomcat for JSP).
Has anyone here done this before?
I'm totally burned out search websites, forums, archives... =(
thanks,
Rich
The best way to learn is to read the Installation guide that ships with tom
cat.
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Othmar Stehlik
Sent: 17 July 2001 10:56
To: [EMAIL PROTECTED]
Subject:
Why you don't use a JDBC driver.
See on the Java web site where you can find it for Ms Access on to:
http://industry.java.sun.com/products/jdbc/drivers
-Original Message-
From: Richard Diaz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 11:11 AM
To: [EMAIL PROTECTED]
This is an old problem that effects all forms
My approach would be to divide and conquer,
1. Create an application scope bean for each country containing geographic
data about that country
2. On the first page of your JSP make the user pick a country (hardcoded in
JSP since countries don't
Thanks for the reply,
I understand your solution and am defintely gonna be trying to implement
this. In our case, it isnt exactly the country example, but a whole lot of
different attributes.
However, I understand that creating separate beans for logical entities in
the table will be useful.
2. Populate a vector on the server side and keep it in application
Second, application scope is not the solution..at least if you plan to
update any of these records. If they are only for viewing then it should be
ok since multiple threads can access the same data without any concurrent
You can find the newly released alpha version of the HyperQbs visual
component framework 2.1 at http://www.hyperqbs.org.
HyperQbs fully complies with the new JavaServer faces (JSR-127)
specification for server-side GUI components being defined in Java
Community Process.
New features:
- support
Richard,
Are you looking for an ODBC driver or a JDBC driver? Access comes with it's
own ODBC driver, and should be viewable when you select the drivers tab
under Settings-ControlPanel-Administrative Tools-DataSources(ODBC). JDBC
is a different matter. I have never seen a JDBC driver for
Glenn:
you need to send the files to see what's on it
Atilio
--- Glenn Wearen [EMAIL PROTECTED] wrote:
Hi,
I have a JSP page which contains a select
drop-down/combo-box, the JSP
retrieves the text and value of the option
elements from a Vector member
of my session bean , when I load
Can anyone tell me why this
%
String strHeader = request.getHeader(referer);
String strCompare = http://test.com;
out.println(strHeader);
if (strHeader.equals(strCompare))
{
String strOutput = http://www.amazon.com/;
}
else {
String strOutput = http://www.bn.com/;
}
%
br
center
font
Hi,
I want to upload information from a database registered with client to my
server.In Wrox's Professional JSP, author has used the path ,say,
jdbc:mysql://234.56.12.22/mydb
to connect to a database located on a machine with IP 234.56.12.22. I
haven't try that because I dont use mysql.
because you declare you variable in an if statement. It is out of scope when you call
it outside the if.
Alex Nguyen [EMAIL PROTECTED] 07/17/01 12:55PM
Can anyone tell me why this
String strHeader = request.getHeader(referer);
String strCompare = http://test.com;
out.println(strHeader);
if
You've defined the variable strOutput within a limited scope (those brackets
immediately following the strHeader.equals(strCompare) evaluation) so it
doesn't exist by the time you get to the bottom. Try this:
String strOutput = null;
if (strHeader.equals(strCompare)) {
strOutput =
It's no longer in scope. try this instead:
(*Chris*)
%
String strOutput;
String strHeader = request.getHeader(referer);
String strCompare = http://test.com;;
out.println(strHeader);
if (strHeader.equals(strCompare))
{
strOutput = http://www.amazon.com/;;
} else {
String
Rajinder Sandhu wrote:
now it is working..
1. i made a directory under examples and put my jsps in that.
2. Another directory same name in web-inf\classes.
3. java file has this line of code package directoryName ;
now it works fine.
I dont know why always i have to use package, it is
Hi Francesco
Change it like this:
Old Colde INPUT TYPE=text VALUE=%=description%
New Code INPUT TYPE=text VALUE='%=description%'
(ie provide that description jsp expression in Single quotes)
Kishore Veleti
- Original Message -
From: Gianfrancesco Martinico
[EMAIL PROTECTED]
To:
Can someone recommend a good java engine that works well under IIS
::My requirements::
- Handles Heavy Loads
- Is Free
- Does Wireless
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For
All,
Any one have a reliable JSP hosting reference. I need database either
Oracle, mysql, etc... and 100 megs space. Must have 24 hour support and
telnet shell account, and have extensibility for new class path additions
for my own packages to be added.
CC me your response at
[EMAIL
Hey all,
I am separating our site into 3 separate web-apps (per the Servlet 2.2
spec). Outside, Inside and Admin. On the outside, I want EVERY page to be
cached including ALL graphics, EXCEPT for a couple of pages (login,
enrollment, lost password, etc). On the inside, I want ALL pages except a
I use mmaweb.net, not free, but seems to be highly reliable. $49.99/month
for a commerce account with your own private JVM -
http://www.mmaweb.net/commerce.html
At 06:04 PM 7/17/01 -0700, Hans Bergsten wrote:
Dylan del Rosario wrote:
All,
Any one have a reliable JSP hosting reference. I
Hi,
Access (Desktop Database) can't do that, you need an EnterPrise Database as
: DB2, Oracle.
Hope this help,
ThuLV,
- Original Message -
From: Hamid Mukhtar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 18, 2001 12:09 AM
Subject: Accessing a remote database
Hi,
in the string put \ before
Like this: abc\d
it will be: abcd
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Hi there.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:
Hi there. I've just started developing with JSP's and while I've got my first
subsystem up and running, there are just a few things that puzzle me a little.
I would like to set up a series of JSP pages which are controlled by a servlet, using
the MVC pattern. Depending on the nature of values
38 matches
Mail list logo