MessageI only want to know how can i do to stop the execution of a JSP
script.
For example:
if (i == 666) {
STOP HERE!
} else {
continues
.
.
.
}
In php I use die() but I can't found the correct method for JSP.
Regards
Papo
=
Hi!!
I have a JSP Script that includes another JSP script with a
tag.
The included Script returns a value. How can I do to get this value in the
main script ??
Regards
Papo
===
To unsubscribe: mailto [EMAIL PROTECTED] wi
I think that this doesn't works with Tomcat 4.0 because it returns this
error:
[EmbeddedCatalinaServiceSX] StandardWrapperValve[jsp]: Servlet.service() for
servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 2 in the jsp file:
I tried with this alternatives:
<%@ include file="userfunc.jsp" %>
after the include a try:
<%=retval%>
The variable retval is defined in the userfunc.jsp file with this
instruction:
int retval = 0 ;
The server returns this error:
[EmbeddedCatalinaServiceSX] StandardWrapperValve[jsp]: Se
RE: questionHi!
Finally all is working fine. Thank you all for your help!
Cheers,
Papo.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set
Hi!
If have a function that returns some kind of object
(a HashMap for example)... How can I do to return an error value if the function
fails ??
Cheers,
Papo
Hi!
I've a mysql table with an auto_increment field so..
How can I, after having inserted the results get back in the application the
id
of the experiment ? I may not do a select max afterward since this
application
is being used by quite a lot of people concurrently
cheers,
Papo
Hi!
I want to know how can I do to print a "image" file that I have in a String
var ??
I'm setting a header with content-type and the execute an print with the
string.
The problem is that it doesn't print the 00 Chars
any idea ??
Regards,
Papo
===
Hi!
I've a method in an EJB that returns a CachedRowSet.
This method before returning the rows, checks from some privileges of the
user that is logged in.
If the user haven't necesary privileges doesn't return the CachedRowSet.
Now I want to now how can I do to know which exception has made the
Hi!
I've written the following Servlet to read an Image from a Mysql Database
and send it to the browser.
public class ImageServlet extends HttpServlet {
public void doGet(HttpServletRequest request,HttpServletResponse response)
throws ServletException, IOException {
try {
InitialContext
t; } finally {
> // make sure it's closed
> if (rs != null) rs.close();
> if (stmt != null) stmt.close();
> if (conn != null) conn.close();
> }
>
> regards,
> Wayan
>
> -Original Message-
> From: Papo Napolitano [mailto
Yes.. I've did it a few days ago.
What do you want to know ??
Cheers,
Papo
I just used rs.getString() to read the data from
the database and for I've written a Simple Servlet to send the image to the
browser.
Cheers,
Papo
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
14 matches
Mail list logo