RE: strange problem while implementing validation

2004-06-25 Thread Gaurav_Goyal
Looks to me like something in doStartTag is looking for something from
request or session and its not finding it since its a startup and so it
throws an exception.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, June 25, 2004 10:12 AM
To: 'Struts Users Mailing List'
Subject: strange problem while implementing validation


Hello
I'm running Eclipse with Tomcat 5.0.18 and Struts 1.1. Since I use
validation my
application sometimes dies at startup. When I restart the server it throws
the
following exeption:

--
java.lang.NullPointerException
at
org.apache.struts.taglib.html.JavascriptValidatorTag.doStartTag(JavascriptVa
lidatorTag.java:316)

at org.apache.jsp.index$jsp._jspService(index$jsp.java:741)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


-Jignesh 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: include page + Resource bundle

2004-06-24 Thread Gaurav_Goyal
try doing it without a struts tag first...
do request.setAttribute(header,global.commandinformation.title) in the
calling jsp
and String somestring = request.getAttribute(header); in the
CommandSaveIncludeHeader.jsp
 
although if global.commandinformation.title is already defined in your
ApplicationResources.properties, why don't you directly use bean:message
key=global.commandinformation.title in your CommandSaveIncludeHeader.jsp

-Original Message-
From: Naresh Sharma [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 8:26 AM
To: Struts Users Mailing List
Subject: JSP:include page + Resource bundle



 

HI,

 

Please suggest, I wish to pass 'header' parameter to
CommandSaveIncludeHeader.jsp, the value inside 'header' parameter is
actually a key in Resource bundle.

See ex.

jsp:include page=CommandSaveIncludeHeader.jsp 
jsp:param name=header value=global.commandinformation.title / 
/jsp:include 

I am not sure if any Struts tag is there for above statement. But this
scheme is also not working, on CommandSaveIncludeHeader.jsp page I am
getting header as

global.commandinformation.title1, not from the resource bundle.

 

Please suggest.

 

Regards

Naresh

 



RE: [OT] Arraylists/Collections

2004-06-24 Thread Gaurav_Goyal
A possible way to do this could be to insert the collection into a temp
table in the database and access that using the PL/SQL proc to do your
processing. 

-Original Message-
From: Bill Siggelkow [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 11:14 AM
To: [EMAIL PROTECTED]
Subject: Re: Arraylists/Collections


java.sql.Array?

CRANFORD, CHRIS wrote:

 Is there a proper way to pass an arraylist/collection to a pl/sql
procedure
 besides turning it into a string on the java-side and passing it then as a
 VARCHAR parameter?
 
 ___
 Chris Cranford
 Programmer/Developer
 SETECH Inc.  Companies
 6302 Fairview Rd, Suite 201
 Charlotte, NC  28210
 Phone: (704) 362-9423, Fax: (704) 362-9409, Mobile: (704) 650-1042 
 Email: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]