Thank you very much for the code tip, I'm going to look it today, hopefully
it shouldn't be too much of a problem. Looks like the mailing list cut most
of my JSP out of my last email :(
Thanks again,
Graeme :)
Public Sub House()
On Error Resume drink
If PintGlass.empty = True Then
I really suggest buying a book to learn JSP, that's the way I learnt and
is really the best way. I can recommend Beginning JSP Web Development by
Wrox Press -
http://www.amazon.com/exec/obidos/ASIN/1861002092/qid=1018940667/sr=8-1/
ref=sr_8_71_1/102-7390197-2280917 Its really made step by step and
Hi,
Yeah I know this solution. The problem is that I have many jsp to do such
changes.Also it should work on any j2ee compliant(jsp 1.1 supported) server.
Is this a bug in weblogic ?
Thanks
Ashwani Kalra
Sr. Mem. Dev. Staff
Aithent Technologies
http://www.geocitie
Hi,
I would recommend trying
RequestDispatcher dispatcher =
request.getRequestDispatcher("url_here");
dispatcher.forward(request,response);
return;
I percieve that the problem is that in jsp:forward uses
response.sendRedirect() which tends to ignore the changes to the request.
Hope t
Hi,
First jsp -
Second jsp -
<%
String name = request.getParameter("name");
%>
Third jsp -
<%
out.println("name = " + request.getParameter("name"));
out.println("name1 = " + request.getParameter("name1"));
%>
It works very fine in IPlan
Yes I am doing exactly same. What I have noticed is if in second jsp I
comment request.get... line and pass some hardcoded value , its working.
That means if I do something with request object, things are not working.
But I cannot avoid this.
Thanks
Ashwani Kalra
Ok do one thing what ever you want to do with request do it on second page but while
calling forward to third don't pass anything as the same request will be still valid
on third page.
If you do this are you getting null values for getParameter or something else.
-Original Message-
Fro
Hi all,
does anyone know how I can prevent tomcat from listing the contents of the
directories? Is it an attribute of the tag in the server.xml?
also, how do I tell it which is the welcome page of every directory (I mean
index.jsp or whatever)
Best regards,
SC
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 files are used as welcome files.
index.html
index.htm
Hi,
I would like to use a Custom Tag to open resources in the start tag and free
them in the closing tag. But if there is an exception in the enclosed body,
it seems that I will leak the resource (as the closing tag will not be
called).
For example, if I open a database connection in doStartTag
Andrew Cooke wrote:
> Hi,
>
> I would like to use a Custom Tag to open resources in the start tag and free
> them in the closing tag. But if there is an exception in the enclosed body,
> it seems that I will leak the resource (as the closing tag will not be
> called).
>
> For example, if I open
Hi!
How can I do to to put inside a JSP String Variable this information <%=VarName%>
I'd tried with this but i get an error:
String myVar = "<%=VarName%>" ;
Any idea ??
Regards,
Papo
===
To unsubscribe: mailto [EMAIL P
String myVar = VarName;
-Original Message-
From: Papo Napolitano [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 1:40 PM
To: [EMAIL PROTECTED]
Subject: Simple Question
Hi!
How can I do to to put inside a JSP String Variable this information
<%=VarName%>
I'd tried with this bu
Papo,
Can you provide more information on what you are trying to accomplish by
doing this? There is probably another way to achieve your desired results.
Regards,
Richard
At 05:39 PM 4/16/2002 -0300, you wrote:
>Hi!
>
>How can I do to to put inside a JSP String Variable this information
><%=V
In JSP 1.1, you simply cook your own try-catch-finally stuff,
preferrably in a generic base tag, which all your concrete
tags extend.
-- Oliver
Hans Bergsten wrote:
>
> Andrew Cooke wrote:
>
> > Hi,
> >
> > I would like to use a Custom Tag to open resources in the start tag and free
> > them in
Oliver Suciu wrote:
> In JSP 1.1, you simply cook your own try-catch-finally stuff,
> preferrably in a generic base tag, which all your concrete
> tags extend.
Unfortunately that's not possible in JSP 1.1. If there's an
exception while the custom action's body is processed, the
page processing
Has anyone seen this problem before and found a solution?
Prior to upgrading my java version from 1.3, my Tomcat 4.0.1 installation
worked fine. After upgrading to j2sdk1.4.0, I am unable to run JSPs
anymore. The error I get is:
org.apache.jasper.JasperException: Unable to compile class for JSPer
I'm not quite clear on what you're after here, however at the risk of being
simplistic,
The SQL to insert value1 - 3 into field 1 -3 of table tblname would be:
INSERT into tblname (field1, field2, field3) VALUES (value1, value2, value3)
The JSP to execute would be:
/* create and execut
Look into struts, it works great on forms
Daniel Jaffa
Stuff i say i know: Java, JSP, JavaBeans, TagLibs, J2EE, EJB
Before asking someone, do a search on google: Google will set you free
"If you are not happy, I am not happy"
_
19 matches
Mail list logo