on 10-16-2007 3:51 PM
Hi, i create a new smart project... and the first page is: overview_syncboinstances.jsp
I want change the first page by another that i have... How can i do it?
Thanks,
Hi Victor,
look into your mail. I have send you the modified project. It now calls a welcome page. This page has its own servlet. If you press the button it then calls the previous startpage with the central controller. I guess this explains itself. The Web.XML is changed and the two files are added.
Have fun with it!
Regards,
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, in your project, if you want to change the JSP that is called instead of the "/jsp/overview_syncbonames.jsp";
change the JSP name in the constants.java file.
This will call another JSP then.
Should help!
Regards,
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Victor,
as you create the WAR file in MDK you are asked for a url pattern. This is set to /start at default value. If you then have a look into WEB.XML file in the WEB-INF folder, you foind:
<servlet-mapping>
<servlet-name>start</servlet-name>
<url-pattern>/start.jsp</url-pattern>
</servlet-mapping>
change it to
<servlet-mapping>
<servlet-name>start</servlet-name>
<url-pattern>/ownPage.jsp</url-pattern>
</servlet-mapping>
and it will use ownpage intead of start.jsp
Hope this helps!
Regards,
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.