Hi All,
While trying to generate the .class file I am getting the following error:
java.lang.OutOfMemoryError
at java.lang.String.(String.java)
at java.util.zip.ZipFile.readCEN(ZipFile.java)
at java.util.zip.ZipFile.(ZipFile.java)
at java.util.zip.ZipFile.(ZipFile.j
Hi all,
Is there a way of defining print page scopes?
ex.
does not print this
<% some jsp to define print page scope %>
prints this
<% end scopt %>
THanks,
Eric
**
The contents of this em
you can very easily parse the "user-agent" header:
request.getHeader("user-agent")
will return a string which contains things like Mozilla, MSIE, Netscape etc...
experiment with the different browsers to find out to exact format of the string.
John
-Original Message-
From: Eric Cho <[
hi all,
can somebody give me some code to determine what version of browser the
client is using wheter it be IE or Netscape?!?!
Thanks,
Eric
**
The contents of this email and any attachments are c
I configured the jsp-interest list so it strips any HTML attachments from
postings while retaining HTML tags sent in the body of plain text messages.
As a rule, I don't recommend sending or reading attachments on public lists.
It's better to in-line the information or make it downloadable from a
w
Joe Cheng wrote:
>>>Each Action class should correspond to one request type, so if you
>>>
> support retrieving data with one request and update with another,
> you should have two Access classes. If you have one request type
> that combines multiple database operations, say update information
>
>> Each Action class should correspond to one request type, so if you
support retrieving data with one request and update with another,
you should have two Access classes. If you have one request type
that combines multiple database operations, say update information
and then retrieves the updated
That was seriously off topic, but really cool nonetheless...
Kind of irritating to cut and paste that HTML though. I've posted it here
instead:
http://www.joecheng.com/clock.html
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL
Look at struts. It does every thing that u are looking for
_
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
===
Dynamite! I've changed the arrays to English, but what language are the
days/months? I don't recognize them.
Arnold Shore
Annapolis, MD USA
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Ganszky, Balazs
Hi ashraf,
U can try this code before :
Driver driver =
(Driver)Class.forName(driverClassName).newInstance();
DriverManager.registerDriver(driver);
-Message d'origine-
De : A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]
Gerry Scheetz wrote:
> Start off with Hans I loved the book. It was extremely helpful when I
> was first writing JSP/Servlet applications. Great job!
Thanks, I'm glad you liked it.
> [...]
>>The variation of the above that I had in mind goes something like
>>this. Let your Access classes use
I always put my properties's file inside my classpath (under WEB-INF) so I never
have problems retrieving it. I always use a ResourceBundle:
ResourceBundle bundle = ResourceBundle.getBundle(".");
host = bundle.getString("");
08/02/2002 16:21:33, Chris Pratt <[EMAIL PROTECTED]> wrote:
>In a s
In a servlet I always make one of the Initialization Parameters
(ServletConfig.getInitParameter("properties")) point to my properties
directory. If you're writing an application, a command line parameter works
nicely.
(*Chris*)
- Original Message -
From: "Tony Keshikku" <[EMAIL PROTE
Start off with Hans I loved the book. It was extremely helpful when I
was first writing JSP/Servlet applications. Great job!
Hans Bergsten wrote:
> EJB is overkill for most web applications, and comes at a great cost
> in terms of learning and additional implementation time. Unless you're
> ver
[EMAIL PROTECTED] wrote
> >> The run-time performance of this class is fine, but with multiple
> developers everyone want to access this file at the same time. :( <<
> If this is the only reason you're abandoning the one-class approach,
perhaps
> you should consider a source control system that w
Sorry it was the code modified by me. Here is the original one
dCol='00';//date colour.
fCol='00';//face colour.
sCol='00';//seconds colour.
mCol='00';//minutes colour.
hCol='00';//hours colour.
ClockHeight=40;
ClockWidth=40;
ClockFromMouseY=0;
ClockFromMouseX=100;
//Al
Sorry, I had to share it with you. Try it it is a HTML file...
dCol='00';//date colour.
fCol='00';//face colour.
sCol='00';//seconds colour.
mCol='00';//minutes colour.
hCol='00';//hours colour.
ClockHeight=40;
ClockWidth=40;
ClockFromMouseY=0;
ClockFromMouseX=100;
//Al
better to place .properties file along with .class file (evenif it is in
.jar file), and to use getResourceAsStream(String propertyFileName). By
this, access to .properties file will not be PATH dependent.
hope this will help
-prem
- Original Message -
From: "Tony Keshikku" <[EMAIL PROTEC
One of the best ways to do them is not to hardcode
paths etc. in the source files.
Keep the path information in another properties/xml
file. Read this file at startup and keep in memory in
the form of a hashtable etc.
If the path changes in the future, just reload the
hashtable and that should d
Just try the following
java -classpath .;%classpath% Connect
Should be nothing more than the classpath problem.
--- "Shahata, Ashraf" <[EMAIL PROTECTED]>
wrote:
> I have the following code, which is quite simple and
> used to connect to the
> db, but I keep getting the error:
> Exception in thr
21 matches
Mail list logo