Re: Tomcat Struts => Problems with my first page

2005-03-18 Thread Lost World
You cannot access the jsp like
http://localhost:8080/MyFirstPage.jsp

You should use Sturts-config to map your action to
that JSP page. Then you should access the page which
looks similar to http://localhost:8080/FirstAction.do


--- [EMAIL PROTECTED] wrote:
> Yes, this is correct..
> 



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat Struts => Problems with my first page

2005-03-18 Thread Lost World
ARe you requesting by typing in the browser
http://localhost:8080/MyFirstStrutsPage.jsp?



--- [EMAIL PROTECTED] wrote:

> 
> Hi There,
> I've created MyFirstStrutsPage.jsp:
> <%@ page language="java" %>
> <%@ taglib uri="/struts-bean.tld" prefix="bean" %>
> <%@ taglib uri="/struts-html.tld" prefix="html" %>
> <%@ taglib uri="/struts-logic.tld" prefix="logic" %>
> 
> 
> Test Struts Page
> 
> 
> 
> 
>  
> and my web.xml is as followed:
> 
> http://java.sun.com/xml/ns/j2ee_ 
> (http://java.sun.com/xml/ns/j2ee) "
>
>
xmlns:xsi="_http://www.w3.org/2001/XMLSchema-instance_
> 
> (http://www.w3.org/2001/XMLSchema-instance) "
>
>
xsi:schemaLocation="_http://java.sun.com/xml/ns/j2ee_
> 
> (http://java.sun.com/xml/ns/j2ee) 
> _http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd_ 
> (http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd) "
> version="2.4">
>   Welcome to Tomcat
>   
>  Welcome to Tomcat
>   
> 
> 
>
>
org.apache.jsp.index_jsp
>
>
org.apache.jsp.index_jsp
> 
>
>
>
org.apache.jsp.index_jsp
> /index.jsp
>
> 
> 
>  action
> 
>
org.apache.struts.action.ActionServlet
>  
>   application
>   ApplicationResources
>  
>   
>   debug
>   2
>  
>   
>config
>  
>
/WEB-INF/struts-config.xml
>  
> 
> 
>  action
>  *.do
> 
> 
>  /struts-tiles.tld
> 
>
/WEB-INF/struts-tiles.tld
> 
> 
>  /struts-html.tld
> 
>
/WEB-INF/struts-html.tld
> 
> 
>  /struts-bean.tld
> 
>
/WEB-INF/struts-bean.tld
> 
> 
>  /struts-logic.tld
> 
>
/WEB-INF/struts-logic.tld
> 
> 
> 
> and i've created ApplicationResources.properties
> with the following entries:
> index.title = My first Struts application!
> index.text1 = This is my first Dynamic Struts
> application.
>  
> However, when i request MyFirstStrutsPage.jsp is get
> the following error ( 
> what have i done wrong, any ideas on how to fix
> it?):
>  
> org.apache.jasper.JasperException
> 
> 
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
> 
> 
>
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
> 
> 
>
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
> 
> 
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 
> root  cause 
> java.lang.NullPointerException
> 
> 
>
org.apache.struts.taglib.TagUtils.retrieveMessageResources(TagUtils.java:1219)
> 
> 
>
org.apache.struts.taglib.TagUtils.message(TagUtils.java:1082)
> 
> 
>
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:226)
> 
> 
>
org.apache.jsp.registeruser_jsp._jspx_meth_bean_message_0(org.apache.jsp.registeruser_jsp:157)
> 
> 
>
org.apache.jsp.registeruser_jsp._jspx_meth_html_html_0(org.apache.jsp.registeruser_jsp:118)
> 
> 
>
org.apache.jsp.registeruser_jsp._jspService(org.apache.jsp.registeruser_jsp:73)
> 
> 
>
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
> 
> 
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 
> 
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
> 
>
> org.apache.jasper.servlet.JspServlet.service
> JspFile(JspServlet.java:295)
> 
> 
>
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
> 
> 
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 
> 
> 




__ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



JNDI Realm with eDirectory

2005-03-18 Thread Lost World
Hi,
  I am looking into configuring a jndi realm to
eDirectory for authentication and  authorization. I
have not used to eDirectory before, I am more familiar
to open ldap and Sun one ldap. There is no uid
attribute or password attribute for user in
eDirectory. Has anyone configured a jndi realm to
eDirectory server, if so can you please guide me to
resources. I appreciate any help in this regard

Thank you
Taxiboy




__ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]