This is my .jsp page:

<%@ taglib uri="webwork" prefix="webwork" %>

<html>
<head>
<title>Form Test JSP</title>
</head>
<body>

<h1>Form Test JSP</h1>

<center>
<webwork:property value="'test'"/>

<form action="<webwork:url page="formtest.action"/>" method="POST">

<table width="350" border="0" cellpadding="3" cellspacing="0">
   <webwork:textfield label="'User'" name="'user'"/>

   <webwork:textarea label="'Comments'" name="'comments'" cols="30"
rows="8"/>

   <tr><td colspan="2" align="center">
   <input type=submit value="Update">
   </td></tr>
</table>
</form>
</center>

</body>
</html>

I added the property you suggested and I get the "test" text below the
header text, but still only the submit button for the form. None of the
other ww-tags produces any output!

I get nothing in the tomcat console OR the localhost log when I execute this
jsp. And I mean nothing. Nada. Is there another log somewhere that I have
missed?

When looking in the localhost log during startup there are no errors for the
skeleton app though so it seems to intialize OK and the taglib seems to be
recognized...

Strange. And incredibly frustrating. I want to start CODING.

Thanks for trying to help by the way Hani.

I removed the three different taglib prefix definitions that where at the
top (ui, webwork and interator) and left only the webwork one. But that
should not make a difference right? It did not work with them there
either...

/Jonas



-----Original Message-----
From: Hani Suleiman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 16, 2003 8:58 PM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] WW1.4 and Tomcat 4.1.29 and Skeleton app problem s


If you're seeing blanks, then the taglib is being recognised, but 
somethign else is going wrong. Did you poke around the logfiles to see 
if it's logged anywhere? If the taglib is not recognised, then you'll 
see an error page, rather than the page without any of the taglibs.

What tags are you trying? I'd suggest starting off with somethign that 
does not use any templates, for example:

<ww:property value="'test'" /> and see if that shows anything.

Larsson, Jonas wrote:

> It certainly does. I've tried to figure out why, but haven't found any 
> critical differences. The example app references the taglib in exactly 
> the same way as the skeleton app. The only differences I can see are 
> that the webwork.properties file for the example app defines an XML 
> action file. The skeleton app does not and uses the views.properties. 
> But that should not make a difference according to the documentation. 
> That's pretty much it.
> 
> /Jonas
> 
> 
> -----Original Message-----
> From: Hani Suleiman [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 16, 2003 5:33 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] WW1.4 and Tomcat 4.1.29 and Skeleton app
problems
> 
> 
> Try the example app and see if that behaves any better?
> 
> Larsson, Jonas wrote:
> 
> 
>>Hi all,
>>
>>I'm out of options right now and I'm getting really frustrated with a
>>problem which is probably a "stupid user error" but I still need some 
>>pointers...
>>
>>I've downloaded WW1.4 and tomcat 4.1.29. I've installed the skeleton
>>app that comes with WW and read through all available configuration 
>>docs on the WW site but I still can't figure out why the skeleton app 
>>does not seem to recognize the WW taglib. The servlet seem to work OK 
>>and the action gets called but it only serves up plain HTML from the 
>>jsp. I get no errors though. Just a plain HTML page without the 
>>content the WW tags should have created.
>>
>>I've tried it all. From configuring web.xml <taglib> directive to
>>point to the ww jar to extracting the taglib from the ww jar and 
>>pointing web.xml directly to it. I've also tried to move it around 
>>(root of WEB-INF,
>>WEB-INF/libs) but no go.
>>
>>If I don't get this working tomorrow (I've been at it on and off for
>>like two working days) I'm gonna throw WW out the window and just go 
>>with plain servlets/jsp. I have to start coding business code soon or 
>>I'll have no life for the next two months...
>>
>>How great to code all that validation code on hundreds of input
>>fields...
>>
>>Regards
>>
>>Jonas, Frustrated Java developer
>>
>>----------------------------------------------------------------------
>>--------
>>This message is intended only for the personal and confidential use of 
>>the designated recipient(s) named above.  If you are not the intended
> 
> recipient of
> 
>>this message you are hereby notified that any review, dissemination, 
>>distribution or copying of this message is strictly prohibited.  This 
>>communication is for information purposes only and should not be 
>>regarded
> 
> as
> 
>>an offer to sell or as a solicitation of an offer to buy any financial 
>>product, an official confirmation of any transaction, or as an 
>>official statement of Lehman Brothers.  Email transmission cannot be 
>>guaranteed to
> 
> be
> 
>>secure or error-free.  Therefore, we do not represent that this
> 
> information is
> 
>>complete or accurate and it should not be relied upon as such.  All 
>>information is subject to change without notice.
>>
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by: IBM Linux Tutorials. Become an
>>expert in LINUX or just sharpen your skills.  Sign up for IBM's Free 
>>Linux Tutorials.  Learn everything from the bash shell to sys admin. 
>>Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
>>_______________________________________________
>>Opensymphony-webwork mailing list 
>>[EMAIL PROTECTED]
>>https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>>
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials. Become an 
> expert in LINUX or just sharpen your skills.  Sign up for IBM's Free 
> Linux Tutorials.  Learn everything from the bash shell to sys admin. 
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 
> ----------------------------------------------------------------------
> --------
> This message is intended only for the personal and confidential use of the
> designated recipient(s) named above.  If you are not the intended
recipient of
> this message you are hereby notified that any review, dissemination,
> distribution or copying of this message is strictly prohibited.  This
> communication is for information purposes only and should not be regarded
as
> an offer to sell or as a solicitation of an offer to buy any financial
> product, an official confirmation of any transaction, or as an official
> statement of Lehman Brothers.  Email transmission cannot be guaranteed to
be
> secure or error-free.  Therefore, we do not represent that this
information is
> complete or accurate and it should not be relied upon as such.  All
> information is subject to change without notice.
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials. Become an 
> expert in LINUX or just sharpen your skills.  Sign up for IBM's Free 
> Linux Tutorials.  Learn everything from the bash shell to sys admin. 
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Opensymphony-webwork mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to