RE: Bean tag lib help

2003-08-07 Thread Vance Heredia
Thats my code









I changed it as suggested and this was the error I got

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 51 in the jsp file: /files.jsp

Generated servlet error:
[javac] Compiling 1 source file

/usr/local/tomcat-imageshed/work/Standalone/localhost/spooleradmin/files_jsp
.java:154: illegal start of expression
  fully-qualified-class-type-name processName = null;
  ^



An error occurred at line: 51 in the jsp file: /files.jsp

Generated servlet error:
/usr/local/tomcat-imageshed/work/Standalone/localhost/spooleradmin/files_jsp
.java:154: not a statement
  fully-qualified-class-type-name processName = null;
 ^



An error occurred at line: 51 in the jsp file: /files.jsp

Generated servlet error:
/usr/local/tomcat-imageshed/work/Standalone/localhost/spooleradmin/files_jsp
.java:154:  expected
  fully-qualified-class-type-name processName = null;
   ^



Vance Heredia

Java Wireless Architect
Global Applications
Lonely Planet Publications
Email: [EMAIL PROTECTED]
Phone: +61 3 8379 8000

http://www.lonelyplanet.com/
http://mobile.lonelyplanet.com/
http://wap.lonelyplanet.com/
 
-Original Message-
From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 6 August 2003 5:33 PM
To: [EMAIL PROTECTED]
Subject: Re: Bean tag lib help


try



-- nagi


---Original Message---

From: Struts Users Mailing List
Date: Wednesday, August 06, 2003 12:18:43 PM
To: '[EMAIL PROTECTED]'
Subject: Bean tag lib help

Hello,

I got a question. My struts-bean tag doesnot seem to work correctly.

Everytime I use the Bean tag

Eg 

I get a 

java.lang.ClassCastException
at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:766)
at
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:481)
at org.apache.jsp.files_jsp._jspService(files_jsp.java:149)


The Java code looks like 

_jspx_th_html_form_0.setParent(_jspx_th_html_html_0);
_jspx_th_html_form_0.setMethod("POST");
_jspx_th_html_form_0.setAction("/files");
149-> int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
if (_jspx_eval_html_form_0 !=
javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n ");
/*  bean:define  */
java.lang.Object processName = null;
org.apache.struts.taglib.bean.DefineTag _jspx_th_bean_define_0
= (org.apache.struts.taglib.bean.DefineTag)
_jspx_tagPool_bean_define_property_name_id.get(org.apache.struts.taglib.bean
..DefineTag.class);


Doea anyone have any ideas how to fix it 


Vance Heredia

__
This email, including attachments, is intended only for the addressee
and may be confidential, privileged and subject to copyright. If you
have received this email in error, please advise the sender and delete
it. If you are not the intended recipient of this email, you must not
use, copy or disclose its content to anyone. You must not copy or 
communicate to others content that is confidential or subject to 
copyright, unless you have the consent of the content owner.





  IncrediMail - Email has finally evolved - Click Here 


Re: Bean tag lib help

2003-08-08 Thread Nagendra Kumar O V S








  try
   
  
   
  -- nagi
  ---Original Message---
   
  
  From: Struts Users Mailing 
  List
  Date: Wednesday, August 
  06, 2003 12:18:43 PM
  To: '[EMAIL PROTECTED]'
  Subject: Bean tag lib 
  help
   Hello,I got a question. My struts-bean tag 
  doesnot seem to work correctly.Everytime I use the Bean 
  tagEg I get a 
  java.lang.ClassCastExceptionat 
  org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:766)atorg.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:481)at 
  org.apache.jsp.files_jsp._jspService(files_jsp.java:149)The 
  Java code looks like 
  _jspx_th_html_form_0.setParent(_jspx_th_html_html_0);_jspx_th_html_form_0.setMethod("POST");_jspx_th_html_form_0.setAction("/files");149-> 
  int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();if 
  (_jspx_eval_html_form_0 !=javax.servlet.jsp.tagext.Tag.SKIP_BODY) 
  {do {out.write("\r\n ");/*  bean:define  
  */java.lang.Object processName = 
  null;org.apache.struts.taglib.bean.DefineTag 
  _jspx_th_bean_define_0= 
  (org.apache.struts.taglib.bean.DefineTag)_jspx_tagPool_bean_define_property_name_id.get(org.apache.struts.taglib.bean..DefineTag.class);Doea 
  anyone have any ideas how to fix it Vance 
  Heredia__This 
  email, including attachments, is intended only for the addresseeand 
  may be confidential, privileged and subject to copyright. If youhave 
  received this email in error, please advise the sender and deleteit. 
  If you are not the intended recipient of this email, you must notuse, 
  copy or disclose its content to anyone. You must not copy or 
  communicate to others content that is confidential or subject to 
  copyright, unless you have the consent of the content 
  owner.





	
	
	
	
	
	
	




  IncrediMail - 
Email has finally evolved - Click 
Here



RE: Bean tag lib help

2003-08-09 Thread Vance Heredia

Ummm don't worry about that last post I re-read it and used the
java.lang.String but it didn't work correctly
Same error  

If anyone has encountered this error I would really appreciate any help

Vance


Vance Heredia

Java Wireless Architect
Global Applications
Lonely Planet Publications
Email: [EMAIL PROTECTED]
Phone: +61 3 8379 8000

http://www.lonelyplanet.com/
http://mobile.lonelyplanet.com/
http://wap.lonelyplanet.com/


> -Original Message-
> From: Vance Heredia 
> Sent: Wednesday, 6 August 2003 5:43 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Bean tag lib help
> 
> 
> Thats my code
> 
> 
>  property="processName" type="fully-qualified-class-type-name" 
> />  property="folder" type="fully-qualified-class-type-name" /> 
>   property="processName"/>  cellspacing="0" cellpadding="0">
> 
> 
> I changed it as suggested and this was the error I got
> 
> org.apache.jasper.JasperException: Unable to compile class for JSP
> 
> An error occurred at line: 51 in the jsp file: /files.jsp
> 
> Generated servlet error:
> [javac] Compiling 1 source file
> 
> /usr/local/tomcat-imageshed/work/Standalone/localhost/spoolera
> dmin/files_jsp
> .java:154: illegal start of expression
>   fully-qualified-class-type-name processName = null;
>   ^
> 
> 
> 
> An error occurred at line: 51 in the jsp file: /files.jsp
> 
> Generated servlet error: 
> /usr/local/tomcat-imageshed/work/Standalone/localhost/spoolera
> dmin/files_jsp
> .java:154: not a statement
>   fully-qualified-class-type-name processName = null;
>  ^
> 
> 
> 
> An error occurred at line: 51 in the jsp file: /files.jsp
> 
> Generated servlet error: 
> /usr/local/tomcat-imageshed/work/Standalone/localhost/spoolera
> dmin/files_jsp
> .java:154:  expected
>   fully-qualified-class-type-name processName = null;
>^
> 
> 
> 
> Vance Heredia
> 
> Java Wireless Architect
> Global Applications
> Lonely Planet Publications
> Email: [EMAIL PROTECTED]
> Phone: +61 3 8379 8000
> 
> http://www.lonelyplanet.com/
> http://mobile.lonelyplanet.com/
> http://wap.lonelyplanet.com/ 
>  
> -Original Message-
> From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, 6 August 2003 5:33 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Bean tag lib help
> 
> 
> try
> 
>  property="processName" type="fully-qualified-class-type-name"/>
> 
> -- nagi
> 
> 
> ---Original Message---
> 
> From: Struts Users Mailing List
> Date: Wednesday, August 06, 2003 12:18:43 PM
> To: '[EMAIL PROTECTED]'
> Subject: Bean tag lib help
> 
> Hello,
> 
> I got a question. My struts-bean tag doesnot seem to work correctly.
> 
> Everytime I use the Bean tag
> 
> Eg  property="processName"/>
> 
> I get a 
> 
> java.lang.ClassCastException
> at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:766)
> at
> org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:481)
> at org.apache.jsp.files_jsp._jspService(files_jsp.java:149)
> 
> 
> The Java code looks like 
> 
> _jspx_th_html_form_0.setParent(_jspx_th_html_html_0);
> _jspx_th_html_form_0.setMethod("POST");
> _jspx_th_html_form_0.setAction("/files");
> 149-> int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
> if (_jspx_eval_html_form_0 !=
> javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
> do {
> out.write("\r\n ");
> /*  bean:define  */
> java.lang.Object processName = null; 
> org.apache.struts.taglib.bean.DefineTag 
> _jspx_th_bean_define_0 = (org.apache.struts.taglib.bean.DefineTag)
> _jspx_tagPool_bean_define_property_name_id.get(org.apache.stru
> ts.taglib.bean
> ..DefineTag.class);
> 
> 
> Doea anyone have any ideas how to fix it 
> 
> 
> Vance Heredia
> 
> __
> This email, including attachments, is intended only for the 
> addressee and may be confidential, privileged and subject to 
> copyright. If you have received this email in error, please 
> advise the sender and delete it. If you are not the intended 
> recipient of this email, you must not use, copy or disclose 
> its content to anyone. You must not copy or 
> communicate