I'm new to JSP and Java. Does anyone know if you have to do anything special
when working with a jar file? I am using WebSphere 3.0 and IIS on an NT box.
I have the classpath set up in websphere and refreshed the machine, but when I
do a page import on a class, I get the following message:
"ja
Hi All
I am using JRun with IIS. I am connecting to my SQL Server database with JDBC-ODBC.
I have a query where i try to retreive data from 5 tables.
it goes something like this:
select t1.a as field1, t2.b as field2, t3.c as field3
from db1 t1, db2 t2, db3 t3
where t1.x=t2.x and
t2.y=t3.y
wh
Singh Kuldip wrote:
> so please write to me how to make it possible so that when browser loads
> the .jsp file the depending upon its content it reads it as .xml or .html
> (its default)
>
You can set the content type of the output in the <%@ page %> directive of the
pages that generate XML:
This may mean that you downloaded the binary distribution of Tomcat. Get
the Tomcat 3.0 source and build it locally to solve this problem - there was
a problem with the binary distribution.
Dave
- Original Message -
From: Harris Wulfson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: F
I am developing some servlets and of course I have some
hyperlinks in them. Is it possible to mask the hyperlink with something
else???
Thanks in advance.
"C_Sethi, Sandeep" wrote:
> Hey List-o-rama !
>
> Got a sec. for a rookie ?
>
> Out of curiousity, I'd like to port some of our applications
> (WindowsNT/IIS/ASP/MTS/COM) to either:
> - WindowsNT/IIS/JSP
> or
> - Linux/JSP
> and see how they work.
>
> * I'm stuck where I d
-Original Message-
From: Phillips, George H. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 03, 2000 9:32 AM
To: [EMAIL PROTECTED]
Subject: Re: JSP Architectural Question
All of the architectures I've read about on this list are very logical,
maintainable, and seem to make good use
-Original Message-
From: Daniel Lopez [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 04, 2000 6:55 AM
To: Perry Hoekstra
Cc: [EMAIL PROTECTED]
Subject: Re: JSP Architectural Question
Hi Perry,
I don't know who are you talking to ;), but I had to face a similar
problem so...
We recent
Hello,
We are planning to start developing Java Servlets. We are currently running
Netscape 3.51 web server. Can someone please point me to a good Java Servlet
engine that I can have installed on our server.
Thanks.
Una.
=
Allaire has been Sybasing/BEAing a lot lately (acquiring lots of firms), and
we haven't seen a 1.1 JSP implementation for JRun - does anyone know if it
is on the horizon?
===
To unsubscribe: mailto [EMAIL PROTECTED] with body
Hi Sanjeev,
here is a small example how to call Session EJB:
<%@ page import="
commyEJB.*,
...
"
%>
<%!
public myEJBHome getMyEJBHomeInterface(){
MyEJBHome home = null;
try {
// Contact the MyEJBean container through JNDI.
Context ctx = getInitialContext();
Hi Jane
If its simply to much email traffic got to www.jsp-interest.com and
check-out the "list options" link on the left side of the page. You can stop
the email influx by selecting the radio button labeled "do not receive
email" at the foot of the page. This enables you to still read them at the
I have a page called a.jsp, in the page I have a <%@ include file="b.jsp"
%>. And b.jsp include c.jsp, c.jsp include d.jsp How many levels one
can go? In a test I did before it seems like it would not go beyond the
2nd level (b.jsp). Does any one has experience or answer this
theorectically? I
Hi,There are two books that I know of that have
some JSP details and you canget them from Fatbrain/Amazon (sorry but no idea
about book shops in India):Professional Java XML Programming with
Servlets and JSP $39.95 - follow linkto read more details:
http://www1.fatbrain.com/asp/BookInfo/BookI
Jari Worsley wrote:
>
> >
> > For validation, it works the way I described in my previous response -- the
> > CustomerBean includes a validate method that returns either an error message
>string, or
> > a null (if everything works right).
>
> I have a problem with the validation the way its desc
The key to the cookie is the domain/path and the name of the cookie.
Watch out for the defaults. If you are in
www.myco.com/dir1/dir2/some.html, you may get a different default path
then you get from www.myco.com/dir5/some.html. The domain of the cookie
that is written you become www.myco.com/di
See below.
Sreekumar Pillai wrote:
> well.. thanks for all the responses. You guys are great. At least I am
> learning a lot.
>
> On the same thread, can I do something like this? When the user hits submit,
> I am redirecting back to the same page, executes forwarding to the Model2Servlet.
>
>
Hi,
I developed a JSP-based application which works fine with JRun 2.3.3 Build
1.57 on Windows NT: When installing the whole stuff on a Unix
machine(Solaris), JRun produces always wrong javas file when translating the
JSPs. It always produces a package line without the package name, the class
nam
I've checked everywhere else and have come up empty, so I'll try here.
here's my problem, we do some branding on our site and we wanted to use
cookies to persist branding when users return to the site.
We decided, since there's no other way, to use cookies, but I'm having a
problem. I can set t
Somebody asked if there is a digest for the list. Yes, there is one.
There are also archives. I posted a message on this topic a while ago.
Follow the link below and you will get at it.
Hope this helps,
- eduard/o
http://archives.java.sun.com/cgi-bin/wa?A2=ind9912&L=jsp-interest&P=R710
check out DBpool class at http://coldjava.hypermart.net
ColdJava: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal Netscape WebMail account today at
http://webmail.netscape.com.
i created a variable in javascript and want my jsp
code to recognize it, suggestion?
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
===
I think that by now everyone is using the DispatcherServlet->ActionClass paradigm but I
still see discrepancies between how the JSP pages become part of the application.
I do not have a designer working on my JSP pages so I have freedom to design the JSP
stuff
as I think would be easiest for me
Hi Martin,
There J2EE-INTEREST that is very good for questions about how to run
J2EE. Sun engineers answer questions very quickly on that list too. You
prob will get answ here too, but FYI
--
Tom
Thomas Preston
Vacation.com, Inc.
Engineering Department
617.210.4855 x 124
=
is this book any good compare to other XML book?
Ron Chan wrote:
> Hi all,
>
> also see Wrox's Java and XML, that has some JSP
> coverage.
>
> ron
>
> --- Danny Trieu <[EMAIL PROTECTED]> wrote:
> > Java Server Progamming is the book to buy. Right
> > now there isn't any book that's
> > specific
Hello all,
I'm asking hoping that someone will have a suggestion
Following some of the architecture guidelines I've seen here and elsewhere,
I've set up a system with a controller servlet forwarding for presentation
to
a JSP. I have several forms in the JSP which I would like to submit back
Yes - I know it's for looping but that still doesn't explai the point - I
could just as easily do this
public int soAfterBody()
{
while(bNotDone)
{
}
return SKIP_BODY
}
I don't need EVAL_BODY_TAG to let me loop
Kevin Jones
DevelopMentor
> -Original Messa
The J-Integra pure Java-COM bridge will let you call your COM components from Java
clients running in any JVM on any Operating System on any platform, and requires no
native code.
The machine running the COM component need have no special additional software
installed, since J-Integra talks DC
I am really intersted in this as well. I join the request.
thanks in advance
carlos
On Thu, 3 Feb 2000 10:47:14 -0600, Drew Larsen <[EMAIL PROTECTED]> wrote:
>Does anybody know if there is a jsp tag library
>extension available for DreamWeaver 3? Macromedia
>provides libraries for ASP, ColdFus
Hi Richard,
I think you'll see a new version of JRUN very soon - but it's still in Beta
(JRUN3Beta3) - and it looks very good
Regards,
Jens Andersen
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Richar
You have to send it's value to the server (where the JSP kode gets executed)
either by appending it to a URL or inserting it in a hidden form field. This
implies that a request has to be done by the client to the server, or the
JSP page won't be executed nor the data transfered.
More advanced dat
Hi everyone,
Does anyone know how to use JSP to send
emails. I might need to write a java bean for that purpose. Does
anyone know of an existing open source bean for that.
Thanks in advance.
This sounds very much like the "Portlets" work being done in the
Apache-Jetspeed project (from what I've understood while lurking on its
mailing-list).
http://java.apache.org/jetspeed/index.html
Lance Lavandowska
www.AgDomain.com
www.Brainopolis.com
- Original Message -
From: "David Moss
John is right.
When you say "docs", do you mean the JSP 1.1 spec? If so, there is such
an example in the JSP 1.1 spec (Appendix A, Examples, page 135). If
not, where were you looking? in the javadocs? Any suggestions on how to
improve documentation?
Also, see the Tag Libraries slides we just
> Reason
>
> becausethe file has .jsp extention not .xml so browser does not consider
it
> xml and displays as normal file
I have no idea, but is this the real reason (it seems unlikely)? Have you
set the document's content-type to xml? Most default to text/html...
David
=
We've had no problems with ServletExec from New Atlanta
(www.newatlanta.com), but we aren't really using it for anything very heavy
duty. I suspect that if you want to build mission-critical, LOB
applications, you want to look at an n-tier architecture, using an
application server like NAS, WebLo
- Original Message -
From: Harris Wulfson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 05, 2000 11:59 AM
Subject: Tags, getting started
> Does anyone know the cause of this cryptic error message:
>
> Error: 500
> try to access class com/sun/xml/tree/ParentNode fro
Have you tried the FAQ? Specifically question 39?
- Original Message -
From: Michael Parcewski <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 04, 2000 5:11 AM
Subject: Cookies
> I've checked everywhere else and have come up empty, so I'll try here.
>
> here's my probl
Jason Hunter's book has a section on sending
email. You can do it in JSP, a servlet or in a (servlet-)bean, Your choice (JSP
is a servlet). The text is Java Servlet Programming, published by O'Reilly.
Jason is at www.Servlets.com, I
think.
I understand Sun also has a downloadable send ma
Hi everyone
Could someone direct me on how to upload text files
and images in JSP.
Thanks in advance.
http://www.servlets.com
MailMessage is in the free O'Reilly classes there.
-Tom-
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Aimn
Sent: Saturday, February 05, 2000 7:59 AM
To: [EMAIL PROTECTED]
Subjec
- Original Message -
From:
Aimn
To: [EMAIL PROTECTED]
Sent: Sunday, February 06, 2000 4:58
AM
Subject: emails
Hi everyone,
Does anyone know how to use JSP to send
emails. I might need to write a java bean for that purpose. Does
anyone know of an existin
Guess this is my day to plug Jason Hunter's
book.
Jason's text, Java Servlet Programming, O'Reilly, provides a
good tutorial on multipart requests -- i.e.: file uploads. Visit Jason's site at
www.servlets.com (?).
If you don't have the text, I'd recommend you get it.
Useful.
The iss
?D ??? ??? ?" #*? ???
??P
??? ??
?
??
??? ??
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
I'm am very interested in this as well. Right now I'm running Starnine's
Webstar server that comes bundled with Jrun and I really need to jsp
support.
I am also hoping t
Yep, I've come across this exact same problem and received the same error
message. I'm a JDBC amateur so my answer may seem a little ignorant to the
savy programmer. I think I found that accessing the resultset out of order
caused the problem. For instance, if my SQL statement said "Select
firs
hi guys,
Can anyone help me to find out JDBC Driver for MS SQL Server 7.0.
Thanks.
-Sanjay
__
NetZero - Defenders of the Free World
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html
===
"Alex Tavera V." wrote:
> Hi,
>
> I'm using Tomcat-Apache as my JSP server.
> Calling a JSP file from a web browser (test.jsp) it works, but when I call
> it with the jsp extension uppercase (test.JSP) actually I can see all the
> JSP code!!
>
> Does anybody knows, how to deal with this problem?
Have you checked out http://java.sun.com/products/jdbc/drivers.html
Most of these vendors don't give them away for free unfortunately. I use
SQL Server 7 and I've found the JDBC:ODBC driver works fine. Of course, I
only use the basic functionality, so you may need something faster or more
powerf
Check out the O'Reilly Servlets book. It has some sample code to do this.
I've included the file (which I've edited a little and corrected one
significant bug). Also included is some sample code for how to use the
class. It only looks for one file, but it could handle more.
try {
S
You definitely don't want the SQL Server 7 JDBC/ODBC driver for serious
apps. It is single threaded so performance quickly degrades. It's also
pretty buggy. I had a lot of problems with it and switched to a type 4
driver. We use the inet driver, but there are many out there: jturbo,
weblogic,
We use JTurbo (www.jturbo.com) and sometime tds from InetSoftware
(www.inetsoftware.de) for development. They all work greatly well. Too bad
their pricing structure is a bit silly and it's a must say that they are
expensive, but works.
--
Steve Nguyen
Web Hosting Support Team
KBMail Software & Ja
We have pushed PDF versions of our current set of Servlet and JSP
presentations to our web site. There are 4 presentations covering:
* An overview of JSP and Servlets.
* Tomcat, the JSP and Servlet reference implementation.
* The relationship of JSP and Servlets within the J2EE platform.
* JSP t
52 matches
Mail list logo