[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] JSP help on RAQ4 needed!!



Hi,

common error is wrong place for your class file. Your counterBean.class must
be
placed into WEB-INF/classes directory.
Second common error is wrong tags in your jsp. Your jsp must include
something like
<%@ page %>
<jsp:useBean id="counter" scope="page" class="counterBean" />
......

If your class is packaged you need state package name with class directive,
similar to class="com.yourpackagename.counterBean"

Hope it help to you.

Alex

> Hi,
>
> I am a newbie at cobalt and really wish someone here can help me. I've
> installed the java developer kit v1.3 and as per the documentation which
> states to load the jsp ie "test.jsp" in the directory "/home/sites/[site
> name]/web/", I am then suppose to access the dynamic JSP via the url
> http://[sitename]/test.jsp
>
>
> OK simple instructions so, i have 2 files, one the jsp
> "counter.jsp" and the
> class file "counterBean.class", basically i FTPed both files to my cobalt
> machine ( RAQ4 ) into the directory ie
> /home/sites/home.nick.com/web/, tried
> to load the run the JSP from the address http://home.nick.com/counter.jsp
> and it gives me the " 500 server error the page cannot be displayed".
>
> Is there anything I've missed?
>
>
> Would greatly appreciate any guidance from you folks!!
>
>
> Kind Regards
> nicholas
>
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>
>