Guest_imported
New member
- Jan 1, 1970
- 0
Got a Problem resolving my usebean and form-handler class.
I have one servlet, which processes the contents of an HTML-Form.
Think of a jsp-Page like this:
<jsp:usebean name="beanname" class="FormBean.class">
<form action="FormBean" method=get>
...
</form>
and the corresponding bean-page:
// no Package specified
public class FormBean{
...
}
I am using weblogic-server 6.0 and netscape 4.76
If the bean belongs to no explicit package i get an error-message that the FormBean.class (i used in the <jsp:usebean>-statement) could not be found.
But sending the form-contents to the server is no problem.
But If the bean belongs to a package - lets say to MyPackage.FormBean - and I write
<jsp:usebean ... class="MyBean.FormBean"> no errors were reported, but sending the form-contents back to the server fails with the error, that FormBean (I used in <form action=FormBean> could not be found.
What did I wrong ? How can I specify the <jsp:usebean> - statement without any packagename or how can i specify a package-name in the form-tag ???
Thanks
I have one servlet, which processes the contents of an HTML-Form.
Think of a jsp-Page like this:
<jsp:usebean name="beanname" class="FormBean.class">
<form action="FormBean" method=get>
...
</form>
and the corresponding bean-page:
// no Package specified
public class FormBean{
...
}
I am using weblogic-server 6.0 and netscape 4.76
If the bean belongs to no explicit package i get an error-message that the FormBean.class (i used in the <jsp:usebean>-statement) could not be found.
But sending the form-contents to the server is no problem.
But If the bean belongs to a package - lets say to MyPackage.FormBean - and I write
<jsp:usebean ... class="MyBean.FormBean"> no errors were reported, but sending the form-contents back to the server fails with the error, that FormBean (I used in <form action=FormBean> could not be found.
What did I wrong ? How can I specify the <jsp:usebean> - statement without any packagename or how can i specify a package-name in the form-tag ???
Thanks