I'm a Newbie - problem with recognition of html tags

2006-06-13 Thread carrie . latimer
When I compile my jsp and java files, I get 9 warnings from the jsp file.
It appears not to recognize the html tags ie unknown tag (html:cancel).
What have I done wrong?  Here is the login.jsp file.

%@ taglib uri=/WEB-INF/struts-bean prefix=bean %
%@ taglib uri=/WEB-INF/struts-html prefix=html %

html:html locale=true

head
titlebean:message key=welcome.title//title

html:base/

/head

body bgcolor=white

html:form action=/login

html:errors/

table

  tr

td align=center colspan=2
  font size=4Please Enter your Login/font
/td
  /tr

  tr
td align=right
Name
/td
  /tr
tr
td align=left
  html:text property=name size=4 maxlength=4/
/td
  /tr
  tr
td align=right
Password
/td
td align=left
  html:password property=password size=8 maxlength=8
/
/td
  /tr
  tr
td align=right
  html:submitSubmit/html:submit
/td
td align=left
  html:cancelCancel/html:cancel
/td
  /tr
/table
/html:form
/body
/html:html


Carrie Latimer
Florida's Turnpike Enterprise
Tolls Data Center
Main 561.488.5361
SC 247.5361
Fax 561.470.6615
Mobile: 561.239.6189
Nextel: 158*763*109
[EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I'm a Newbie - problem with recognition of html tags

2006-06-13 Thread David Kerber

[EMAIL PROTECTED] wrote:


When I compile my jsp and java files, I get 9 warnings from the jsp file.
It appears not to recognize the html tags ie unknown tag (html:cancel).
What have I done wrong?  Here is the login.jsp file.

%@ taglib uri=/WEB-INF/struts-bean prefix=bean %
%@ taglib uri=/WEB-INF/struts-html prefix=html %

html:html locale=true

head
titlebean:message key=welcome.title//title

html:base/
 

Where are you coming up with these html tags?  I've never seen tags that 
start with 'html:.  I'm used to seeing things like html, form 
name=myform, etc.




/head

body bgcolor=white

html:form action=/login

html:errors/

table

 tr

   td align=center colspan=2
 font size=4Please Enter your Login/font
   /td
 /tr

 tr
   td align=right
   Name
   /td
 /tr
tr
   td align=left
 html:text property=name size=4 maxlength=4/
   /td
 /tr
 tr
   td align=right
   Password
   /td
   td align=left
 html:password property=password size=8 maxlength=8
/
   /td
 /tr
 tr
   td align=right
 html:submitSubmit/html:submit
   /td
   td align=left
 html:cancelCancel/html:cancel
   /td
 /tr
/table
/html:form
/body
/html:html


Carrie Latimer
Florida's Turnpike Enterprise
Tolls Data Center
Main 561.488.5361
SC 247.5361
Fax 561.470.6615
Mobile: 561.239.6189
Nextel: 158*763*109
[EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



 





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I'm a Newbie - problem with recognition of html tags

2006-06-13 Thread Marc Farrow

David,
 Those tags are from the prefix of using teh struts-bean and
struts-html tag libraries.  I think you just do not know (or have not been
exposed) to tag libraries before.

Carrie,
  Try placing the file extension on your URI of your taglib tag.

On 6/13/06, David Kerber [EMAIL PROTECTED] wrote:


[EMAIL PROTECTED] wrote:

When I compile my jsp and java files, I get 9 warnings from the jsp file.
It appears not to recognize the html tags ie unknown tag (html:cancel).
What have I done wrong?  Here is the login.jsp file.

%@ taglib uri=/WEB-INF/struts-bean prefix=bean %
%@ taglib uri=/WEB-INF/struts-html prefix=html %

html:html locale=true

head
titlebean:message key=welcome.title//title

html:base/


Where are you coming up with these html tags?  I've never seen tags that
start with 'html:.  I'm used to seeing things like html, form
name=myform, etc.


/head

body bgcolor=white

html:form action=/login

html:errors/

table

  tr

td align=center colspan=2
  font size=4Please Enter your Login/font
/td
  /tr

  tr
td align=right
Name
/td
  /tr
tr
td align=left
  html:text property=name size=4 maxlength=4/
/td
  /tr
  tr
td align=right
Password
/td
td align=left
  html:password property=password size=8
maxlength=8
/
/td
  /tr
  tr
td align=right
  html:submitSubmit/html:submit
/td
td align=left
  html:cancelCancel/html:cancel
/td
  /tr
/table
/html:form
/body
/html:html


Carrie Latimer
Florida's Turnpike Enterprise
Tolls Data Center
Main 561.488.5361
SC 247.5361
Fax 561.470.6615
Mobile: 561.239.6189
Nextel: 158*763*109
[EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Marc Farrow


Re: I'm a Newbie - problem with recognition of html tags

2006-06-13 Thread David Kerber

Marc Farrow wrote:


David,
 Those tags are from the prefix of using teh struts-bean and
struts-html tag libraries.  I think you just do not know (or have 
not been

exposed) to tag libraries before.


Ok, thanks.  You're correct that I haven't dealt with that kind of thing 
before.





Carrie,
  Try placing the file extension on your URI of your taglib tag.

On 6/13/06, David Kerber [EMAIL PROTECTED] wrote:



[EMAIL PROTECTED] wrote:

When I compile my jsp and java files, I get 9 warnings from the jsp 
file.

It appears not to recognize the html tags ie unknown tag (html:cancel).
What have I done wrong?  Here is the login.jsp file.

%@ taglib uri=/WEB-INF/struts-bean prefix=bean %
%@ taglib uri=/WEB-INF/struts-html prefix=html %

html:html locale=true

head
titlebean:message key=welcome.title//title

html:base/


Where are you coming up with these html tags?  I've never seen tags that
start with 'html:.  I'm used to seeing things like html, form
name=myform, etc.


/head

body bgcolor=white

html:form action=/login

html:errors/

table

  tr

td align=center colspan=2
  font size=4Please Enter your Login/font
/td
  /tr

  tr
td align=right
Name
/td
  /tr
tr
td align=left
  html:text property=name size=4 maxlength=4/
/td
  /tr
  tr
td align=right
Password
/td
td align=left
  html:password property=password size=8
maxlength=8
/
/td
  /tr
  tr
td align=right
  html:submitSubmit/html:submit
/td
td align=left
  html:cancelCancel/html:cancel
/td
  /tr
/table
/html:form
/body
/html:html






-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I'm a Newbie - problem with recognition of html tags

2006-06-13 Thread carrie . latimer
David, I did not understand what you meant by Try placing the file
extension on your URI of your taglib tag.


Carrie Latimer
Florida's Turnpike Enterprise
Tolls Data Center
Main 561.488.5361
SC 247.5361
Fax 561.470.6615
Mobile: 561.239.6189
Nextel: 158*763*109
[EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I'm a Newbie - problem with recognition of html tags

2006-06-13 Thread Marc Farrow

Actually, it was I who suggested it.  Replace:

%@ taglib URI=WEB-INF/struts-bean prefix=bean
%@ taglib URI=WEB-INF/struts-html prefix=bean

with

%@ taglib URI=WEB-INF/struts-bean.tld prefix=bean
%@ taglib URI=WEB-INF/struts-html.tld prefix=bean


Also,
  Make sure the TLD file is in your WEB-INF directory of your application.
Or at least make sure the TLD files  are located in the same place as
referenced by your URI tag.

On 6/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:


David, I did not understand what you meant by Try placing the file
extension on your URI of your taglib tag.


Carrie Latimer
Florida's Turnpike Enterprise
Tolls Data Center
Main 561.488.5361
SC 247.5361
Fax 561.470.6615
Mobile: 561.239.6189
Nextel: 158*763*109
[EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Marc Farrow


I'm a newbie

2006-05-24 Thread carrie . latimer
I created a dynamic web project in Eclipse.  I created a file and named it
struts-config.xml and copy the contents from struts-blank
WEB-INF/struts-config.xml and did a cut and paste into my project.  The
error message I receive is the file cannot be validated because there was
a communication problem.  This happens whenever I compile and I have not
made any change to the file.  I don't think I can  import it...Can someone
shed some insight.




Carrie Latimer
Florida's Turnpike Enterprise
Tolls Data Center
Main 561.488.5361
SC 247.5361
Fax 561.470.6615
Mobile: 561.239.6189
Nextel: 158*763*109
[EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I'm a newbie

2006-05-24 Thread Jerome Jar

I think eclipse was just unable to validate that xml file, it's likely
the DTD file cannot be fetched by eclipse for some reason, e.g.,
network problems, DNS resolving failed. It's not a tomcat related
issue.

2006/5/24, [EMAIL PROTECTED] [EMAIL PROTECTED]:

I created a dynamic web project in Eclipse.  I created a file and named it
struts-config.xml and copy the contents from struts-blank
WEB-INF/struts-config.xml and did a cut and paste into my project.  The
error message I receive is the file cannot be validated because there was
a communication problem.  This happens whenever I compile and I have not
made any change to the file.  I don't think I can  import it...Can someone
shed some insight.




Carrie Latimer
Florida's Turnpike Enterprise
Tolls Data Center
Main 561.488.5361
SC 247.5361
Fax 561.470.6615
Mobile: 561.239.6189
Nextel: 158*763*109
[EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: I'm a newbie

2006-05-24 Thread Ayusman dikshit

Change the DTD to point to a dtd file on your machine hard disk.
Hope tha will solve the problem.

Regards
Ayusman
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 24, 2006 6:12 PM
To: users@tomcat.apache.org
Subject: I'm a newbie

I created a dynamic web project in Eclipse.  I created a file and named
it
struts-config.xml and copy the contents from struts-blank
WEB-INF/struts-config.xml and did a cut and paste into my project.  The
error message I receive is the file cannot be validated because there
was
a communication problem.  This happens whenever I compile and I have
not
made any change to the file.  I don't think I can  import it...Can
someone
shed some insight.




Carrie Latimer
Florida's Turnpike Enterprise
Tolls Data Center
Main 561.488.5361
SC 247.5361
Fax 561.470.6615
Mobile: 561.239.6189
Nextel: 158*763*109
[EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: I'm a newbie

2006-05-24 Thread carrie . latimer
Where would this file be located?  I copied the one from the folder
struts-blank.  It's the only place I have one except through source code
provided from another project using NetBeans.


Carrie Latimer
Florida's Turnpike Enterprise
Tolls Data Center
Main 561.488.5361
SC 247.5361
Fax 561.470.6615
Mobile: 561.239.6189
Nextel: 158*763*109
[EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]