Hello,

Right now, I have my main web app displaying just fine on the page
when I run it through Eclipse GWT plugin.

When I navigate to http://127.0.0.1:8888/WebApp.html?gwt.codesvr=127.0.0.1:9997
I see my main page.

Now, I want to add an admin page where special users can edit stuff,
which basically necessitates that I need another page view. While I do
know how to create UIs, my problem is that I'm not sure how to
instantiate the page in my web.xml or WebApp.gwt.xml.

Here's what my web.xml contains:

<web-app>

   <!-- Servlets -->
  <servlet>
    <servlet-name>rpcServlet</servlet-name>
    <servlet-class>com.app.server.RPCCoreServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>rpcServlet</servlet-name>
    <url-pattern>/webapp/rpcService</url-pattern>
  </servlet-mapping>


  <!-- Default page to serve -->
  <welcome-file-list>
    <welcome-file>WebApp.html</welcome-file>
  </welcome-file-list>

</web-app>




What would I need to change in my web.xml or WebApp.gwt.xml to be able
to instantiate a class, such as AdminPanel.java, as a page I can
navigate to and see? How would I be able to map that to my local URL
http://127.0.0.1:8888/WebApp.html?gwt.codesvr=127.0.0.1:9997



Thanks in advance,
Irving

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to