Hi and sorry for asking a question about a very outdated version. I'm using
IBM's WAS which only supports 0.91.
I have a bean that I'm trying to instantiate with a jsp page. If I leave
out the PARAM tag, it loads, but if I add the PARAM tag, I get "Error
getting compiled page. 3,27: no name in PARAM tag.".
Can someone please point out my error?
The JSP is simple:
<BEAN name="getfields" type="Ipa.Getfields">
<PARAM pathinfo="/rsand/">
</BEAN>
I can't see an error in my bean either:
public class Getfields {
...
protected String pathinfo;
public String getPathinfo() {
return pathinfo;
}
public void setPathinfo(String var){
this.pathinfo = var;
...
}
}
I'm new to java programming in general and JSP/serlvets/beans in particular.
What I'm trying to accomplish is simply a way to have my jsp pass the http
request path to the bean. I intend to replace the string "/rsand/" with
<%=request.getPathInfo()%>. I don't know if that works within a PARAM tag,
because I can't seem to get that far! If someone knows a better way I'd be
happy to hear it!
Thanks for any help!
-Richard
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".