Steve,
I can see your dilemma regarding introducing JavaBean development into your
organization. Using beans might seem to add an unnecessary level of
complexity and an additional learning curve. I can tell you that writing
beans is easy and doesn't require a full IDE, although there are several
Thanks for responses from Richard and Hans! Based on your comments and
comments from others, using beans is beginning to appear to almost always
being the best solution. And yet, as Richard said, "It depends." In my
post, I did not have emphasize that it seems that using request parameters
may b
Koustubh,
You need to use the getContext() method of javax.ServletContext instead of
getRequestDispatcher()
getContext
public ServletContext getContext(java.lang.String uripath)
Returns a ServletContext object that corresponds to a specified URL on
the server.
This method allows servlets to gain a
Are you sure, MySQL is listening on port 3360? The default is 3306 ...
Anyway, the syntax reads:
jdbc:mysql://localhost:3360/MovieCatalog
If MySQL is listening on the default port, this would be sufficient:
jdbc:mysql://localhost/MovieCatalog
And since you are only connecting t
Raj,
What is the taglib directive you are using in your JSP page?
Are you sure that your struts-bean.tld file is located in the WEB-INF
directory and not WEB-INF/jsp ? Make sure your path is correct. Depending
on the os, it may be case sensitive.
-Richard
At 11:20 PM 9/7/01 +0530, you wrote:
>
Othmar,
I think you spelled 'localhost' incorrectly.
>This is my url for Connecting: "jdbc:mysql:localost:3360//MovieCatalog"
If that doesn't fix it, verify that MySQL is running by using the
Management Console or running 'mysql' and running a simple query on the
database.
Regards,
Richard
At
Hi all,
I am seeing this message on server's console when i am accesing my JSP whcih
make use of .tld
weblogic.utils.ParsingException: nested IOException: java.io.IOException:
cannot resolve '
/WEB-INF/struts-bean.tld' into a valid tag library
I made entry in the web.xml file..
/WEB-INF/
Hi.
Can you put the Error what you faced.
I think you might have got ;
Access denied or Bad Handshake.
These two error used to come if the user does not have correct privileges
on mysql.
or edit the file c:\windows\host
127.0.0.1 computer-name (or) localhost
All the Best.
Senthil.
At 0
Try this:
java.io.StringWriter str = new java.io.StringWriter();
exception.printStackTrace(new java.io.PrintWriter(str));
return str.toString();
(*Chris*)
- Original Message -
From: "Christian Roslawski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 07, 2001 5:17 A
not sure if it'll help (don't know mysql), but try putting the (actual, not
127..) IP address of the m/c.
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Othmar Stehlik
Sent: Friday, September 07, 2001 10:3
I am having trouble setting and reading cookies.
Does anyone have a really basic example on how to set a cookie and then read
it?
I'd like to set:
myname = "troycampano";
and then read that from a cookie on another page.
thank you in advance,
Troy Campano
===
Hi
Again, Win98 sucks, mysql does not work
The Test Programm can load the JDBC Driver, but it cant Connect to the
Database.
This is my url for Connecting: "jdbc:mysql:localost:3360//MovieCatalog"
On Win2k everything worked fine!
I also tried it with jdbc:mysql:127.0.0.1:3360//MovieCatalog"
And in
Hello,
I have a problem with the requestdispatcher.
Under webapps ---> I have onefolder called test1 -->webapps-->classes-->servlet1.java
Another folder is test2 -->webapps-->classes-->mypage.jsp
I need to do a getRequestDispatcher(path).forward(req,res) in the servlet1.java. I
have to dis
Maybe you have IE cache, from your local machine. Close IE and start again,
or clear your cache.
Babu
-Original Message-
From: Senthil Raja V [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 10:23 AM
To: [EMAIL PROTECTED]
Subject: Cache Problem in tomcat
Hi.
can any one help
hi
Thanx a lot, now everything works fine!
> Hi.
> you have to increase your DOS memory to some what more than 1500.
> you can change this by right clicking the icon MS-DOS prompt from your
> start menu you will get properties.
> and from the properties sheet choose memory option to change initi
Hi.
can any one help me on this.
iam using tomcat as standalone server on windows.
i am not getting the page refreshed even after some changes has been done
inside the file.
but its working fine in the server machine (localhost).
its giving problem when i call the page from different machine.
sett
Hi.
you have to increase your DOS memory to some what more than 1500.
you can change this by right clicking the icon MS-DOS prompt from your
start menu you will get properties.
and from the properties sheet choose memory option to change initial
environment memory to abv 1500.
hope this helps..
R
You need to allocate more memory to the dos shell that startup.bat runs in. Edit the
properties for
startup.bat, click the memory tab and up the conventional memory allocated.
-Original Message-
From: Othmar Stehlik [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 8:21 AM
To:
I hvae the horrible job to use tomcat on win 98.
I set TOMCAT_HOME
then i set JAVA_HOME, but the DOS Prompt tells me, that there is not enough
storage allocated.(But writes, Tomcat started in a new Window)
Please Help, I guess there is a solution for the Problem
Othmar
--
GMX - Die Kommunikations
Hi Gamini,
> I have followed with interest Alireza & Richards problem and solutions
> for capturing stacktrace. I tried the solution suggested by you first
> using the following code within a JSP page
>
> PipedWriter pipeOut = new PipedWriter();
> PipedReader pipeIn = new PipedReader(
I would
like to have an applet on my pages that send ”keep-alive”
requests to my JSP server.
That
is, if somebody stays on a page for a long time (longer that the session time
out), I want the session to be kept alive by the applet sending dummy requests
at certain intervals.
If the
us
Steve Bang wrote:
>
> If a user interacts with various HTML form elements (such as checkboxes,
> selection lists, and radio buttons) on a page displaying a result set based
> on the selected options, what design decisions should I consider in how to
> maintain the state of the selections between p
Hi all
Offten one need severel JSP pages which looks almost the same. The only
difference could be that a field in one page is visible in the other not or
a link is activ in one page not in the other. Since I don't wont to write
two different JSP pages with that little difference I wonder if ther
23 matches
Mail list logo