• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Executing servlets with Struts and JBoss

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I was doing an application using JSPs pages with Struts and Tomcat as the framework. Now, the second part is using the EJB 3 and I wanted to test the JSP pages built using the framework Struts in JBoss but I don't know what do I have to do? All this one is in eclipse,

I tried to do a simple example just a project with a index.html that shows a menu, using Struts and JBoss, and when I try to access with
http://localhost/myApp/index.html I cannot see the menu.

The index.html redirect to a Menu.jsp page using Struts, so Do I have to configure something else or the Tomcat container embedded in JBoss works differently?

Thank you in advance!!

Ps: The same index.html and Jsp pages work with the Tomcat container but not in JBoss.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You probably need the port number. Tomcat uses port 8080 by default so if you successfully deployed on JBoss and just checking locally it would be

http://localhost:8080/........

Mark
 
reply
    Bookmark Topic Watch Topic
  • New Topic